-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
172 lines (145 loc) · 3.96 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
:root {
/* Define color variables */
--color-background: #111111;
--color-primary: #00ff00;
--color-secondary: #50fa7b;
--color-tertiary: #ffffff;
}
@keyframes themed-shift {
0% {
background-position: 0% 50%;
}
100% {
background-position: 100% 50%;
}
}
.rainbow-text {
background: linear-gradient(45deg,
var(--color-primary),
#33ff33, /* Lighter shade of primary */
var(--color-secondary),
#80ffaa, /* Lighter shade of secondary */
var(--color-tertiary),
#e6e6e6 /* Softer white for smooth transition */
);
background-size: 300%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: themed-shift 3s ease infinite alternate; /* Alternate direction for smooth back-and-forth */
}
body {
background-color: var(--color-background);
color: var(--color-tertiary);
font-family: monospace;
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
padding: 20px;
}
#header {
text-align: center;
margin-bottom: 20px;
color: var(--color-secondary);
}
#table-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin: 0 auto;
}
strong {
color: var(--color-primary);
}
table {
width: 80%;
max-width: 800px;
text-align: left;
border-collapse: collapse; /* Ensures borders are clean */
}
th, td {
padding: 10px;
}
th {
color: var(--color-secondary);
}
tr:not(:last-child) {
border-bottom: 1px dotted var(--color-tertiary); /* Dotted line between rows */
}
h1, h2, h3, h4, h5, h6 {
color: var(--color-secondary);
}
td a {
color: var(--color-primary);
text-decoration: none;
}
td a:hover {
text-decoration: underline;
}
#footer a {
color: var(--color-secondary); /* Matches the secondary color */
text-decoration: none;
}
#footer a:hover {
text-decoration: underline;
}
#footer p {
color: var(--color-tertiary);
}
#head a {
color: var(--color-secondary); /* Matches the secondary color */
text-decoration: none;
}
#head a:hover {
text-decoration: underline;
}
#head p {
color: var(--color-tertiary);
}
a {
color: var(--color-secondary);
text-decoration: none;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 20px; /* Optional: Add spacing */
margin-bottom: 20px;
}
.post-content {
display: flex; /* Enables flexbox layout */
flex-direction: column; /* Keeps elements stacked vertically */
align-items: center; /* Centers child elements horizontally */
justify-content: center; /* Centers content vertically (optional) */
max-width: 800px; /* Limits the overall width of the container */
margin: 0 auto; /* Centers the container itself */
word-wrap: break-word; /* Prevents overflow of long words */
line-height: 1.6; /* Improves readability */
}
.post-content p {
width: 90%; /* Text takes up 50% of the container width */
text-align: justify; /* Makes the text evenly distributed across the width */
}
.post-content img {
display: block;
margin: 20px auto; /* Centers the image with spacing */
max-width: 100%; /* Ensures the image scales properly */
height: auto; /* Maintains aspect ratio */
}
#header pre {
white-space: pre; /* Preserves the ASCII structure */
overflow-x: auto; /* Allows horizontal scrolling for overflow */
max-width: 100%; /* Prevents the content from exceeding the container width */
font-family: monospace; /* Keeps the ASCII art in its intended style */
font-size: max(0.2rem, 1.5vmin);
margin: 10; /* Removes default margin, if any */
}
li {
word-wrap: break-word; /* Ensures long words wrap to the next line */
line-height: 1.6; /* Matches line-height for consistency */
text-align: justify; /* Aligns text similar to other elements */
width: 90%; /* Limits the width of the list */
}