aboutsummaryrefslogtreecommitdiff
path: root/template/style.css
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2021-07-31 23:59:24 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2021-07-31 23:59:24 +0200
commit74cbb7b516253db29af37c4915368a9ced666fc1 (patch)
treeb174f273c6414f9f4942c3bd05f1508dbf8fd472 /template/style.css
parent05a26846efdc6f4a6708786afec0ad100ec95576 (diff)
downloadmitjafelicijan.com-74cbb7b516253db29af37c4915368a9ced666fc1.tar.gz
Footer and New fotn
Diffstat (limited to 'template/style.css')
-rwxr-xr-xtemplate/style.css117
1 files changed, 85 insertions, 32 deletions
diff --git a/template/style.css b/template/style.css
index 22ff928..161ef84 100755
--- a/template/style.css
+++ b/template/style.css
@@ -1,5 +1,7 @@
1@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');
2
1:root { 3:root {
2 --base-document-width: 700px; 4 --base-document-width: 760px;
3 --base-font-size: 18px; 5 --base-font-size: 18px;
4 --base-color: #111111; 6 --base-color: #111111;
5 7
@@ -20,7 +22,7 @@
20 22
21body { 23body {
22 background: white; 24 background: white;
23 font-family: TimesNewRoman,Times New Roman,Times,Baskerville,Georgia,serif; 25 font-family: 'IBM Plex Sans', sans-serif;
24 color: var(--base-color); 26 color: var(--base-color);
25 font-size: var(--base-font-size); 27 font-size: var(--base-font-size);
26 line-height: 1.7em; 28 line-height: 1.7em;
@@ -29,6 +31,11 @@ body {
29 padding-bottom: 100px; 31 padding-bottom: 100px;
30} 32}
31 33
34hr {
35 border: 0;
36 border-top: 5px solid #f7f7f7;
37}
38
32 39
33::selection { 40::selection {
34 background: #ff0; 41 background: #ff0;
@@ -47,6 +54,17 @@ body {
47 margin: 0 auto; 54 margin: 0 auto;
48} 55}
49 56
57/* links */
58
59a {
60 color: var(--link-color);
61 /* font-weight: 600; */
62}
63
64a:hover {
65 color: var(--link-color-hover);
66}
67
50 68
51/* headings */ 69/* headings */
52 70
@@ -109,7 +127,8 @@ blockquote p {
109 127
110.navigation { 128.navigation {
111 /*border-bottom: 1px dotted var(--border-color);*/ 129 /*border-bottom: 1px dotted var(--border-color);*/
112 margin-bottom: 50px; 130 margin-block-start: 10px;
131 margin-block-end: 50px;
113} 132}
114 133
115.navigation header { 134.navigation header {
@@ -117,17 +136,21 @@ blockquote p {
117 align-items: center; 136 align-items: center;
118} 137}
119 138
120.navigation header .home { 139.navigation header a {
121 font-size: 130%; 140 text-decoration: none;
122} 141}
123 142
124.navigation header .home a { 143.navigation header a:hover {
125 text-decoration: none; 144 text-decoration: underline;
126 color: var(--base-color); 145}
146
147.navigation header .home {
148 font-size: 130%;
149 font-weight: 900;
127} 150}
128 151
129.navigation header .home a:hover { 152.navigation header .home a:hover {
130 text-decoration: underline; 153 text-decoration: none;
131} 154}
132 155
133.navigation header nav { 156.navigation header nav {
@@ -137,16 +160,10 @@ blockquote p {
137 160
138.navigation header nav a { 161.navigation header nav a {
139 padding: 0 10px; 162 padding: 0 10px;
140 text-decoration: none; 163 font-size: 90%;
141 color: var(--link-color-hover); 164 font-weight: 500;
142}
143
144.navigation header nav a:hover {
145 text-decoration: underline;
146 color: var(--link-color-hover);
147} 165}
148 166
149
150/* index post list */ 167/* index post list */
151 168
152.post-list { 169.post-list {
@@ -157,21 +174,25 @@ blockquote p {
157 174
158.post-list li { 175.post-list li {
159 margin: 0 0 20px 0; 176 margin: 0 0 20px 0;
160 text-decoration: none; 177}
178
179.post-list li time {
180 display: block;
181 font-size: 70%;
182 font-weight: 500;
161} 183}
162 184
163.post-list li a { 185.post-list li a {
164 /*text-decoration: none; 186 display: inline-block;
165 color: var(--link-color);*/ 187 text-decoration: none;
166} 188}
167 189
168.post-list li a:hover { 190.post-list li a:hover {
169 /*text-decoration: underline; 191 text-decoration: underline;
170 color: var(--link-color-hover);*/
171} 192}
172 193
173.post-list li a h2 { 194.post-list li a h2 {
174 font-weight: 400; 195 font-weight: 500;
175 font-size: 100%; 196 font-size: 100%;
176 margin: 0; 197 margin: 0;
177} 198}
@@ -184,13 +205,20 @@ blockquote p {
184} 205}
185 206
186.project-list a { 207.project-list a {
187 /*text-decoration: none; 208 font-weight: 400;
188 color: var(--link-color);*/ 209 text-decoration: none;
210}
211
212.project-list li {
213 list-style-type: disclosure-closed;
214 padding-left: 10px;
189} 215}
190 216
191.project-list li a:hover { 217
192 /*text-decoration: underline; 218/* webring */
193 color: var(--link-color-hover);*/ 219
220.webring a {
221 font-weight: 500;
194} 222}
195 223
196 224
@@ -207,12 +235,10 @@ blockquote p {
207 235
208 background: var(--badge-background-color); 236 background: var(--badge-background-color);
209 color: var(--badge-label-color) !important; 237 color: var(--badge-label-color) !important;
210 text-decoration: none !important;
211} 238}
212 239
213.tags a:hover { 240.tags a:hover {
214 filter: brightness(90%); 241 filter: brightness(90%);
215 text-decoration: none !important;
216} 242}
217 243
218 244
@@ -227,25 +253,36 @@ blockquote p {
227} 253}
228 254
229code { 255code {
256 font-family: 'IBM Plex Mono', monospace;
230 background: rgb(255, 241, 177); 257 background: rgb(255, 241, 177);
231 padding: 2px 5px; 258 border-radius: 5px;
259 padding: 2px 8px;
232 font-size: 14px; 260 font-size: 14px;
261 font-weight: 500;
233} 262}
234 263
235pre > code { 264pre > code {
236 background: unset; 265 background: unset;
237 padding: unset; 266 padding: unset;
267
268 padding: 15px 20px !important;
269 border-radius: 5px !important;
270 font-weight: 400;
238} 271}
239 272
240pre { 273pre {
241 font-size: 14px; 274 font-size: 14px;
242 line-height: 1.5em; 275 line-height: 1.5em;
276
277 margin-block-start: 40px;
278 margin-block-end: 40px;
243} 279}
244 280
245img, video { 281img, video {
246 max-width: 100%; 282 max-width: 100%;
247 margin: 30px auto; 283 margin: 30px auto;
248 display: block; 284 display: block;
285 border-radius: 5px;
249} 286}
250 287
251time { 288time {
@@ -264,6 +301,17 @@ article a {
264 hyphens: auto; 301 hyphens: auto;
265} 302}
266 303
304article img {
305 max-width: 120%;
306 position: relative;
307 width: 130%;
308 left: -10%;
309 margin: 70px auto;
310}
311
312article strong {
313 font-weight: 600;
314}
267 315
268/* audio */ 316/* audio */
269 317
@@ -276,10 +324,15 @@ audio {
276/* footer */ 324/* footer */
277 325
278.footer { 326.footer {
279 border-top: 1px solid var(--border-color);
280 margin-top: 70px; 327 margin-top: 70px;
281 padding-top: 20px; 328 padding-top: 20px;
282 padding-bottom: 50px; 329 padding-bottom: 50px;
330 font-size: 90%;
331 color: #888;
332}
333
334.footer a {
335 color: #777;
283} 336}
284 337
285 338