jekyll-theme-tallneck 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +43 -34
- data/_includes/footer.html +10 -23
- data/_includes/head.html +40 -11
- data/_includes/header.html +13 -11
- data/_includes/post-card.html +18 -0
- data/_includes/post-preview.html +15 -0
- data/_layouts/404.html +12 -2
- data/_layouts/about.html +109 -0
- data/_layouts/base.html +8 -7
- data/_layouts/feed.html +12 -5
- data/_layouts/home.html +20 -6
- data/_layouts/post.html +15 -18
- data/_sass/custom_layout.scss +1 -0
- data/_sass/custom_variables.scss +1 -0
- data/_sass/dark_code.scss +195 -0
- data/_sass/light_code.scss +205 -0
- data/_sass/tallneck/base.scss +160 -0
- data/_sass/tallneck/components/about.scss +69 -0
- data/_sass/tallneck/components/post-card.scss +87 -0
- data/_sass/tallneck/components/post-preview.scss +51 -0
- data/_sass/tallneck/components/post.scss +55 -0
- data/_sass/tallneck/components.scss +1 -0
- data/_sass/tallneck/font.scss +39 -0
- data/_sass/tallneck/footer.scss +57 -0
- data/_sass/tallneck/header.scss +90 -0
- data/_sass/tallneck/layout.scss +51 -0
- data/_sass/tallneck/variables.scss +82 -0
- data/_sass/tallneck.scss +10 -0
- data/assets/css/code.scss +6 -0
- data/assets/css/print.css +16 -0
- data/assets/css/style.scss +6 -0
- data/assets/font/opensans/opensans-bold.ttf +0 -0
- data/assets/font/opensans/opensans-bold.woff +0 -0
- data/assets/font/opensans/opensans-bold.woff2 +0 -0
- data/assets/font/opensans/opensans-italic.ttf +0 -0
- data/assets/font/opensans/opensans-italic.woff +0 -0
- data/assets/font/opensans/opensans-italic.woff2 +0 -0
- data/assets/font/opensans/opensans.ttf +0 -0
- data/assets/font/opensans/opensans.woff +0 -0
- data/assets/font/opensans/opensans.woff2 +0 -0
- data/assets/icon/discord.svg +5 -0
- data/assets/icon/github.svg +5 -0
- data/assets/icon/gitlab.svg +5 -0
- data/assets/icon/instagram.svg +5 -0
- data/assets/icon/linkedin.svg +5 -0
- data/assets/icon/mail.svg +5 -0
- data/assets/icon/reddit.svg +5 -0
- data/assets/icon/telegram.svg +5 -0
- data/assets/icon/threads.svg +5 -0
- data/assets/icon/x.svg +5 -0
- data/assets/image/about.webp +0 -0
- data/assets/image/default.webp +0 -0
- data/assets/image/favicon.ico +0 -0
- data/assets/image/favicon.svg +13 -0
- data/assets/image/logo.svg +4 -0
- data/assets/image/pwa_icon.svg +13 -0
- data/assets/image/pwa_icon_x512.png +0 -0
- data/assets/image/pwa_icon_x96.png +0 -0
- data/assets/sitemanifest.json +28 -0
- metadata +72 -38
- data/_includes/article-preview.html +0 -20
- data/_layouts/400.html +0 -7
- data/_layouts/500.html +0 -6
- data/_layouts/page.html +0 -11
- data/assets/css/style.css +0 -356
- data/assets/font/roboto.eot +0 -0
- data/assets/font/roboto.svg +0 -367
- data/assets/images/banner.png +0 -0
- /data/{LICENSE.txt → LICENSE} +0 -0
- /data/assets/font/{roboto.ttf → roboto/roboto.ttf} +0 -0
- /data/assets/font/{roboto.woff → roboto/roboto.woff} +0 -0
- /data/assets/font/{roboto.woff2 → roboto/roboto.woff2} +0 -0
@@ -0,0 +1,195 @@
|
|
1
|
+
@media (prefers-color-scheme: dark) {
|
2
|
+
.highlight pre {
|
3
|
+
background-color: #272822;
|
4
|
+
}
|
5
|
+
.highlight .hll {
|
6
|
+
background-color: #272822;
|
7
|
+
}
|
8
|
+
.highlight .c {
|
9
|
+
color: #75715e;
|
10
|
+
} /* Comment */
|
11
|
+
.highlight .err {
|
12
|
+
color: #960050;
|
13
|
+
background-color: #1e0010;
|
14
|
+
} /* Error */
|
15
|
+
.highlight .k {
|
16
|
+
color: #66d9ef;
|
17
|
+
} /* Keyword */
|
18
|
+
.highlight .l {
|
19
|
+
color: #ae81ff;
|
20
|
+
} /* Literal */
|
21
|
+
.highlight .n {
|
22
|
+
color: #f8f8f2;
|
23
|
+
} /* Name */
|
24
|
+
.highlight .o {
|
25
|
+
color: #f92672;
|
26
|
+
} /* Operator */
|
27
|
+
.highlight .p {
|
28
|
+
color: #f8f8f2;
|
29
|
+
} /* Punctuation */
|
30
|
+
.highlight .cm {
|
31
|
+
color: #75715e;
|
32
|
+
} /* Comment.Multiline */
|
33
|
+
.highlight .cp {
|
34
|
+
color: #75715e;
|
35
|
+
} /* Comment.Preproc */
|
36
|
+
.highlight .c1 {
|
37
|
+
color: #75715e;
|
38
|
+
} /* Comment.Single */
|
39
|
+
.highlight .cs {
|
40
|
+
color: #75715e;
|
41
|
+
} /* Comment.Special */
|
42
|
+
.highlight .ge {
|
43
|
+
font-style: italic;
|
44
|
+
} /* Generic.Emph */
|
45
|
+
.highlight .gs {
|
46
|
+
font-weight: bold;
|
47
|
+
} /* Generic.Strong */
|
48
|
+
.highlight .kc {
|
49
|
+
color: #66d9ef;
|
50
|
+
} /* Keyword.Constant */
|
51
|
+
.highlight .kd {
|
52
|
+
color: #66d9ef;
|
53
|
+
} /* Keyword.Declaration */
|
54
|
+
.highlight .kn {
|
55
|
+
color: #f92672;
|
56
|
+
} /* Keyword.Namespace */
|
57
|
+
.highlight .kp {
|
58
|
+
color: #66d9ef;
|
59
|
+
} /* Keyword.Pseudo */
|
60
|
+
.highlight .kr {
|
61
|
+
color: #66d9ef;
|
62
|
+
} /* Keyword.Reserved */
|
63
|
+
.highlight .kt {
|
64
|
+
color: #66d9ef;
|
65
|
+
} /* Keyword.Type */
|
66
|
+
.highlight .ld {
|
67
|
+
color: #e6db74;
|
68
|
+
} /* Literal.Date */
|
69
|
+
.highlight .m {
|
70
|
+
color: #ae81ff;
|
71
|
+
} /* Literal.Number */
|
72
|
+
.highlight .s {
|
73
|
+
color: #e6db74;
|
74
|
+
} /* Literal.String */
|
75
|
+
.highlight .na {
|
76
|
+
color: #a6e22e;
|
77
|
+
} /* Name.Attribute */
|
78
|
+
.highlight .nb {
|
79
|
+
color: #f8f8f2;
|
80
|
+
} /* Name.Builtin */
|
81
|
+
.highlight .nc {
|
82
|
+
color: #a6e22e;
|
83
|
+
} /* Name.Class */
|
84
|
+
.highlight .no {
|
85
|
+
color: #66d9ef;
|
86
|
+
} /* Name.Constant */
|
87
|
+
.highlight .nd {
|
88
|
+
color: #a6e22e;
|
89
|
+
} /* Name.Decorator */
|
90
|
+
.highlight .ni {
|
91
|
+
color: #f8f8f2;
|
92
|
+
} /* Name.Entity */
|
93
|
+
.highlight .ne {
|
94
|
+
color: #a6e22e;
|
95
|
+
} /* Name.Exception */
|
96
|
+
.highlight .nf {
|
97
|
+
color: #a6e22e;
|
98
|
+
} /* Name.Function */
|
99
|
+
.highlight .nl {
|
100
|
+
color: #f8f8f2;
|
101
|
+
} /* Name.Label */
|
102
|
+
.highlight .nn {
|
103
|
+
color: #f8f8f2;
|
104
|
+
} /* Name.Namespace */
|
105
|
+
.highlight .nx {
|
106
|
+
color: #a6e22e;
|
107
|
+
} /* Name.Other */
|
108
|
+
.highlight .py {
|
109
|
+
color: #f8f8f2;
|
110
|
+
} /* Name.Property */
|
111
|
+
.highlight .nt {
|
112
|
+
color: #f92672;
|
113
|
+
} /* Name.Tag */
|
114
|
+
.highlight .nv {
|
115
|
+
color: #f8f8f2;
|
116
|
+
} /* Name.Variable */
|
117
|
+
.highlight .ow {
|
118
|
+
color: #f92672;
|
119
|
+
} /* Operator.Word */
|
120
|
+
.highlight .w {
|
121
|
+
color: #f8f8f2;
|
122
|
+
} /* Text.Whitespace */
|
123
|
+
.highlight .mf {
|
124
|
+
color: #ae81ff;
|
125
|
+
} /* Literal.Number.Float */
|
126
|
+
.highlight .mh {
|
127
|
+
color: #ae81ff;
|
128
|
+
} /* Literal.Number.Hex */
|
129
|
+
.highlight .mi {
|
130
|
+
color: #ae81ff;
|
131
|
+
} /* Literal.Number.Integer */
|
132
|
+
.highlight .mo {
|
133
|
+
color: #ae81ff;
|
134
|
+
} /* Literal.Number.Oct */
|
135
|
+
.highlight .sb {
|
136
|
+
color: #e6db74;
|
137
|
+
} /* Literal.String.Backtick */
|
138
|
+
.highlight .sc {
|
139
|
+
color: #e6db74;
|
140
|
+
} /* Literal.String.Char */
|
141
|
+
.highlight .sd {
|
142
|
+
color: #e6db74;
|
143
|
+
} /* Literal.String.Doc */
|
144
|
+
.highlight .s2 {
|
145
|
+
color: #e6db74;
|
146
|
+
} /* Literal.String.Double */
|
147
|
+
.highlight .se {
|
148
|
+
color: #ae81ff;
|
149
|
+
} /* Literal.String.Escape */
|
150
|
+
.highlight .sh {
|
151
|
+
color: #e6db74;
|
152
|
+
} /* Literal.String.Heredoc */
|
153
|
+
.highlight .si {
|
154
|
+
color: #e6db74;
|
155
|
+
} /* Literal.String.Interpol */
|
156
|
+
.highlight .sx {
|
157
|
+
color: #e6db74;
|
158
|
+
} /* Literal.String.Other */
|
159
|
+
.highlight .sr {
|
160
|
+
color: #e6db74;
|
161
|
+
} /* Literal.String.Regex */
|
162
|
+
.highlight .s1 {
|
163
|
+
color: #e6db74;
|
164
|
+
} /* Literal.String.Single */
|
165
|
+
.highlight .ss {
|
166
|
+
color: #e6db74;
|
167
|
+
} /* Literal.String.Symbol */
|
168
|
+
.highlight .bp {
|
169
|
+
color: #f8f8f2;
|
170
|
+
} /* Name.Builtin.Pseudo */
|
171
|
+
.highlight .vc {
|
172
|
+
color: #f8f8f2;
|
173
|
+
} /* Name.Variable.Class */
|
174
|
+
.highlight .vg {
|
175
|
+
color: #f8f8f2;
|
176
|
+
} /* Name.Variable.Global */
|
177
|
+
.highlight .vi {
|
178
|
+
color: #f8f8f2;
|
179
|
+
} /* Name.Variable.Instance */
|
180
|
+
.highlight .il {
|
181
|
+
color: #ae81ff;
|
182
|
+
} /* Literal.Number.Integer.Long */
|
183
|
+
|
184
|
+
.highlight .gh {
|
185
|
+
} /* Generic Heading & Diff Header */
|
186
|
+
.highlight .gu {
|
187
|
+
color: #75715e;
|
188
|
+
} /* Generic.Subheading & Diff Unified/Comment? */
|
189
|
+
.highlight .gd {
|
190
|
+
color: #f92672;
|
191
|
+
} /* Generic.Deleted & Diff Deleted */
|
192
|
+
.highlight .gi {
|
193
|
+
color: #a6e22e;
|
194
|
+
} /* Generic.Inserted & Diff Inserted */
|
195
|
+
}
|
@@ -0,0 +1,205 @@
|
|
1
|
+
.highlight .hll {
|
2
|
+
background-color: #ffffcc;
|
3
|
+
}
|
4
|
+
.highlight .c {
|
5
|
+
color: #808080;
|
6
|
+
} /* Comment */
|
7
|
+
.highlight .err {
|
8
|
+
color: #f00000;
|
9
|
+
background-color: #f0a0a0;
|
10
|
+
} /* Error */
|
11
|
+
.highlight .k {
|
12
|
+
color: #008000;
|
13
|
+
font-weight: bold;
|
14
|
+
} /* Keyword */
|
15
|
+
.highlight .o {
|
16
|
+
color: #303030;
|
17
|
+
} /* Operator */
|
18
|
+
.highlight .cm {
|
19
|
+
color: #808080;
|
20
|
+
} /* Comment.Multiline */
|
21
|
+
.highlight .cp {
|
22
|
+
color: #507090;
|
23
|
+
} /* Comment.Preproc */
|
24
|
+
.highlight .c1 {
|
25
|
+
color: #808080;
|
26
|
+
} /* Comment.Single */
|
27
|
+
.highlight .cs {
|
28
|
+
color: #cc0000;
|
29
|
+
font-weight: bold;
|
30
|
+
} /* Comment.Special */
|
31
|
+
.highlight .gd {
|
32
|
+
color: #a00000;
|
33
|
+
} /* Generic.Deleted */
|
34
|
+
.highlight .ge {
|
35
|
+
font-style: italic;
|
36
|
+
} /* Generic.Emph */
|
37
|
+
.highlight .gr {
|
38
|
+
color: #ff0000;
|
39
|
+
} /* Generic.Error */
|
40
|
+
.highlight .gh {
|
41
|
+
color: #000080;
|
42
|
+
font-weight: bold;
|
43
|
+
} /* Generic.Heading */
|
44
|
+
.highlight .gi {
|
45
|
+
color: #00a000;
|
46
|
+
} /* Generic.Inserted */
|
47
|
+
.highlight .go {
|
48
|
+
color: #808080;
|
49
|
+
} /* Generic.Output */
|
50
|
+
.highlight .gp {
|
51
|
+
color: #c65d09;
|
52
|
+
font-weight: bold;
|
53
|
+
} /* Generic.Prompt */
|
54
|
+
.highlight .gs {
|
55
|
+
font-weight: bold;
|
56
|
+
} /* Generic.Strong */
|
57
|
+
.highlight .gu {
|
58
|
+
color: #800080;
|
59
|
+
font-weight: bold;
|
60
|
+
} /* Generic.Subheading */
|
61
|
+
.highlight .gt {
|
62
|
+
color: #0040d0;
|
63
|
+
} /* Generic.Traceback */
|
64
|
+
.highlight .kc {
|
65
|
+
color: #008000;
|
66
|
+
font-weight: bold;
|
67
|
+
} /* Keyword.Constant */
|
68
|
+
.highlight .kd {
|
69
|
+
color: #008000;
|
70
|
+
font-weight: bold;
|
71
|
+
} /* Keyword.Declaration */
|
72
|
+
.highlight .kn {
|
73
|
+
color: #008000;
|
74
|
+
font-weight: bold;
|
75
|
+
} /* Keyword.Namespace */
|
76
|
+
.highlight .kp {
|
77
|
+
color: #003080;
|
78
|
+
font-weight: bold;
|
79
|
+
} /* Keyword.Pseudo */
|
80
|
+
.highlight .kr {
|
81
|
+
color: #008000;
|
82
|
+
font-weight: bold;
|
83
|
+
} /* Keyword.Reserved */
|
84
|
+
.highlight .kt {
|
85
|
+
color: #303090;
|
86
|
+
font-weight: bold;
|
87
|
+
} /* Keyword.Type */
|
88
|
+
.highlight .m {
|
89
|
+
color: #6000e0;
|
90
|
+
font-weight: bold;
|
91
|
+
} /* Literal.Number */
|
92
|
+
//.highlight .s { background-color: #fff0f0 } /* Literal.String */
|
93
|
+
.highlight .na {
|
94
|
+
color: #0000c0;
|
95
|
+
} /* Name.Attribute */
|
96
|
+
.highlight .nb {
|
97
|
+
color: #007020;
|
98
|
+
} /* Name.Builtin */
|
99
|
+
.highlight .nc {
|
100
|
+
color: #b00060;
|
101
|
+
font-weight: bold;
|
102
|
+
} /* Name.Class */
|
103
|
+
.highlight .no {
|
104
|
+
color: #003060;
|
105
|
+
font-weight: bold;
|
106
|
+
} /* Name.Constant */
|
107
|
+
.highlight .nd {
|
108
|
+
color: #505050;
|
109
|
+
font-weight: bold;
|
110
|
+
} /* Name.Decorator */
|
111
|
+
.highlight .ni {
|
112
|
+
color: #800000;
|
113
|
+
font-weight: bold;
|
114
|
+
} /* Name.Entity */
|
115
|
+
.highlight .ne {
|
116
|
+
color: #f00000;
|
117
|
+
font-weight: bold;
|
118
|
+
} /* Name.Exception */
|
119
|
+
.highlight .nf {
|
120
|
+
color: #0060b0;
|
121
|
+
font-weight: bold;
|
122
|
+
} /* Name.Function */
|
123
|
+
.highlight .nl {
|
124
|
+
color: #907000;
|
125
|
+
font-weight: bold;
|
126
|
+
} /* Name.Label */
|
127
|
+
.highlight .nn {
|
128
|
+
color: #0e84b5;
|
129
|
+
font-weight: bold;
|
130
|
+
} /* Name.Namespace */
|
131
|
+
.highlight .nt {
|
132
|
+
color: #007000;
|
133
|
+
} /* Name.Tag */
|
134
|
+
.highlight .nv {
|
135
|
+
color: #906030;
|
136
|
+
} /* Name.Variable */
|
137
|
+
.highlight .ow {
|
138
|
+
color: #000000;
|
139
|
+
font-weight: bold;
|
140
|
+
} /* Operator.Word */
|
141
|
+
.highlight .w {
|
142
|
+
color: #bbbbbb;
|
143
|
+
} /* Text.Whitespace */
|
144
|
+
.highlight .mf {
|
145
|
+
color: #6000e0;
|
146
|
+
font-weight: bold;
|
147
|
+
} /* Literal.Number.Float */
|
148
|
+
.highlight .mh {
|
149
|
+
color: #005080;
|
150
|
+
font-weight: bold;
|
151
|
+
} /* Literal.Number.Hex */
|
152
|
+
.highlight .mi {
|
153
|
+
color: #0000d0;
|
154
|
+
font-weight: bold;
|
155
|
+
} /* Literal.Number.Integer */
|
156
|
+
.highlight .mo {
|
157
|
+
color: #4000e0;
|
158
|
+
font-weight: bold;
|
159
|
+
} /* Literal.Number.Oct */
|
160
|
+
.highlight .sb {
|
161
|
+
background-color: #fff0f0;
|
162
|
+
} /* Literal.String.Backtick */
|
163
|
+
.highlight .sc {
|
164
|
+
color: #0040d0;
|
165
|
+
} /* Literal.String.Char */
|
166
|
+
.highlight .sd {
|
167
|
+
color: #d04020;
|
168
|
+
} /* Literal.String.Doc */
|
169
|
+
//.highlight .s2 { background-color: #fff0f0 } /* Literal.String.Double */
|
170
|
+
.highlight .se {
|
171
|
+
color: #606060;
|
172
|
+
font-weight: bold;
|
173
|
+
background-color: #fff0f0;
|
174
|
+
} /* Literal.String.Escape */
|
175
|
+
//.highlight .sh { background-color: #fff0f0 } /* Literal.String.Heredoc */
|
176
|
+
//.highlight .si { background-color: #e0e0e0 } /* Literal.String.Interpol */
|
177
|
+
.highlight .sx {
|
178
|
+
color: #d02000;
|
179
|
+
background-color: #fff0f0;
|
180
|
+
} /* Literal.String.Other */
|
181
|
+
.highlight .sr {
|
182
|
+
color: #000000;
|
183
|
+
background-color: #fff0ff;
|
184
|
+
} /* Literal.String.Regex */
|
185
|
+
//.highlight .s1 { background-color: #fff0f0 } /* Literal.String.Single */
|
186
|
+
.highlight .ss {
|
187
|
+
color: #a06000;
|
188
|
+
} /* Literal.String.Symbol */
|
189
|
+
.highlight .bp {
|
190
|
+
color: #007020;
|
191
|
+
} /* Name.Builtin.Pseudo */
|
192
|
+
.highlight .vc {
|
193
|
+
color: #306090;
|
194
|
+
} /* Name.Variable.Class */
|
195
|
+
.highlight .vg {
|
196
|
+
color: #d07000;
|
197
|
+
font-weight: bold;
|
198
|
+
} /* Name.Variable.Global */
|
199
|
+
.highlight .vi {
|
200
|
+
color: #3030b0;
|
201
|
+
} /* Name.Variable.Instance */
|
202
|
+
.highlight .il {
|
203
|
+
color: #0000d0;
|
204
|
+
font-weight: bold;
|
205
|
+
} /* Literal.Number.Integer.Long */
|
@@ -0,0 +1,160 @@
|
|
1
|
+
/*
|
2
|
+
* Base
|
3
|
+
*/
|
4
|
+
html {
|
5
|
+
min-height: 100vh;
|
6
|
+
min-height: 100svh;
|
7
|
+
min-width: $min-width;
|
8
|
+
}
|
9
|
+
|
10
|
+
*,
|
11
|
+
*::before,
|
12
|
+
*::after {
|
13
|
+
box-sizing: border-box;
|
14
|
+
}
|
15
|
+
|
16
|
+
body {
|
17
|
+
height: 100%;
|
18
|
+
|
19
|
+
font-size: $base-font-size;
|
20
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
21
|
+
color: var(--text-primary);
|
22
|
+
|
23
|
+
text-rendering: optimizeLegibility;
|
24
|
+
|
25
|
+
margin: 0;
|
26
|
+
padding: 0;
|
27
|
+
|
28
|
+
background-color: var(--background-color);
|
29
|
+
|
30
|
+
overflow-x: hidden;
|
31
|
+
}
|
32
|
+
|
33
|
+
main {
|
34
|
+
display: block;
|
35
|
+
max-width: $main-max-width;
|
36
|
+
}
|
37
|
+
|
38
|
+
a {
|
39
|
+
text-decoration: underline;
|
40
|
+
text-underline-offset: 1px;
|
41
|
+
color: var(--primary-text-color);
|
42
|
+
|
43
|
+
&:hover {
|
44
|
+
text-decoration: none;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
h1 {
|
49
|
+
font-size: 2.5rem;
|
50
|
+
text-align: center;
|
51
|
+
margin-block-start: 0rem;
|
52
|
+
}
|
53
|
+
|
54
|
+
h2,
|
55
|
+
h3,
|
56
|
+
h4,
|
57
|
+
h5,
|
58
|
+
h6 {
|
59
|
+
margin-block-start: 0.9rem;
|
60
|
+
margin-block-end: 0.7rem;
|
61
|
+
}
|
62
|
+
|
63
|
+
p {
|
64
|
+
margin-block-start: 0.7rem;
|
65
|
+
margin-block-end: 0.7rem;
|
66
|
+
}
|
67
|
+
|
68
|
+
section {
|
69
|
+
margin-block-start: 1.5rem;
|
70
|
+
margin-block-end: 1.5rem;
|
71
|
+
}
|
72
|
+
|
73
|
+
abbr[title] {
|
74
|
+
text-decoration: underline dotted;
|
75
|
+
cursor: help;
|
76
|
+
text-underline-offset: 2px;
|
77
|
+
}
|
78
|
+
|
79
|
+
/*
|
80
|
+
* Code
|
81
|
+
*/
|
82
|
+
pre,
|
83
|
+
code {
|
84
|
+
font-family: $code-font-family;
|
85
|
+
font-size: 0.9em;
|
86
|
+
border: 1px solid var(--border-secondary);
|
87
|
+
border-radius: 3px;
|
88
|
+
background-color: var(--code-background-color);
|
89
|
+
}
|
90
|
+
|
91
|
+
code {
|
92
|
+
padding: 1px 5px;
|
93
|
+
}
|
94
|
+
|
95
|
+
pre {
|
96
|
+
padding: 8px 12px;
|
97
|
+
overflow-x: auto;
|
98
|
+
|
99
|
+
> code {
|
100
|
+
border: 0;
|
101
|
+
padding-right: 0;
|
102
|
+
padding-left: 0;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
.highlight {
|
107
|
+
border-radius: 3px;
|
108
|
+
background: var(--code-background-color);
|
109
|
+
|
110
|
+
.highlighter-rouge & {
|
111
|
+
background: var(--code-background-color);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
/*
|
116
|
+
* Tables
|
117
|
+
*/
|
118
|
+
table {
|
119
|
+
max-width: 100%;
|
120
|
+
text-align: $table-text-align;
|
121
|
+
border-collapse: collapse;
|
122
|
+
border: 1px solid var(--border-primary);
|
123
|
+
|
124
|
+
th,
|
125
|
+
td {
|
126
|
+
padding: 0.25rem;
|
127
|
+
border: 1px solid var(--border-primary);
|
128
|
+
}
|
129
|
+
|
130
|
+
thead {
|
131
|
+
background-color: var(--border-secondary);
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
/*
|
136
|
+
* Blockquotes
|
137
|
+
*/
|
138
|
+
blockquote {
|
139
|
+
margin-block-start: 1rem;
|
140
|
+
margin-block-end: 1rem;
|
141
|
+
|
142
|
+
margin-inline-start: 20px;
|
143
|
+
margin-inline-end: 20px;
|
144
|
+
|
145
|
+
padding: 0.5rem 1rem;
|
146
|
+
|
147
|
+
border-left: 5px solid var(--accent-primary);
|
148
|
+
background-color: var(--blockquote-background);
|
149
|
+
color: var(--text-secondary);
|
150
|
+
|
151
|
+
font-style: italic;
|
152
|
+
text-align: left;
|
153
|
+
word-spacing: normal;
|
154
|
+
|
155
|
+
& > blockquote {
|
156
|
+
border-left: 3px solid var(--accent-secondary);
|
157
|
+
margin-inline-start: 15px;
|
158
|
+
margin-inline-end: 15px;
|
159
|
+
}
|
160
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
.about {
|
2
|
+
display: flex;
|
3
|
+
flex-flow: row wrap;
|
4
|
+
justify-content: space-between;
|
5
|
+
|
6
|
+
margin-left: auto;
|
7
|
+
margin-right: auto;
|
8
|
+
|
9
|
+
align-items: center;
|
10
|
+
|
11
|
+
gap: 20px;
|
12
|
+
|
13
|
+
.about--img {
|
14
|
+
flex: 1 1 38%;
|
15
|
+
align-self: center;
|
16
|
+
|
17
|
+
min-width: 250px;
|
18
|
+
max-width: 500px;
|
19
|
+
|
20
|
+
margin-left: auto;
|
21
|
+
margin-right: auto;
|
22
|
+
|
23
|
+
border: 3px solid transparent;
|
24
|
+
border-image: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary)) 1;
|
25
|
+
}
|
26
|
+
|
27
|
+
.about--content {
|
28
|
+
flex: 1 1 55%;
|
29
|
+
|
30
|
+
word-wrap: break-word;
|
31
|
+
word-wrap: auto-phrase;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.about-social {
|
36
|
+
display: flex;
|
37
|
+
flex-flow: row wrap;
|
38
|
+
justify-content: center;
|
39
|
+
gap: 1rem 15px;
|
40
|
+
|
41
|
+
margin-top: 1rem;
|
42
|
+
margin-bottom: 2rem;
|
43
|
+
|
44
|
+
max-width: 600px;
|
45
|
+
margin-left: auto;
|
46
|
+
margin-right: auto;
|
47
|
+
|
48
|
+
a {
|
49
|
+
display: flex;
|
50
|
+
align-items: center;
|
51
|
+
|
52
|
+
svg {
|
53
|
+
aspect-ratio: 1/1;
|
54
|
+
width: 32px;
|
55
|
+
height: auto;
|
56
|
+
fill: var(--svg-fill);
|
57
|
+
|
58
|
+
transition: fill 0.3s ease;
|
59
|
+
|
60
|
+
&:hover {
|
61
|
+
fill: var(--accent-secondary);
|
62
|
+
|
63
|
+
@media (prefers-color-scheme: dark){
|
64
|
+
fill: var(--accent-primary);
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
@@ -0,0 +1,87 @@
|
|
1
|
+
.post-card-container {
|
2
|
+
display: grid;
|
3
|
+
gap: 1rem;
|
4
|
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
5
|
+
grid-template-rows: repeat(auto-fill, minmax($card-max-height, 1fr));
|
6
|
+
|
7
|
+
@media (max-width: 1100px) and (min-width: 800px) {
|
8
|
+
grid-template-columns: 1fr 1fr;
|
9
|
+
padding-left: 2rem;
|
10
|
+
padding-right: 2rem;
|
11
|
+
}
|
12
|
+
|
13
|
+
@media (max-width: 800px) and (min-width: 600px) {
|
14
|
+
grid-template-columns: 1fr 1fr;
|
15
|
+
padding-left: 1rem;
|
16
|
+
padding-right: 1rem;
|
17
|
+
}
|
18
|
+
|
19
|
+
@media (max-width: 600px) {
|
20
|
+
grid-template-columns: 1fr;
|
21
|
+
}
|
22
|
+
|
23
|
+
justify-items: center;
|
24
|
+
|
25
|
+
height: fit-content;
|
26
|
+
}
|
27
|
+
|
28
|
+
.post-card {
|
29
|
+
max-width: $card-max-width;
|
30
|
+
padding: 1rem;
|
31
|
+
|
32
|
+
vertical-align: middle;
|
33
|
+
|
34
|
+
border: 3px solid transparent;
|
35
|
+
border-image: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary)) 1;
|
36
|
+
|
37
|
+
transition: 0.4s;
|
38
|
+
&:hover {
|
39
|
+
box-shadow: 0 0 10px 0 var(--border-primary);
|
40
|
+
border-image: linear-gradient(45deg, var(--accent-secondary), var(--accent-primary)) 1;
|
41
|
+
transition: 0.4s;
|
42
|
+
}
|
43
|
+
|
44
|
+
.post-card--link {
|
45
|
+
vertical-align: top;
|
46
|
+
text-decoration: none;
|
47
|
+
color: var(--text-primary);
|
48
|
+
}
|
49
|
+
|
50
|
+
.post-card--flex {
|
51
|
+
display: flex;
|
52
|
+
flex-flow: column nowrap;
|
53
|
+
}
|
54
|
+
|
55
|
+
.post-card--image {
|
56
|
+
vertical-align: top;
|
57
|
+
}
|
58
|
+
|
59
|
+
.post-card--content {
|
60
|
+
height: 100%;
|
61
|
+
display: flex;
|
62
|
+
flex-flow: column nowrap;
|
63
|
+
}
|
64
|
+
|
65
|
+
.post-card--title {
|
66
|
+
font-size: 1.5rem;
|
67
|
+
margin-block-end: 0rem;
|
68
|
+
}
|
69
|
+
|
70
|
+
.post-card--subtitle {
|
71
|
+
font-size: 0.95em;
|
72
|
+
margin-block-start: 0rem;
|
73
|
+
margin-block-end: 0.5rem;
|
74
|
+
flex-grow: 1;
|
75
|
+
|
76
|
+
// from .justify
|
77
|
+
text-align: justify;
|
78
|
+
word-spacing: -2px;
|
79
|
+
}
|
80
|
+
|
81
|
+
.post-card--date {
|
82
|
+
opacity: 0.7;
|
83
|
+
font-size: 0.8em;
|
84
|
+
margin-block-end: 0.5rem;
|
85
|
+
vertical-align: bottom;
|
86
|
+
}
|
87
|
+
}
|