aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/_footer.html4
-rwxr-xr-xtemplate/_meta.html4
-rwxr-xr-xtemplate/_navigation.html2
-rwxr-xr-xtemplate/index.html2
-rwxr-xr-xtemplate/post.html2
-rwxr-xr-xtemplate/style.css117
6 files changed, 95 insertions, 36 deletions
diff --git a/template/_footer.html b/template/_footer.html
index f137b83..76980a6 100755
--- a/template/_footer.html
+++ b/template/_footer.html
@@ -1,5 +1,7 @@
1<div class="footer"> 1<div class="footer">
2 <footer class="wrapper"> 2 <footer class="wrapper">
3 Generic footer 3 This website does not track you.
4 Content is made available under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">CC BY 4.0 license</a> unless specified otherwise.
5 Blog feed available as <a href="/feed.rss" target="_blank">RSS</a> or <a href="/feed.json" target="_blank">JSON</a> feeds.
4 </footer> 6 </footer>
5</div> 7</div>
diff --git a/template/_meta.html b/template/_meta.html
index 4741672..60d8541 100755
--- a/template/_meta.html
+++ b/template/_meta.html
@@ -3,9 +3,9 @@
3<meta name="viewport" content="width=device-width, initial-scale=1.0"> 3<meta name="viewport" content="width=device-width, initial-scale=1.0">
4<meta http-equiv="X-UA-Compatible" content="ie=edge"> 4<meta http-equiv="X-UA-Compatible" content="ie=edge">
5 5
6<link rel="stylesheet" href="/style.css"> 6<link rel="stylesheet" href="/style.css?v=20210731-09">
7 7
8<link rel="alternate" type="application/rss+xml" href="/feed.rss"> 8<link rel="alternate" type="application/rss+xml" href="/feed.rss">
9<link rel="alternate" type="application/feed+json" href="/feed.json"> 9<link rel="alternate" type="application/feed+json" href="/feed.json">
10 10
11<link rel="icon" href="/assets/general/favicon.png" type="image/png"> 11<link rel="icon" href="/assets/general/favicon.png?v=20210731-01" type="image/png">
diff --git a/template/_navigation.html b/template/_navigation.html
index b80caf6..2943afe 100755
--- a/template/_navigation.html
+++ b/template/_navigation.html
@@ -7,8 +7,8 @@
7 <nav itemscope itemtype="http://schema.org/SiteNavigationElement" class="main-navigation"> 7 <nav itemscope itemtype="http://schema.org/SiteNavigationElement" class="main-navigation">
8 <meta itemprop="name" content="Main Menu"> 8 <meta itemprop="name" content="Main Menu">
9 9
10 <a href="/curriculum-vitae.html">CV</a>
11 <a href="https://github.com/mitjafelicijan" target="_blank" rel="noopener nofollow" itemprop="url">Github</a> 10 <a href="https://github.com/mitjafelicijan" target="_blank" rel="noopener nofollow" itemprop="url">Github</a>
11 <a href="/curriculum-vitae.html">CV</a>
12 <a href="/feed.rss" itemprop="url">RSS Feed</a> 12 <a href="/feed.rss" itemprop="url">RSS Feed</a>
13 </nav> 13 </nav>
14 </header> 14 </header>
diff --git a/template/index.html b/template/index.html
index 73677a5..83567e7 100755
--- a/template/index.html
+++ b/template/index.html
@@ -55,6 +55,8 @@
55 55
56 </main> 56 </main>
57 57
58 {{template "_footer.html"}}
59
58 </body> 60 </body>
59 61
60</html> 62</html>
diff --git a/template/post.html b/template/post.html
index 8d43217..00be220 100755
--- a/template/post.html
+++ b/template/post.html
@@ -59,6 +59,8 @@
59 59
60 </main> 60 </main>
61 61
62 {{template "_footer.html"}}
63
62 {{template "_includes.html"}} 64 {{template "_includes.html"}}
63 65
64 </body> 66 </body>
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