minduim 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_config.yml +76 -72
- data/_includes/footer.html +16 -16
- data/_includes/header.html +31 -31
- data/_includes/post.html +25 -25
- data/_includes/sidebar.html +31 -31
- data/_includes/widget.html +5 -5
- data/_layouts/archive.html +41 -41
- data/_layouts/blog.html +35 -35
- data/_layouts/default.html +3 -0
- data/_layouts/page.html +13 -13
- data/_layouts/post.html +74 -74
- data/assets/css/base.css +432 -430
- data/assets/css/layout.css +235 -235
- data/assets/css/syntax.css +425 -425
- data/assets/css/theme.css +40 -40
- data/assets/images/favicon.png +0 -0
- metadata +2 -1
data/assets/css/layout.css
CHANGED
@@ -1,235 +1,235 @@
|
|
1
|
-
html {
|
2
|
-
border-top: 0.5rem solid var(--color-accent);
|
3
|
-
}
|
4
|
-
|
5
|
-
body {
|
6
|
-
margin-block: 1rem;
|
7
|
-
margin-inline: 1rem;
|
8
|
-
}
|
9
|
-
|
10
|
-
@media screen and (width > 960px) {
|
11
|
-
body {
|
12
|
-
margin-inline: 1.5rem;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
/*
|
17
|
-
Site Header
|
18
|
-
*/
|
19
|
-
|
20
|
-
.site-header {
|
21
|
-
display: flex;
|
22
|
-
flex-flow: column nowrap;
|
23
|
-
align-items: center;
|
24
|
-
gap: 1rem;
|
25
|
-
margin-bottom: 2rem;
|
26
|
-
}
|
27
|
-
|
28
|
-
@media screen and (width > 640px) {
|
29
|
-
.site-header {
|
30
|
-
flex-flow: row nowrap;
|
31
|
-
justify-content: space-between;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
/* Branding */
|
36
|
-
.site-branding {
|
37
|
-
display: flex;
|
38
|
-
flex-flow: row nowrap;
|
39
|
-
align-items: center;
|
40
|
-
gap: 1rem;
|
41
|
-
}
|
42
|
-
|
43
|
-
.site-logo {
|
44
|
-
display: block;
|
45
|
-
border-radius: 100%;
|
46
|
-
width: 1.5rem;
|
47
|
-
height: 1.5rem;
|
48
|
-
}
|
49
|
-
|
50
|
-
.site-title {
|
51
|
-
font-size: 1rem;
|
52
|
-
font-weight: 700;
|
53
|
-
margin-bottom: 0;
|
54
|
-
}
|
55
|
-
|
56
|
-
/* Main Menu */
|
57
|
-
.main-menu {
|
58
|
-
display: flex;
|
59
|
-
flex-flow: row wrap;
|
60
|
-
align-items: center;
|
61
|
-
justify-content: center;
|
62
|
-
gap: 1rem;
|
63
|
-
}
|
64
|
-
|
65
|
-
.main-menu .menu-item {
|
66
|
-
flex-grow: 0;
|
67
|
-
flex-shrink: 0;
|
68
|
-
}
|
69
|
-
|
70
|
-
/*
|
71
|
-
Site Content
|
72
|
-
*/
|
73
|
-
|
74
|
-
.site-content {
|
75
|
-
display: flex;
|
76
|
-
flex-flow: column nowrap;
|
77
|
-
gap: 2rem;
|
78
|
-
}
|
79
|
-
|
80
|
-
@media screen and (width > 640px) {
|
81
|
-
.site-content {
|
82
|
-
max-width: 960px;
|
83
|
-
margin-inline: auto;
|
84
|
-
display: grid;
|
85
|
-
grid-template-columns: auto 30%;
|
86
|
-
gap: 3rem;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
.post-title {
|
91
|
-
font-size: 1.5rem;
|
92
|
-
font-weight: 700;
|
93
|
-
margin-bottom: 1rem;
|
94
|
-
}
|
95
|
-
|
96
|
-
.post-footer {
|
97
|
-
display: flex;
|
98
|
-
flex-flow: column nowrap;
|
99
|
-
gap: 1rem;
|
100
|
-
font-size: var(--font-size-small);
|
101
|
-
color: var(--color-details);
|
102
|
-
margin-top: 1.5rem;
|
103
|
-
padding-bottom: 3rem;
|
104
|
-
margin-bottom: 3rem;
|
105
|
-
border-bottom: var(--border);
|
106
|
-
}
|
107
|
-
|
108
|
-
.post-meta._info {
|
109
|
-
display: flex;
|
110
|
-
flex-flow: row wrap;
|
111
|
-
gap: 0.5rem;
|
112
|
-
}
|
113
|
-
|
114
|
-
.post-meta._tags {
|
115
|
-
display: flex;
|
116
|
-
flex-flow: column nowrap;
|
117
|
-
}
|
118
|
-
|
119
|
-
.tags-label,
|
120
|
-
.tags-list {
|
121
|
-
margin-bottom: 0;
|
122
|
-
}
|
123
|
-
|
124
|
-
.tags-label {
|
125
|
-
font-size: var(--font-size-small);
|
126
|
-
}
|
127
|
-
|
128
|
-
.tags-list {
|
129
|
-
list-style: none;
|
130
|
-
display: flex;
|
131
|
-
flex-flow: row wrap;
|
132
|
-
gap: 0.5rem;
|
133
|
-
}
|
134
|
-
|
135
|
-
.tags-list li {
|
136
|
-
margin-block: 0;
|
137
|
-
padding-left: 0;
|
138
|
-
margin-left: 0;
|
139
|
-
}
|
140
|
-
|
141
|
-
.post-footer a {
|
142
|
-
text-decoration-color: transparent;
|
143
|
-
}
|
144
|
-
|
145
|
-
.post-footer a:hover,
|
146
|
-
.post-footer a:focus {
|
147
|
-
color: var(--color-foreground);
|
148
|
-
text-decoration-color: var(--color-accent);
|
149
|
-
}
|
150
|
-
|
151
|
-
.post-footer a:active {
|
152
|
-
color: var(--color-accent-alt);
|
153
|
-
}
|
154
|
-
|
155
|
-
.archive-title {
|
156
|
-
font-size: 1rem;
|
157
|
-
margin-bottom: 1.5rem;
|
158
|
-
}
|
159
|
-
|
160
|
-
/* Pagination */
|
161
|
-
.blog-pagination {
|
162
|
-
display: flex;
|
163
|
-
flex-flow: column nowrap;
|
164
|
-
align-items: center;
|
165
|
-
gap: 1rem;
|
166
|
-
margin-top: 2rem;
|
167
|
-
padding-block: 1.5rem;
|
168
|
-
font-size: var(--font-size-small);
|
169
|
-
color: var(--color-details);
|
170
|
-
}
|
171
|
-
|
172
|
-
@media screen and (width > 900px) {
|
173
|
-
.blog-pagination {
|
174
|
-
flex-flow: row nowrap;
|
175
|
-
justify-content: space-between;
|
176
|
-
}
|
177
|
-
|
178
|
-
.blog-pagination a {
|
179
|
-
flex-grow: 0;
|
180
|
-
flex-shrink: 0;
|
181
|
-
}
|
182
|
-
|
183
|
-
.blog-pagination .prev-page:first-child {
|
184
|
-
margin-right: auto;
|
185
|
-
}
|
186
|
-
|
187
|
-
.blog-pagination .next-page:last-child {
|
188
|
-
margin-left: auto;
|
189
|
-
}
|
190
|
-
}
|
191
|
-
|
192
|
-
/* Sidebar */
|
193
|
-
.sidebar {
|
194
|
-
font-size: var(--font-size-small);
|
195
|
-
}
|
196
|
-
|
197
|
-
.widget {
|
198
|
-
margin-bottom: 1.5rem;
|
199
|
-
}
|
200
|
-
|
201
|
-
.widget .widget-title {
|
202
|
-
font-size: var(--font-size-base);
|
203
|
-
margin-bottom: 1em;
|
204
|
-
}
|
205
|
-
|
206
|
-
/*
|
207
|
-
Site Footer
|
208
|
-
*/
|
209
|
-
|
210
|
-
.site-footer {
|
211
|
-
margin-top: 2rem;
|
212
|
-
display: flex;
|
213
|
-
flex-flow: column nowrap;
|
214
|
-
align-items: center;
|
215
|
-
gap: 1rem;
|
216
|
-
color: var(--color-details);
|
217
|
-
font-size: var(--font-size-small);
|
218
|
-
}
|
219
|
-
|
220
|
-
.site-footer a:hover,
|
221
|
-
.site-footer a:focus {
|
222
|
-
color: var(--color-foreground);
|
223
|
-
}
|
224
|
-
|
225
|
-
.site-footer a:active {
|
226
|
-
color: var(--color-accent-alt);
|
227
|
-
}
|
228
|
-
|
229
|
-
.site-footer .footer-menu {
|
230
|
-
display: flex;
|
231
|
-
flex-flow: row wrap;
|
232
|
-
gap: 1rem;
|
233
|
-
align-items: center;
|
234
|
-
justify-content: center;
|
235
|
-
}
|
1
|
+
html {
|
2
|
+
border-top: 0.5rem solid var(--color-accent);
|
3
|
+
}
|
4
|
+
|
5
|
+
body {
|
6
|
+
margin-block: 1rem;
|
7
|
+
margin-inline: 1rem;
|
8
|
+
}
|
9
|
+
|
10
|
+
@media screen and (width > 960px) {
|
11
|
+
body {
|
12
|
+
margin-inline: 1.5rem;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
/*
|
17
|
+
Site Header
|
18
|
+
*/
|
19
|
+
|
20
|
+
.site-header {
|
21
|
+
display: flex;
|
22
|
+
flex-flow: column nowrap;
|
23
|
+
align-items: center;
|
24
|
+
gap: 1rem;
|
25
|
+
margin-bottom: 2rem;
|
26
|
+
}
|
27
|
+
|
28
|
+
@media screen and (width > 640px) {
|
29
|
+
.site-header {
|
30
|
+
flex-flow: row nowrap;
|
31
|
+
justify-content: space-between;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
/* Branding */
|
36
|
+
.site-branding {
|
37
|
+
display: flex;
|
38
|
+
flex-flow: row nowrap;
|
39
|
+
align-items: center;
|
40
|
+
gap: 1rem;
|
41
|
+
}
|
42
|
+
|
43
|
+
.site-logo {
|
44
|
+
display: block;
|
45
|
+
border-radius: 100%;
|
46
|
+
width: 1.5rem;
|
47
|
+
height: 1.5rem;
|
48
|
+
}
|
49
|
+
|
50
|
+
.site-title {
|
51
|
+
font-size: 1rem;
|
52
|
+
font-weight: 700;
|
53
|
+
margin-bottom: 0;
|
54
|
+
}
|
55
|
+
|
56
|
+
/* Main Menu */
|
57
|
+
.main-menu {
|
58
|
+
display: flex;
|
59
|
+
flex-flow: row wrap;
|
60
|
+
align-items: center;
|
61
|
+
justify-content: center;
|
62
|
+
gap: 1rem;
|
63
|
+
}
|
64
|
+
|
65
|
+
.main-menu .menu-item {
|
66
|
+
flex-grow: 0;
|
67
|
+
flex-shrink: 0;
|
68
|
+
}
|
69
|
+
|
70
|
+
/*
|
71
|
+
Site Content
|
72
|
+
*/
|
73
|
+
|
74
|
+
.site-content {
|
75
|
+
display: flex;
|
76
|
+
flex-flow: column nowrap;
|
77
|
+
gap: 2rem;
|
78
|
+
}
|
79
|
+
|
80
|
+
@media screen and (width > 640px) {
|
81
|
+
.site-content {
|
82
|
+
max-width: 960px;
|
83
|
+
margin-inline: auto;
|
84
|
+
display: grid;
|
85
|
+
grid-template-columns: auto 30%;
|
86
|
+
gap: 3rem;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.post-title {
|
91
|
+
font-size: 1.5rem;
|
92
|
+
font-weight: 700;
|
93
|
+
margin-bottom: 1rem;
|
94
|
+
}
|
95
|
+
|
96
|
+
.post-footer {
|
97
|
+
display: flex;
|
98
|
+
flex-flow: column nowrap;
|
99
|
+
gap: 1rem;
|
100
|
+
font-size: var(--font-size-small);
|
101
|
+
color: var(--color-details);
|
102
|
+
margin-top: 1.5rem;
|
103
|
+
padding-bottom: 3rem;
|
104
|
+
margin-bottom: 3rem;
|
105
|
+
border-bottom: var(--border);
|
106
|
+
}
|
107
|
+
|
108
|
+
.post-meta._info {
|
109
|
+
display: flex;
|
110
|
+
flex-flow: row wrap;
|
111
|
+
gap: 0.5rem;
|
112
|
+
}
|
113
|
+
|
114
|
+
.post-meta._tags {
|
115
|
+
display: flex;
|
116
|
+
flex-flow: column nowrap;
|
117
|
+
}
|
118
|
+
|
119
|
+
.tags-label,
|
120
|
+
.tags-list {
|
121
|
+
margin-bottom: 0;
|
122
|
+
}
|
123
|
+
|
124
|
+
.tags-label {
|
125
|
+
font-size: var(--font-size-small);
|
126
|
+
}
|
127
|
+
|
128
|
+
.tags-list {
|
129
|
+
list-style: none;
|
130
|
+
display: flex;
|
131
|
+
flex-flow: row wrap;
|
132
|
+
gap: 0.5rem;
|
133
|
+
}
|
134
|
+
|
135
|
+
.tags-list li {
|
136
|
+
margin-block: 0;
|
137
|
+
padding-left: 0;
|
138
|
+
margin-left: 0;
|
139
|
+
}
|
140
|
+
|
141
|
+
.post-footer a {
|
142
|
+
text-decoration-color: transparent;
|
143
|
+
}
|
144
|
+
|
145
|
+
.post-footer a:hover,
|
146
|
+
.post-footer a:focus {
|
147
|
+
color: var(--color-foreground);
|
148
|
+
text-decoration-color: var(--color-accent);
|
149
|
+
}
|
150
|
+
|
151
|
+
.post-footer a:active {
|
152
|
+
color: var(--color-accent-alt);
|
153
|
+
}
|
154
|
+
|
155
|
+
.archive-title {
|
156
|
+
font-size: 1rem;
|
157
|
+
margin-bottom: 1.5rem;
|
158
|
+
}
|
159
|
+
|
160
|
+
/* Pagination */
|
161
|
+
.blog-pagination {
|
162
|
+
display: flex;
|
163
|
+
flex-flow: column nowrap;
|
164
|
+
align-items: center;
|
165
|
+
gap: 1rem;
|
166
|
+
margin-top: 2rem;
|
167
|
+
padding-block: 1.5rem;
|
168
|
+
font-size: var(--font-size-small);
|
169
|
+
color: var(--color-details);
|
170
|
+
}
|
171
|
+
|
172
|
+
@media screen and (width > 900px) {
|
173
|
+
.blog-pagination {
|
174
|
+
flex-flow: row nowrap;
|
175
|
+
justify-content: space-between;
|
176
|
+
}
|
177
|
+
|
178
|
+
.blog-pagination a {
|
179
|
+
flex-grow: 0;
|
180
|
+
flex-shrink: 0;
|
181
|
+
}
|
182
|
+
|
183
|
+
.blog-pagination .prev-page:first-child {
|
184
|
+
margin-right: auto;
|
185
|
+
}
|
186
|
+
|
187
|
+
.blog-pagination .next-page:last-child {
|
188
|
+
margin-left: auto;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
/* Sidebar */
|
193
|
+
.sidebar {
|
194
|
+
font-size: var(--font-size-small);
|
195
|
+
}
|
196
|
+
|
197
|
+
.widget {
|
198
|
+
margin-bottom: 1.5rem;
|
199
|
+
}
|
200
|
+
|
201
|
+
.widget .widget-title {
|
202
|
+
font-size: var(--font-size-base);
|
203
|
+
margin-bottom: 1em;
|
204
|
+
}
|
205
|
+
|
206
|
+
/*
|
207
|
+
Site Footer
|
208
|
+
*/
|
209
|
+
|
210
|
+
.site-footer {
|
211
|
+
margin-top: 2rem;
|
212
|
+
display: flex;
|
213
|
+
flex-flow: column nowrap;
|
214
|
+
align-items: center;
|
215
|
+
gap: 1rem;
|
216
|
+
color: var(--color-details);
|
217
|
+
font-size: var(--font-size-small);
|
218
|
+
}
|
219
|
+
|
220
|
+
.site-footer a:hover,
|
221
|
+
.site-footer a:focus {
|
222
|
+
color: var(--color-foreground);
|
223
|
+
}
|
224
|
+
|
225
|
+
.site-footer a:active {
|
226
|
+
color: var(--color-accent-alt);
|
227
|
+
}
|
228
|
+
|
229
|
+
.site-footer .footer-menu {
|
230
|
+
display: flex;
|
231
|
+
flex-flow: row wrap;
|
232
|
+
gap: 1rem;
|
233
|
+
align-items: center;
|
234
|
+
justify-content: center;
|
235
|
+
}
|