databook-theme 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.MD +1 -0
- data/_includes/blog/blog.liquid +50 -0
- data/_includes/blog/features.liquid +36 -0
- data/_includes/blog/full.liquid +3 -0
- data/_includes/blog/list.liquid +41 -0
- data/_includes/blog/post.liquid +6 -0
- data/_includes/components/analytics.google.liquid +11 -0
- data/_includes/components/analytics.liquid +11 -0
- data/_includes/components/comments.disqus.liquid +17 -0
- data/_includes/components/comments.gitalk.liquid +22 -0
- data/_includes/components/comments.liquid +13 -0
- data/_includes/components/navmenu.items.liquid +51 -0
- data/_includes/components/navmenu.liquid +4 -0
- data/_includes/components/pagination.liquid +83 -0
- data/_includes/components/prevnext.liquid +1 -0
- data/_includes/components/search.baidu.liquid +7 -0
- data/_includes/components/search.bing.liquid +6 -0
- data/_includes/components/search.google.liquid +6 -0
- data/_includes/components/search.liquid +21 -0
- data/_includes/components/social_button.liquid +9 -0
- data/_includes/components/social_link.liquid +14 -0
- data/_includes/components/title.liquid +41 -0
- data/_includes/components/toc.liquid +28 -0
- data/_includes/custom/analytics.liquid +3 -0
- data/_includes/custom/blog.liquid +3 -0
- data/_includes/custom/body.liquid +3 -0
- data/_includes/custom/comments.liquid +3 -0
- data/_includes/custom/footer.liquid +3 -0
- data/_includes/custom/head.liquid +3 -0
- data/_includes/custom/katex.liquid +15 -0
- data/_includes/custom/mathjax.liquid +19 -0
- data/_includes/custom/search.liquid +3 -0
- data/_includes/extensions/toc.liquid +182 -0
- data/_includes/functions/get_config.liquid +11 -0
- data/_includes/functions/get_config_data.liquid +23 -0
- data/_includes/functions/get_icon.liquid +5 -0
- data/_includes/functions/get_page_meta.liquid +60 -0
- data/_includes/functions/get_page_thumbnail.liquid +23 -0
- data/_includes/functions/get_page_title.liquid +7 -0
- data/_includes/functions/get_recent_posts.liquid +17 -0
- data/_includes/functions/get_taxonomy_link.liquid +9 -0
- data/_includes/head/head.liquid +12 -0
- data/_includes/head/meta.liquid +41 -0
- data/_includes/head/opengraph.liquid +1 -0
- data/_includes/head/requirements.liquid +87 -0
- data/_includes/head/styles.liquid +10 -0
- data/_includes/js/codes.js +116 -0
- data/_includes/js/scrollspy.js +16 -0
- data/_includes/layout/article.liquid +71 -0
- data/_includes/layout/footer.liquid +53 -0
- data/_includes/layout/header.liquid +31 -0
- data/_includes/layout/hero.liquid +29 -0
- data/_includes/layout/page.liquid +33 -0
- data/_includes/layout/pagehead.liquid +17 -0
- data/_includes/layout/sidebar.liquid +178 -0
- data/_includes/localize +29 -0
- data/_includes/notice +6 -0
- data/_includes/version +1 -0
- data/_layouts/article.liquid +10 -0
- data/_layouts/default.liquid +131 -0
- data/_layouts/home.liquid +20 -0
- data/_layouts/page.liquid +9 -0
- data/_layouts/post.liquid +9 -0
- data/_layouts/system.liquid +35 -0
- data/_layouts/taxonomy.liquid +67 -0
- data/_sass/_custom.scss +0 -0
- data/_sass/_databook.scss +42 -0
- data/_sass/_debug.scss +7 -0
- data/_sass/_variables.scss +24 -0
- data/_sass/base/_misc.scss +0 -0
- data/_sass/base/_mixins.scss +32 -0
- data/_sass/base/_normalize.scss +45 -0
- data/_sass/base/_responsive.scss +28 -0
- data/_sass/components/_archive.scss +49 -0
- data/_sass/components/_blog.scss +249 -0
- data/_sass/components/_forms.scss +30 -0
- data/_sass/components/_hero.scss +70 -0
- data/_sass/components/_misc.scss +3 -0
- data/_sass/components/_notice.scss +27 -0
- data/_sass/components/_notification.scss +10 -0
- data/_sass/components/_post.scss +19 -0
- data/_sass/components/_sidebar.scss +303 -0
- data/_sass/components/_tabs.scss +67 -0
- data/_sass/components/_text.scss +27 -0
- data/_sass/components/_toc.scss +50 -0
- data/_sass/layout/_article.scss +211 -0
- data/_sass/layout/_body.scss +26 -0
- data/_sass/layout/_footer.scss +76 -0
- data/_sass/layout/_header.scss +124 -0
- data/_sass/layout/_main.scss +8 -0
- data/_sass/layout/_misc.scss +7 -0
- data/_sass/layout/_navbar.scss +323 -0
- data/_sass/layout/_sidebar.scss +115 -0
- data/_sass/layout/_wrapper.scss +7 -0
- data/_sass/theme/_scheme.scss +112 -0
- data/_sass/typography/_article.scss +49 -0
- data/_sass/typography/_doc.scss +104 -0
- data/_sass/typography/_highlight.scss +208 -0
- data/_sass/typography/_markdown.scss +18 -0
- data/_sass/typography/_table.scss +119 -0
- data/_sass/typography/_typography.scss +108 -0
- data/_sass/utilities/_thinscrollbar.scss +35 -0
- data/assets/databook/css/databook.scss +6 -0
- data/assets/databook/img/avatar.png +0 -0
- data/assets/databook/img/logo.png +0 -0
- data/assets/databook/js/databook.js +8 -0
- data/assets/databook/js/search.js +47 -0
- data/assets/databook/version.json +9 -0
- data/assets/favicon.ico +0 -0
- data/assets/search.json +30 -0
- metadata +224 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
.c-post-prevnext {
|
2
|
+
display: flex;
|
3
|
+
|
4
|
+
&__prev,
|
5
|
+
&__next {
|
6
|
+
width: 40%;
|
7
|
+
border-radius: $border-radius-object;
|
8
|
+
border: 1px solid var(--db-border-color);
|
9
|
+
}
|
10
|
+
|
11
|
+
&__next {
|
12
|
+
text-align: right;
|
13
|
+
margin-left: auto;
|
14
|
+
}
|
15
|
+
|
16
|
+
a {
|
17
|
+
display: block;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,303 @@
|
|
1
|
+
.c-profile {
|
2
|
+
margin: 0;
|
3
|
+
padding: 0;
|
4
|
+
text-align: center;
|
5
|
+
|
6
|
+
&__image {
|
7
|
+
@include flex-center;
|
8
|
+
|
9
|
+
border-radius: 128px;
|
10
|
+
margin: 2rem auto;
|
11
|
+
height: 128px;
|
12
|
+
width: 128px;
|
13
|
+
|
14
|
+
border: 1px solid var(--db-border-color-inactive);
|
15
|
+
background: white;
|
16
|
+
|
17
|
+
& img {
|
18
|
+
max-width: 80%;
|
19
|
+
max-height: 80%;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
&__title {
|
24
|
+
font-weight: bold;
|
25
|
+
font-size: 1.5em;
|
26
|
+
margin: .5rem auto;
|
27
|
+
color: var(--db-text-color-active);
|
28
|
+
}
|
29
|
+
|
30
|
+
&__subtitle {
|
31
|
+
color: var(--db-text-color-inactive);
|
32
|
+
margin: .25rem auto;
|
33
|
+
}
|
34
|
+
|
35
|
+
&__description {
|
36
|
+
margin: 1rem 0;
|
37
|
+
color: var(--db-text-color-inactive);
|
38
|
+
}
|
39
|
+
|
40
|
+
}
|
41
|
+
|
42
|
+
.c-navlist {
|
43
|
+
margin-top: 1rem;
|
44
|
+
user-select: none;
|
45
|
+
|
46
|
+
&__item {
|
47
|
+
text-align: center;
|
48
|
+
|
49
|
+
&::before,
|
50
|
+
&:last-of-type::after {
|
51
|
+
background-image: linear-gradient(to left, transparent, var(--db-border-color) 30%, var(--db-border-color) 70%, transparent);
|
52
|
+
content: "";
|
53
|
+
display: block;
|
54
|
+
height: 2px;
|
55
|
+
width: 100%;
|
56
|
+
opacity: 0.6;
|
57
|
+
}
|
58
|
+
|
59
|
+
&:hover {
|
60
|
+
background-image: linear-gradient(to left, transparent, var(--db-surface-hover-color) 30%, var(--db-surface-hover-color) 70%, transparent);
|
61
|
+
}
|
62
|
+
|
63
|
+
&.is-active {
|
64
|
+
font-weight: bold;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
&__link {
|
69
|
+
color: inherit;
|
70
|
+
display: block;
|
71
|
+
padding: .5rem;
|
72
|
+
text-decoration: none;
|
73
|
+
text-overflow: ellipsis;
|
74
|
+
|
75
|
+
&:not([href]):not([onclick]):hover {
|
76
|
+
color: inherit;
|
77
|
+
text-decoration: none;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
}
|
82
|
+
|
83
|
+
.c-sociallist {
|
84
|
+
display: table;
|
85
|
+
color: var(--db-text-color-inactive);
|
86
|
+
vertical-align: top;
|
87
|
+
margin: 2rem auto;
|
88
|
+
|
89
|
+
&__item {
|
90
|
+
font-size: .875em;
|
91
|
+
}
|
92
|
+
|
93
|
+
&__icon {
|
94
|
+
width: 1.5rem;
|
95
|
+
text-align: center;
|
96
|
+
padding-bottom: .5rem;
|
97
|
+
}
|
98
|
+
|
99
|
+
&__text {
|
100
|
+
text-align: left;
|
101
|
+
padding-bottom: .5rem;
|
102
|
+
}
|
103
|
+
|
104
|
+
a {
|
105
|
+
color: inherit;
|
106
|
+
text-decoration: none;
|
107
|
+
|
108
|
+
&:hover {
|
109
|
+
color: var(--db-text-color-active);
|
110
|
+
text-decoration: underline;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
}
|
115
|
+
|
116
|
+
.c-navtree {
|
117
|
+
display: flex;
|
118
|
+
flex-direction: column;
|
119
|
+
flex: 1;
|
120
|
+
padding: 0;
|
121
|
+
user-select: none;
|
122
|
+
|
123
|
+
&__group {
|
124
|
+
&:not(&--bottom) {
|
125
|
+
margin-bottom: 1rem;
|
126
|
+
}
|
127
|
+
|
128
|
+
&:not(&--bottom) + &--bottom {
|
129
|
+
margin-top: auto;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
&__label {
|
134
|
+
font-size: small;
|
135
|
+
font-weight: bold;
|
136
|
+
padding: .5em;
|
137
|
+
margin-top: .5rem;
|
138
|
+
color: var(--db-text-color-inactive);
|
139
|
+
opacity: .75;
|
140
|
+
|
141
|
+
&::after {
|
142
|
+
background-image: linear-gradient(to right, var(--db-border-color) 33%, transparent);
|
143
|
+
content: "";
|
144
|
+
display: block;
|
145
|
+
margin-top: .25rem;
|
146
|
+
height: 2px;
|
147
|
+
width: 100%;
|
148
|
+
opacity: 0.6;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
&__item {
|
153
|
+
display: flex;
|
154
|
+
flex-direction: row;
|
155
|
+
border: 1px solid transparent;
|
156
|
+
border-radius: $border-radius-control;
|
157
|
+
margin: 2px 0;
|
158
|
+
overflow: hidden;
|
159
|
+
|
160
|
+
&.is-active {
|
161
|
+
font-weight: bold;
|
162
|
+
}
|
163
|
+
|
164
|
+
&:not(.is-disabled) .c-navtree__link:hover,
|
165
|
+
&:not(.is-disabled) .c-navtree__link:hover + .c-navtree__toggle {
|
166
|
+
background-color: var(--db-surface-hover-color);
|
167
|
+
}
|
168
|
+
|
169
|
+
&.is-disabled {
|
170
|
+
color: var(--db-text-color-disabled);
|
171
|
+
}
|
172
|
+
|
173
|
+
}
|
174
|
+
|
175
|
+
&__link {
|
176
|
+
display: flex;
|
177
|
+
text-overflow: ellipsis;
|
178
|
+
overflow: hidden;
|
179
|
+
padding: 8px 0 8px 8px;
|
180
|
+
align-items: center;
|
181
|
+
flex: 1;
|
182
|
+
border: 1px solid transparent;
|
183
|
+
color: inherit;
|
184
|
+
|
185
|
+
&:hover {
|
186
|
+
text-decoration: none;
|
187
|
+
color: inherit;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
&__icon {
|
192
|
+
width: 1.5rem;
|
193
|
+
text-align: center;
|
194
|
+
color: var(--db-text-color-inactive);
|
195
|
+
opacity: .88;
|
196
|
+
}
|
197
|
+
|
198
|
+
&__badge {
|
199
|
+
width: 2.4rem;
|
200
|
+
text-align: center;
|
201
|
+
color: var(--db-text-color-inactive);
|
202
|
+
opacity: .88;
|
203
|
+
}
|
204
|
+
|
205
|
+
&__text {
|
206
|
+
flex: 1;
|
207
|
+
padding: 0 4px;
|
208
|
+
}
|
209
|
+
|
210
|
+
&__button {
|
211
|
+
color: var(--db-text-color-inactive);
|
212
|
+
width: 2.4rem;
|
213
|
+
display: flex;
|
214
|
+
align-items: center;
|
215
|
+
justify-content: center;
|
216
|
+
user-select: none;
|
217
|
+
|
218
|
+
&--toggle {
|
219
|
+
&::before {
|
220
|
+
font-family: 'Font Awesome 5 Free';
|
221
|
+
content: "\f067";
|
222
|
+
font-weight: 600;
|
223
|
+
|
224
|
+
@at-root .is-expanded #{&} {
|
225
|
+
content: "\f068";
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
&:hover {
|
231
|
+
color: var(--db-text-color-active);
|
232
|
+
background-color: var(--db-surface-hover-color);
|
233
|
+
}
|
234
|
+
&[href]:hover,
|
235
|
+
&[onclick]:hover {
|
236
|
+
cursor: pointer;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
&__list {
|
241
|
+
flex-direction: column;
|
242
|
+
display: none;
|
243
|
+
font-size: .8em;
|
244
|
+
padding-left: 2rem;
|
245
|
+
|
246
|
+
.c-navtree__icon {
|
247
|
+
font-size: xx-small;
|
248
|
+
}
|
249
|
+
|
250
|
+
.c-navtree__link {
|
251
|
+
padding: 6px 8px;
|
252
|
+
font-size: 15px;
|
253
|
+
}
|
254
|
+
|
255
|
+
@at-root .is-expanded + #{&} {
|
256
|
+
display: inherit;
|
257
|
+
}
|
258
|
+
|
259
|
+
}
|
260
|
+
|
261
|
+
}
|
262
|
+
|
263
|
+
$sidebutton-size: 2rem;
|
264
|
+
.c-sidebuttons {
|
265
|
+
@include flex-center;
|
266
|
+
margin-top: auto;
|
267
|
+
|
268
|
+
&__item {
|
269
|
+
border: 1px solid var(--db-border-color);
|
270
|
+
color: var(--db-text-color-inactive);
|
271
|
+
border-radius: $sidebutton-size;
|
272
|
+
margin: $sidebutton-size / 4;
|
273
|
+
width: $sidebutton-size;
|
274
|
+
height: $sidebutton-size;
|
275
|
+
line-height: $sidebutton-size;
|
276
|
+
text-align: center;
|
277
|
+
|
278
|
+
&:hover {
|
279
|
+
background-color: var(--db-surface-hover-color);
|
280
|
+
color: var(--db-text-color-active);
|
281
|
+
text-decoration: none;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
&__link {
|
286
|
+
color: inherit;
|
287
|
+
text-decoration: none;
|
288
|
+
display: block;
|
289
|
+
|
290
|
+
&:hover {
|
291
|
+
color: inherit;
|
292
|
+
text-decoration: none;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
}
|
296
|
+
|
297
|
+
.c-texticon {
|
298
|
+
font-family: monospace;
|
299
|
+
margin: auto;
|
300
|
+
overflow: hidden;
|
301
|
+
white-space: nowrap;
|
302
|
+
width: 2ch;
|
303
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
.c-tabs {
|
2
|
+
display: flex;
|
3
|
+
flex-wrap: wrap;
|
4
|
+
|
5
|
+
&__input {
|
6
|
+
display: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
&__button {
|
10
|
+
order: 0;
|
11
|
+
padding: .5rem;
|
12
|
+
border: 1px solid #aaa;
|
13
|
+
min-width: 3rem;
|
14
|
+
text-align: center;
|
15
|
+
position: relative;
|
16
|
+
background-color: #f2f2f2;
|
17
|
+
|
18
|
+
&:first-of-type {
|
19
|
+
margin-left: 1rem;
|
20
|
+
border-top-left-radius: .25rem;
|
21
|
+
&::before {
|
22
|
+
background-color: #aaa;
|
23
|
+
content: "";
|
24
|
+
width: 1rem;
|
25
|
+
left: -1rem;
|
26
|
+
bottom: -1px;
|
27
|
+
height: 1px;
|
28
|
+
position: absolute;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
&:last-of-type {
|
33
|
+
margin-right: 1rem;
|
34
|
+
border-top-right-radius: .25rem;
|
35
|
+
&::after {
|
36
|
+
background-color: #aaa;
|
37
|
+
content: "";
|
38
|
+
width: 1rem;
|
39
|
+
right: -1rem;
|
40
|
+
bottom: -1px;
|
41
|
+
height: 1px;
|
42
|
+
position: absolute;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
&:not(:first-of-type){
|
47
|
+
border-left: none;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
&__pane {
|
52
|
+
order: 1;
|
53
|
+
display: none;
|
54
|
+
width: 100%;
|
55
|
+
}
|
56
|
+
|
57
|
+
&__input:checked + &__button {
|
58
|
+
font-weight: bold;
|
59
|
+
border-bottom-color: transparent;
|
60
|
+
background-color: transparent;
|
61
|
+
}
|
62
|
+
|
63
|
+
&__input:checked + &__button + &__pane {
|
64
|
+
display: block;
|
65
|
+
}
|
66
|
+
|
67
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.c-list {
|
2
|
+
border-collapse: collapse;
|
3
|
+
width: 100%;
|
4
|
+
margin-bottom: 1rem;
|
5
|
+
color: var(--db-text-color-active);
|
6
|
+
vertical-align: top;
|
7
|
+
border-color: var(--db-border-color);
|
8
|
+
|
9
|
+
td {
|
10
|
+
padding: .5rem .5rem;
|
11
|
+
|
12
|
+
&:not(:first-child) {
|
13
|
+
text-align: center;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
tr {
|
18
|
+
&:not(:last-child) {
|
19
|
+
border-bottom: 1px solid var(--db-border-color);
|
20
|
+
}
|
21
|
+
|
22
|
+
&:hover {
|
23
|
+
background-color: var(--db-highlight-color-hover);
|
24
|
+
}
|
25
|
+
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
.c-toc {
|
2
|
+
--db-toc-spacing: 1rem;
|
3
|
+
font-size: small;
|
4
|
+
border: 1px solid var(--db-border-color);
|
5
|
+
border-radius: $border-radius-object;
|
6
|
+
display: inline-block;
|
7
|
+
padding: var(--db-toc-spacing) 1rem;
|
8
|
+
width: 100%;
|
9
|
+
|
10
|
+
&__header {
|
11
|
+
border-bottom: 1px dashed var(--db-border-color-inactive);;
|
12
|
+
color: var(--db-text-color-inactive);
|
13
|
+
font-weight: bold;
|
14
|
+
margin-bottom: var(--db-toc-spacing);
|
15
|
+
text-align: center;
|
16
|
+
padding-bottom: var(--db-toc-spacing);
|
17
|
+
}
|
18
|
+
|
19
|
+
&__item {
|
20
|
+
margin-left: 1rem;
|
21
|
+
line-height: 1.8rem;
|
22
|
+
|
23
|
+
a {
|
24
|
+
color: var(--db-text-color-inactive);
|
25
|
+
|
26
|
+
&.is-active {
|
27
|
+
color: var(--db-text-color-active);
|
28
|
+
font-weight: bold;
|
29
|
+
}
|
30
|
+
|
31
|
+
&:hover {
|
32
|
+
text-decoration: underline;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
ol,
|
38
|
+
ul {
|
39
|
+
margin: 0 !important;
|
40
|
+
margin-left: 1rem !important;
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
@media #{$wide-screen} {
|
45
|
+
display: block;
|
46
|
+
padding: .5rem;
|
47
|
+
--db-toc-spacing: .5rem;
|
48
|
+
}
|
49
|
+
|
50
|
+
}
|
@@ -0,0 +1,211 @@
|
|
1
|
+
.l-page {
|
2
|
+
display: flex;
|
3
|
+
flex-direction: row;
|
4
|
+
border: 1px solid transparent;
|
5
|
+
border-radius: $border-radius-control;
|
6
|
+
margin: 0 auto;
|
7
|
+
width: 100%;
|
8
|
+
flex-wrap: wrap;
|
9
|
+
|
10
|
+
&__header {
|
11
|
+
width: 100%;
|
12
|
+
position: relative;
|
13
|
+
}
|
14
|
+
|
15
|
+
&__side {
|
16
|
+
order: 1;
|
17
|
+
margin-bottom: 1.5rem;
|
18
|
+
width: 100%;
|
19
|
+
|
20
|
+
&:empty {
|
21
|
+
display: none;
|
22
|
+
}
|
23
|
+
|
24
|
+
@media #{$wide-screen} {
|
25
|
+
order: 3;
|
26
|
+
width: 15rem;
|
27
|
+
margin-bottom: 0;
|
28
|
+
padding: 0 1.5rem;
|
29
|
+
|
30
|
+
position: sticky;
|
31
|
+
align-self: flex-start;
|
32
|
+
top: 1em;
|
33
|
+
|
34
|
+
&:empty {
|
35
|
+
display: unset;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&__content {
|
41
|
+
order: 2;
|
42
|
+
flex: 1;
|
43
|
+
margin: 2rem 0;
|
44
|
+
display: flex;
|
45
|
+
flex-direction: column;
|
46
|
+
width: 100%;
|
47
|
+
}
|
48
|
+
|
49
|
+
&__footer {
|
50
|
+
width: 100%;
|
51
|
+
}
|
52
|
+
|
53
|
+
+ #{&} {
|
54
|
+
margin-top: 4rem;
|
55
|
+
|
56
|
+
&::before {
|
57
|
+
content: '';
|
58
|
+
height: 4px;
|
59
|
+
width: 100%;
|
60
|
+
border-top: 1px solid var(--db-border-color);
|
61
|
+
border-bottom: 1px solid var(--db-border-color);
|
62
|
+
margin-bottom: 2rem;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
.c-title {
|
70
|
+
display: flex;
|
71
|
+
align-items: flex-end;
|
72
|
+
flex-direction: row;
|
73
|
+
flex-wrap: wrap;
|
74
|
+
padding: 1.5rem 0;
|
75
|
+
margin-top: 2rem;
|
76
|
+
margin-bottom: 1rem;
|
77
|
+
|
78
|
+
&__tagline {
|
79
|
+
width: 100%;
|
80
|
+
color: var(--db-text-color-inactive);
|
81
|
+
margin-top: .5rem;
|
82
|
+
}
|
83
|
+
|
84
|
+
&__title {
|
85
|
+
flex: 1;
|
86
|
+
display: flex;
|
87
|
+
align-items: flex-end;
|
88
|
+
font-size: 3rem;
|
89
|
+
font-weight: bold;
|
90
|
+
flex: 1;
|
91
|
+
color: var(--db-text-color-important);
|
92
|
+
}
|
93
|
+
|
94
|
+
&__right {
|
95
|
+
color: var(--db-text-color-inactive);
|
96
|
+
}
|
97
|
+
|
98
|
+
&__divider {
|
99
|
+
border: none;
|
100
|
+
border-bottom: 1px solid var(--db-border-color);
|
101
|
+
margin-top: 1.5rem;
|
102
|
+
margin-bottom: .5rem;
|
103
|
+
width: 100%;
|
104
|
+
}
|
105
|
+
|
106
|
+
&__meta {
|
107
|
+
flex: 1;
|
108
|
+
color: var(--db-text-color-inactive);
|
109
|
+
}
|
110
|
+
|
111
|
+
&__indicator {
|
112
|
+
color: var(--db-text-color-inactive);
|
113
|
+
}
|
114
|
+
|
115
|
+
&__breadcrumb {
|
116
|
+
width: 100%;
|
117
|
+
color: var(--db-text-color-inactive);
|
118
|
+
margin-bottom: 1rem;
|
119
|
+
}
|
120
|
+
|
121
|
+
a:hover {
|
122
|
+
text-decoration: underline;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
.c-breadcrumb {
|
127
|
+
&__item {
|
128
|
+
&::after {
|
129
|
+
margin: 0 .5rem;
|
130
|
+
}
|
131
|
+
|
132
|
+
&:not(:last-child)::after {
|
133
|
+
content: "/";
|
134
|
+
}
|
135
|
+
|
136
|
+
&:last-child::after {
|
137
|
+
@include fontawesome-text;
|
138
|
+
content: "\f105";
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
|
144
|
+
.c-meta {
|
145
|
+
|
146
|
+
&__item {
|
147
|
+
color: var(--db-text-color-inactive);
|
148
|
+
|
149
|
+
&::before {
|
150
|
+
@include fontawesome-text;
|
151
|
+
font-size: 0.8rem;
|
152
|
+
margin-right: 0.25rem;
|
153
|
+
}
|
154
|
+
|
155
|
+
&:not(:last-child)::after {
|
156
|
+
content: "·";
|
157
|
+
margin-right: 0.5rem;
|
158
|
+
margin-left: 0.5rem;
|
159
|
+
opacity: 66%;
|
160
|
+
}
|
161
|
+
|
162
|
+
|
163
|
+
a:not(:last-child)::after {
|
164
|
+
content: " ";
|
165
|
+
display: inline-block;
|
166
|
+
margin-right: .25rem;
|
167
|
+
}
|
168
|
+
|
169
|
+
&--time::before {
|
170
|
+
content: "\f017";
|
171
|
+
}
|
172
|
+
|
173
|
+
&--authors::before {
|
174
|
+
content: "\f4ff";
|
175
|
+
}
|
176
|
+
|
177
|
+
&--categories::before {
|
178
|
+
content: "\f07c";
|
179
|
+
}
|
180
|
+
|
181
|
+
&--tags::before {
|
182
|
+
content: "\f02c";
|
183
|
+
font-weight: 600;
|
184
|
+
}
|
185
|
+
|
186
|
+
&--source::before {
|
187
|
+
content: "\f121";
|
188
|
+
font-weight: 600;
|
189
|
+
}
|
190
|
+
|
191
|
+
&--sticky::before {
|
192
|
+
content: "\f08d";
|
193
|
+
font-weight: 600;
|
194
|
+
}
|
195
|
+
|
196
|
+
&--featured::before {
|
197
|
+
content: "\f058";
|
198
|
+
font-weight: 600;
|
199
|
+
}
|
200
|
+
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
.c-thumbnail {
|
205
|
+
width: 100%;
|
206
|
+
|
207
|
+
img {
|
208
|
+
max-width: 100%;
|
209
|
+
margin: 0 auto;
|
210
|
+
}
|
211
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
.l-body {
|
2
|
+
flex: 1;
|
3
|
+
flex-direction: column;
|
4
|
+
display: flex;
|
5
|
+
padding: $page-spacing-small;
|
6
|
+
margin: auto;
|
7
|
+
width: 100%;
|
8
|
+
|
9
|
+
@media #{$medium-screen} {
|
10
|
+
padding: $page-spacing-medium * .5 $page-spacing-medium;
|
11
|
+
}
|
12
|
+
|
13
|
+
@media #{$large-screen} {
|
14
|
+
padding: $page-spacing-large * .5 $page-spacing-large;
|
15
|
+
}
|
16
|
+
|
17
|
+
@media #{$wide-screen} {
|
18
|
+
padding: $page-spacing-large * .5 $page-spacing-wide;
|
19
|
+
max-width: $page-max-width + $page-spacing-wide * 2;
|
20
|
+
|
21
|
+
@at-root .l-wrapper.is-wide #{&} {
|
22
|
+
max-width: unset;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
}
|