jekyll-theme-tallneck 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/assets/css/style.css CHANGED
@@ -1,353 +1,356 @@
1
- /*
2
- Font
3
- */
4
-
5
- @font-face {
6
- font-family: 'Roboto';
7
- font-style: normal;
8
- font-weight: 400;
9
- src: url('../font/roboto.eot');
10
- /* IE9 Compat Modes */
11
- src: local(''),
12
- /* IE6-IE8 */ url('../font/roboto.eot?#iefix') format('embedded-opentype'),
13
- /* Super Modern Browsers */ url('../font/roboto.woff2') format('woff2'),
14
- /* Modern Browsers */ url('../font/roboto.woff') format('woff'),
15
- /* Safari, Android, iOS */ url('../font/roboto.ttf') format('truetype'),
16
- /* Legacy iOS */ url('../font/roboto.svg#Roboto') format('svg');
17
- font-display: swap;
18
- }
19
-
20
-
21
- /*
22
- General
23
- */
24
-
25
- html {
26
- font-family: 'Roboto', sans-serif;
27
- font-size: 100%;
28
- min-width: 200px;
29
- }
30
-
31
- body {
32
- margin: 0;
33
- box-sizing: border-box;
34
- }
35
-
36
- h1 {
37
- font-size: 3rem;
38
- text-align: center;
39
- }
40
-
41
- h2 {
42
- font-size: 2rem;
43
- margin-block-end: 0.5em;
44
- }
45
-
46
- h3 {
47
- font-size: 1.3rem;
48
- margin-block-start: 0.5em;
49
- margin-block-end: 0.5em;
50
- }
51
-
52
- h4 {
53
- margin-block-start: 0.5em;
54
- margin-block-end: 0.5em;
55
- }
56
-
57
- h5 {
58
- margin-block-start: 0.5em;
59
- margin-block-end: 0.5em;
60
- }
61
-
62
- small {
63
- font-size: small;
64
- }
65
-
66
- a {
67
- text-decoration: none;
68
- color: #000;
69
- }
70
-
71
- a:hover {
72
- color: #000000aa;
73
- }
74
-
75
- p {
76
- margin-block-start: 0.5em;
77
- margin-block-end: 0.5em;
78
- }
79
-
80
- ul {
81
- margin-block-start: 0.4em;
82
- margin-block-end: 0.6em;
83
- }
84
-
85
- ul li {
86
- margin-block-start: 0.2em;
87
- margin-block-end: 0.2em;
88
- }
89
-
90
- @media (prefers-color-scheme: dark) {
91
- a {
92
- color: #fff;
93
- text-decoration: none;
94
- }
95
-
96
- a:hover {
97
- color: #ffffffaa;
98
- }
99
-
100
- html {
101
- background-color: #121212;
102
- color: #fefefe;
103
- }
104
- }
105
-
106
- @media print {
107
- .no_print, .no_print * {
108
- display: none !important;
109
- }
110
- }
111
-
112
- img {
113
- max-width: 100%;
114
- max-height: 100%;
115
- }
116
-
117
- img[src*='#center'] {
118
- display: block;
119
- margin: auto;
120
- }
121
-
122
- /*
123
- Header
124
- */
125
-
126
- header {
127
- max-height: 2em;
128
- font-size: 1.1rem;
129
-
130
- position: relative !important;
131
- display: flex;
132
- flex-direction: row;
133
- justify-content: space-between;
134
- align-items: center;
135
- padding: 1.0rem 1.5rem;
136
-
137
- background-color: #1d1d1d;
138
- }
139
-
140
- header nav {
141
- float: right;
142
- }
143
-
144
- header nav ul {
145
- padding-inline-start: 0;
146
- display: flex;
147
- flex-direction: row;
148
- }
149
-
150
- header nav ul li {
151
- display: inline-block;
152
- width: 4em;
153
- text-align: center;
154
- padding-right: 0.4em;
155
- padding-left: 0.4em;
156
- }
157
-
158
- header nav ul li a {
159
- width: 100%;
160
- display: block;
161
- color: #fefefe;
162
- }
163
-
164
- header nav ul li a:hover {
165
- color: #cacaca;
166
- }
167
-
168
- .header__logo {
169
- float: left;
170
- vertical-align: middle;
171
- height: fit-content;
172
- width: fit-content;
173
- }
174
-
175
- .header__logo svg {
176
- vertical-align: middle !important;
177
- width: 32px;
178
- height: 32px;
179
- fill: #fefefe;
180
- }
181
-
182
- .header__logo :hover {
183
- color: #cacaca;
184
- fill: #cacaca;
185
- }
186
-
187
-
188
- /*
189
- Content
190
- */
191
-
192
- .container {
193
- position: relative;
194
- max-width: 900px;
195
- margin: auto;
196
- padding: 0 1.5rem;
197
- }
198
-
199
- .content {
200
- margin: 0 auto;
201
- padding: 1.5rem;
202
- }
203
-
204
- .content__info {
205
- opacity: 0.7; /* Adjust as needed, 1 is fully opaque, 0 is fully transparent */
206
- font-size: 0.8em; /* Adjust as needed, 1em is the current font size */
207
- }
208
-
209
- .subtitle {
210
- font-size: 1.2rem;
211
- margin-bottom: 0.5rem;
212
- }
213
-
214
- .center {
215
- text-align: center;
216
- }
217
-
218
- /*
219
- Post preview
220
- */
221
- .post-preview {
222
- width: 90%;
223
- margin: auto;
224
- }
225
-
226
- .post-preview__box {
227
- display: flex;
228
- flex-direction: row;
229
- justify-content: space-between;
230
- align-items: center;
231
- padding: 0 1rem 0 0;
232
- margin: 0.5rem;
233
- border: 2px solid #00000050;
234
- border-radius: 0.5rem;
235
- transition: all 0.2s ease-in-out;
236
- max-height: 10rem;
237
- max-width: 100%;
238
- overflow: hidden;
239
- }
240
-
241
- .post-preview__box:hover {
242
- border: 2px solid #00000055;
243
- background-color: #00000011;
244
- }
245
-
246
- @media (prefers-color-scheme: dark) {
247
- .post-preview__box {
248
- border: 2px solid #ffffff50;
249
- }
250
-
251
- .post-preview__box:hover {
252
- border: 2px solid #ffffff55;
253
- background-color: #ffffff11;
254
- }
255
- }
256
-
257
- .post-preview__box__image {
258
- width: 90%;
259
- height: 10rem;
260
- overflow: hidden;
261
- }
262
-
263
- .post-preview__box__image img {
264
- width: 100%;
265
- height: 100%;
266
- object-fit: cover;
267
- }
268
-
269
- .post-preview__box__content {
270
- width: 100%;
271
- padding-left: 0.5rem;
272
- padding-top: 0.5rem;
273
- padding-bottom: 0.5rem;
274
- }
275
-
276
- .post-preview__box__content__title {
277
- margin-bottom: 0.2em;
278
- margin-top: 0.2em;
279
- }
280
-
281
- .post-preview__box__content__date {
282
- font-size: 0.8rem;
283
- opacity: 0.7;
284
- }
285
-
286
- .post-preview__box__content__author {
287
- font-size: 0.8rem;
288
- opacity: 0.7;
289
- }
290
-
291
- .post-preview__box__content__description {
292
- font-size: 0.9rem;
293
- opacity: 0.8;
294
- }
295
-
296
-
297
- /*
298
- Footer
299
- */
300
-
301
- footer {
302
- display: block;
303
- margin: 2.5em auto 0;
304
- font-size: 1.1rem;
305
- }
306
-
307
- footer hr {
308
- width: auto;
309
- margin-left: auto;
310
- margin-right: auto;
311
- border: 0;
312
- border-top: 0.1em solid;
313
- }
314
-
315
- footer nav {
316
- text-align: center;
317
- }
318
-
319
- footer nav ul {
320
- display: flex;
321
- flex-direction: row;
322
- flex-wrap: wrap;
323
- justify-content: center;
324
- margin: auto;
325
- padding-inline-start: 0;
326
- list-style: none;
327
- width: 100%;
328
- }
329
-
330
- footer nav ul li {
331
- display: inline-block;
332
- width: 5em;
333
- text-align: center;
334
- align-items: center;
335
- padding-right: 0.5em;
336
- padding-left: 0.5em;
337
- }
338
-
339
- @media (max-width: 280px) { /* Adjust this value based on when you want the items to wrap */
340
- footer nav ul li {
341
- width: 50%; /* Make each li take up half the width of the ul on small screens */
342
- }
343
- }
344
-
345
- footer nav ul li a {
346
- width: 100%;
347
- display: block;
348
- }
349
-
350
- footer div {
351
- padding-bottom: 0.25em;
352
- padding-top: 0.25em;
353
- }
1
+ /*
2
+ Font
3
+ */
4
+
5
+ @font-face {
6
+ font-family: 'Roboto';
7
+ font-style: normal;
8
+ font-weight: 400;
9
+ src: url('../font/roboto.eot');
10
+ /* IE9 Compat Modes */
11
+ src: local(''),
12
+ /* IE6-IE8 */ url('../font/roboto.eot?#iefix') format('embedded-opentype'),
13
+ /* Super Modern Browsers */ url('../font/roboto.woff2') format('woff2'),
14
+ /* Modern Browsers */ url('../font/roboto.woff') format('woff'),
15
+ /* Safari, Android, iOS */ url('../font/roboto.ttf') format('truetype'),
16
+ /* Legacy iOS */ url('../font/roboto.svg#Roboto') format('svg');
17
+ font-display: swap;
18
+ }
19
+
20
+
21
+ /*
22
+ General
23
+ */
24
+
25
+ html {
26
+ font-family: 'Roboto', sans-serif;
27
+ font-size: 100%;
28
+ min-width: 200px;
29
+ }
30
+
31
+ body {
32
+ margin: 0;
33
+ box-sizing: border-box;
34
+ }
35
+
36
+ h1 {
37
+ font-size: 3rem;
38
+ text-align: center;
39
+ }
40
+
41
+ h2 {
42
+ font-size: 2rem;
43
+ margin-block-end: 0.5em;
44
+ }
45
+
46
+ h3 {
47
+ font-size: 1.3rem;
48
+ margin-block-start: 0.5em;
49
+ margin-block-end: 0.5em;
50
+ }
51
+
52
+ h4 {
53
+ margin-block-start: 0.5em;
54
+ margin-block-end: 0.5em;
55
+ }
56
+
57
+ h5 {
58
+ margin-block-start: 0.5em;
59
+ margin-block-end: 0.5em;
60
+ }
61
+
62
+ small {
63
+ font-size: small;
64
+ }
65
+
66
+ a {
67
+ text-decoration: none;
68
+ color: #000;
69
+ }
70
+
71
+ a:hover {
72
+ color: #000000aa;
73
+ }
74
+
75
+ p {
76
+ margin-block-start: 0.5em;
77
+ margin-block-end: 0.5em;
78
+ }
79
+
80
+ ul {
81
+ margin-block-start: 0.4em;
82
+ margin-block-end: 0.6em;
83
+ }
84
+
85
+ ul li {
86
+ margin-block-start: 0.2em;
87
+ margin-block-end: 0.2em;
88
+ }
89
+
90
+ @media (prefers-color-scheme: dark) {
91
+ a {
92
+ color: #fff;
93
+ text-decoration: none;
94
+ }
95
+
96
+ a:hover {
97
+ color: #ffffffaa;
98
+ }
99
+
100
+ html {
101
+ background-color: #121212;
102
+ color: #fefefe;
103
+ }
104
+ }
105
+
106
+ @media print {
107
+ .no_print, .no_print * {
108
+ display: none !important;
109
+ }
110
+ }
111
+
112
+ img {
113
+ max-width: 100%;
114
+ max-height: 100%;
115
+ }
116
+
117
+ img[src*='#center'] {
118
+ display: block;
119
+ margin: auto;
120
+ }
121
+
122
+ /*
123
+ Header
124
+ */
125
+
126
+ header {
127
+ max-height: 2em;
128
+ font-size: 1.1rem;
129
+
130
+ position: relative !important;
131
+ display: flex;
132
+ flex-direction: row;
133
+ justify-content: space-between;
134
+ align-items: center;
135
+ padding: 1.0rem 1.5rem;
136
+
137
+ background-color: #1d1d1d;
138
+ }
139
+
140
+ header nav {
141
+ float: right;
142
+ }
143
+
144
+ header nav ul {
145
+ padding-inline-start: 0;
146
+ display: flex;
147
+ flex-direction: row;
148
+ }
149
+
150
+ header nav ul li {
151
+ display: inline-block;
152
+ width: 4em;
153
+ text-align: center;
154
+ padding-right: 0.4em;
155
+ padding-left: 0.4em;
156
+ }
157
+
158
+ header nav ul li a {
159
+ width: 100%;
160
+ display: block;
161
+ color: #fefefe;
162
+ }
163
+
164
+ header nav ul li a:hover {
165
+ color: #cacaca;
166
+ }
167
+
168
+ .header__logo {
169
+ float: left;
170
+ vertical-align: middle;
171
+ height: fit-content;
172
+ width: fit-content;
173
+ }
174
+
175
+
176
+ .header__logo__img {
177
+ -webkit-filter: brightness(100%);
178
+ filter: brightness(100%);
179
+ }
180
+
181
+ .header__logo__img:hover {
182
+ -webkit-filter: brightness(70%);
183
+ filter: brightness(70%);
184
+ -webkit-transition: all 1s ease;
185
+ -moz-transition: all 1s ease;
186
+ -o-transition: all 1s ease;
187
+ -ms-transition: all 1s ease;
188
+ transition: all 1s ease;
189
+ }
190
+
191
+ /*
192
+ Content
193
+ */
194
+
195
+ .container {
196
+ position: relative;
197
+ max-width: 900px;
198
+ margin: auto;
199
+ padding: 0 1.5rem;
200
+ }
201
+
202
+ .content {
203
+ margin: 0 auto;
204
+ padding: 1.5rem;
205
+ }
206
+
207
+ .content__info {
208
+ opacity: 0.7; /* Adjust as needed, 1 is fully opaque, 0 is fully transparent */
209
+ font-size: 0.8em; /* Adjust as needed, 1em is the current font size */
210
+ }
211
+
212
+ .subtitle {
213
+ font-size: 1.2rem;
214
+ margin-bottom: 0.5rem;
215
+ }
216
+
217
+ .center {
218
+ text-align: center;
219
+ }
220
+
221
+ /*
222
+ Post preview
223
+ */
224
+ .post-preview {
225
+ width: 90%;
226
+ margin: auto;
227
+ }
228
+
229
+ .post-preview__box {
230
+ display: flex;
231
+ flex-direction: row;
232
+ justify-content: space-between;
233
+ align-items: center;
234
+ padding: 0 1rem 0 0;
235
+ margin: 0.5rem;
236
+ border: 2px solid #00000050;
237
+ border-radius: 0.5rem;
238
+ transition: all 0.2s ease-in-out;
239
+ max-height: 10rem;
240
+ max-width: 100%;
241
+ overflow: hidden;
242
+ }
243
+
244
+ .post-preview__box:hover {
245
+ border: 2px solid #00000055;
246
+ background-color: #00000011;
247
+ }
248
+
249
+ @media (prefers-color-scheme: dark) {
250
+ .post-preview__box {
251
+ border: 2px solid #ffffff50;
252
+ }
253
+
254
+ .post-preview__box:hover {
255
+ border: 2px solid #ffffff55;
256
+ background-color: #ffffff11;
257
+ }
258
+ }
259
+
260
+ .post-preview__box__image {
261
+ width: 90%;
262
+ height: 10rem;
263
+ overflow: hidden;
264
+ }
265
+
266
+ .post-preview__box__image img {
267
+ width: 100%;
268
+ height: 100%;
269
+ object-fit: cover;
270
+ }
271
+
272
+ .post-preview__box__content {
273
+ width: 100%;
274
+ padding-left: 0.5rem;
275
+ padding-top: 0.5rem;
276
+ padding-bottom: 0.5rem;
277
+ }
278
+
279
+ .post-preview__box__content__title {
280
+ margin-bottom: 0.2em;
281
+ margin-top: 0.2em;
282
+ }
283
+
284
+ .post-preview__box__content__date {
285
+ font-size: 0.8rem;
286
+ opacity: 0.7;
287
+ }
288
+
289
+ .post-preview__box__content__author {
290
+ font-size: 0.8rem;
291
+ opacity: 0.7;
292
+ }
293
+
294
+ .post-preview__box__content__description {
295
+ font-size: 0.9rem;
296
+ opacity: 0.8;
297
+ }
298
+
299
+
300
+ /*
301
+ Footer
302
+ */
303
+
304
+ footer {
305
+ display: block;
306
+ margin: 2.5em auto 0;
307
+ font-size: 1.1rem;
308
+ }
309
+
310
+ footer hr {
311
+ width: auto;
312
+ margin-left: auto;
313
+ margin-right: auto;
314
+ border: 0;
315
+ border-top: 0.1em solid;
316
+ }
317
+
318
+ footer nav {
319
+ text-align: center;
320
+ }
321
+
322
+ footer nav ul {
323
+ display: flex;
324
+ flex-direction: row;
325
+ flex-wrap: wrap;
326
+ justify-content: center;
327
+ margin: auto;
328
+ padding-inline-start: 0;
329
+ list-style: none;
330
+ width: 100%;
331
+ }
332
+
333
+ footer nav ul li {
334
+ display: inline-block;
335
+ width: 5em;
336
+ text-align: center;
337
+ align-items: center;
338
+ padding-right: 0.5em;
339
+ padding-left: 0.5em;
340
+ }
341
+
342
+ @media (max-width: 280px) { /* Adjust this value based on when you want the items to wrap */
343
+ footer nav ul li {
344
+ width: 50%; /* Make each li take up half the width of the ul on small screens */
345
+ }
346
+ }
347
+
348
+ footer nav ul li a {
349
+ width: 100%;
350
+ display: block;
351
+ }
352
+
353
+ footer div {
354
+ padding-bottom: 0.25em;
355
+ padding-top: 0.25em;
356
+ }