databook-theme 0.1.1 → 0.1.2
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/LICENSE.txt +21 -21
- data/README.MD +1 -1
- data/_includes/blog/blog.liquid +50 -50
- data/_includes/blog/features.liquid +36 -36
- data/_includes/blog/full.liquid +3 -3
- data/_includes/blog/list.liquid +41 -41
- data/_includes/blog/post.liquid +6 -6
- data/_includes/components/analytics.google.liquid +11 -11
- data/_includes/components/analytics.liquid +11 -11
- data/_includes/components/comments.disqus.liquid +17 -17
- data/_includes/components/comments.gitalk.liquid +22 -22
- data/_includes/components/comments.liquid +13 -13
- data/_includes/components/navmenu.items.liquid +51 -51
- data/_includes/components/navmenu.liquid +4 -4
- data/_includes/components/pagination.liquid +83 -83
- data/_includes/components/prevnext.liquid +1 -1
- data/_includes/components/search.baidu.liquid +7 -7
- data/_includes/components/search.bing.liquid +6 -6
- data/_includes/components/search.google.liquid +6 -6
- data/_includes/components/search.liquid +21 -21
- data/_includes/components/social_button.liquid +9 -9
- data/_includes/components/social_link.liquid +14 -14
- data/_includes/components/title.liquid +41 -41
- data/_includes/components/toc.liquid +28 -28
- data/_includes/custom/analytics.liquid +3 -3
- data/_includes/custom/blog.liquid +3 -3
- data/_includes/custom/body.liquid +3 -3
- data/_includes/custom/comments.liquid +3 -3
- data/_includes/custom/favicon.liquid +11 -0
- data/_includes/custom/footer.liquid +3 -3
- data/_includes/custom/head.liquid +3 -3
- data/_includes/custom/katex.liquid +15 -15
- data/_includes/custom/mathjax.liquid +19 -19
- data/_includes/custom/search.liquid +3 -3
- data/_includes/extensions/toc.liquid +182 -182
- data/_includes/functions/get_config.liquid +11 -11
- data/_includes/functions/get_config_data.liquid +23 -23
- data/_includes/functions/get_icon.liquid +5 -5
- data/_includes/functions/get_page_meta.liquid +74 -60
- data/_includes/functions/get_page_thumbnail.liquid +22 -23
- data/_includes/functions/get_page_title.liquid +7 -7
- data/_includes/functions/get_recent_posts.liquid +17 -17
- data/_includes/functions/get_taxonomy_link.liquid +9 -9
- data/_includes/head/head.liquid +11 -12
- data/_includes/head/meta.liquid +50 -41
- data/_includes/head/requirements.liquid +87 -87
- data/_includes/head/styles.liquid +10 -10
- data/_includes/js/codes.js +116 -116
- data/_includes/js/scrollspy.js +16 -16
- data/_includes/layout/article.liquid +74 -71
- data/_includes/layout/footer.liquid +53 -53
- data/_includes/layout/header.liquid +31 -31
- data/_includes/layout/hero.liquid +29 -29
- data/_includes/layout/page.liquid +33 -33
- data/_includes/layout/pagehead.liquid +17 -17
- data/_includes/layout/sidebar.liquid +178 -178
- data/_includes/localize +29 -29
- data/_includes/notice +6 -6
- data/_includes/version +1 -1
- data/_layouts/article.liquid +10 -10
- data/_layouts/default.liquid +132 -131
- data/_layouts/home.liquid +20 -20
- data/_layouts/page.liquid +9 -9
- data/_layouts/post.liquid +9 -9
- data/_layouts/system.liquid +35 -35
- data/_layouts/taxonomy.liquid +67 -67
- data/_sass/_databook.scss +42 -42
- data/_sass/_debug.scss +7 -7
- data/_sass/_variables.scss +24 -24
- data/_sass/base/_mixins.scss +32 -32
- data/_sass/base/_normalize.scss +45 -45
- data/_sass/base/_responsive.scss +28 -28
- data/_sass/components/_archive.scss +49 -49
- data/_sass/components/_blog.scss +249 -249
- data/_sass/components/_forms.scss +30 -30
- data/_sass/components/_hero.scss +70 -70
- data/_sass/components/_misc.scss +3 -3
- data/_sass/components/_notice.scss +27 -27
- data/_sass/components/_notification.scss +10 -10
- data/_sass/components/_post.scss +19 -19
- data/_sass/components/_sidebar.scss +303 -303
- data/_sass/components/_tabs.scss +67 -67
- data/_sass/components/_text.scss +27 -27
- data/_sass/components/_toc.scss +50 -50
- data/_sass/layout/_article.scss +211 -211
- data/_sass/layout/_body.scss +26 -26
- data/_sass/layout/_footer.scss +75 -75
- data/_sass/layout/_header.scss +124 -124
- data/_sass/layout/_main.scss +8 -8
- data/_sass/layout/_misc.scss +7 -7
- data/_sass/layout/_navbar.scss +323 -323
- data/_sass/layout/_sidebar.scss +115 -115
- data/_sass/layout/_wrapper.scss +7 -7
- data/_sass/theme/_scheme.scss +112 -112
- data/_sass/typography/_article.scss +49 -49
- data/_sass/typography/_doc.scss +104 -104
- data/_sass/typography/_highlight.scss +208 -208
- data/_sass/typography/_markdown.scss +18 -18
- data/_sass/typography/_table.scss +119 -119
- data/_sass/typography/_typography.scss +103 -108
- data/_sass/utilities/_thinscrollbar.scss +35 -35
- data/assets/databook/css/databook.scss +6 -6
- data/assets/databook/js/databook.js +8 -8
- data/assets/databook/js/search.js +47 -47
- data/assets/databook/version.json +9 -9
- data/assets/search.json +30 -30
- metadata +8 -8
- data/_includes/head/opengraph.liquid +0 -1
data/_sass/layout/_article.scss
CHANGED
|
@@ -1,211 +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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
img {
|
|
208
|
-
max-width: 100%;
|
|
209
|
-
margin: 0 auto;
|
|
210
|
-
}
|
|
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
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__footer {
|
|
48
|
+
width: 100%;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
+ #{&} {
|
|
52
|
+
margin-top: 4rem;
|
|
53
|
+
|
|
54
|
+
&::before {
|
|
55
|
+
content: '';
|
|
56
|
+
height: 4px;
|
|
57
|
+
width: 100%;
|
|
58
|
+
border-top: 1px solid var(--db-border-color);
|
|
59
|
+
border-bottom: 1px solid var(--db-border-color);
|
|
60
|
+
margin-bottom: 2rem;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
.c-title {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: flex-end;
|
|
70
|
+
flex-direction: row;
|
|
71
|
+
flex-wrap: wrap;
|
|
72
|
+
padding: 1.5rem 0;
|
|
73
|
+
margin-top: 2rem;
|
|
74
|
+
margin-bottom: 1rem;
|
|
75
|
+
|
|
76
|
+
&__tagline {
|
|
77
|
+
width: 100%;
|
|
78
|
+
color: var(--db-text-color-inactive);
|
|
79
|
+
margin-top: .5rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&__title {
|
|
83
|
+
flex: 1;
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: flex-end;
|
|
86
|
+
font-size: 3rem;
|
|
87
|
+
font-weight: bold;
|
|
88
|
+
flex: 1;
|
|
89
|
+
color: var(--db-text-color-important);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&__right {
|
|
93
|
+
color: var(--db-text-color-inactive);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&__divider {
|
|
97
|
+
border: none;
|
|
98
|
+
border-bottom: 1px solid var(--db-border-color);
|
|
99
|
+
margin-top: 1.5rem;
|
|
100
|
+
margin-bottom: .5rem;
|
|
101
|
+
width: 100%;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&__meta {
|
|
105
|
+
flex: 1;
|
|
106
|
+
color: var(--db-text-color-inactive);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&__indicator {
|
|
110
|
+
color: var(--db-text-color-inactive);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&__breadcrumb {
|
|
114
|
+
width: 100%;
|
|
115
|
+
color: var(--db-text-color-inactive);
|
|
116
|
+
margin-bottom: 1rem;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
a:hover {
|
|
120
|
+
text-decoration: underline;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.c-breadcrumb {
|
|
125
|
+
&__item {
|
|
126
|
+
&::after {
|
|
127
|
+
margin: 0 .5rem;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&:not(:last-child)::after {
|
|
131
|
+
content: "/";
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&:last-child::after {
|
|
135
|
+
@include fontawesome-text;
|
|
136
|
+
content: "\f105";
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
.c-meta {
|
|
143
|
+
|
|
144
|
+
&__item {
|
|
145
|
+
color: var(--db-text-color-inactive);
|
|
146
|
+
|
|
147
|
+
&::before {
|
|
148
|
+
@include fontawesome-text;
|
|
149
|
+
font-size: 0.8rem;
|
|
150
|
+
margin-right: 0.25rem;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&:not(:last-child)::after {
|
|
154
|
+
content: "·";
|
|
155
|
+
margin-right: 0.5rem;
|
|
156
|
+
margin-left: 0.5rem;
|
|
157
|
+
opacity: 66%;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
a:not(:last-child)::after {
|
|
162
|
+
content: " ";
|
|
163
|
+
display: inline-block;
|
|
164
|
+
margin-right: .25rem;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&--time::before {
|
|
168
|
+
content: "\f017";
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&--authors::before {
|
|
172
|
+
content: "\f4ff";
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&--categories::before {
|
|
176
|
+
content: "\f07c";
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&--tags::before {
|
|
180
|
+
content: "\f02c";
|
|
181
|
+
font-weight: 600;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&--source::before {
|
|
185
|
+
content: "\f121";
|
|
186
|
+
font-weight: 600;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&--sticky::before {
|
|
190
|
+
content: "\f08d";
|
|
191
|
+
font-weight: 600;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&--featured::before {
|
|
195
|
+
content: "\f058";
|
|
196
|
+
font-weight: 600;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.c-thumbnail {
|
|
203
|
+
width: 100%;
|
|
204
|
+
text-align: center;
|
|
205
|
+
margin-bottom: 2rem;
|
|
206
|
+
|
|
207
|
+
img {
|
|
208
|
+
max-width: 100%;
|
|
209
|
+
margin: 0 auto;
|
|
210
|
+
}
|
|
211
|
+
}
|
data/_sass/layout/_body.scss
CHANGED
|
@@ -1,26 +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
|
-
}
|
|
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
|
+
}
|
data/_sass/layout/_footer.scss
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--db-footer-vertical-padding: .5rem;
|
|
3
|
-
|
|
4
|
-
@media #{$medium-screen} {
|
|
5
|
-
--db-footer-vertical-padding: .75rem;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@media #{$large-screen} {
|
|
9
|
-
--db-footer-vertical-padding: 1rem;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.l-footer {
|
|
16
|
-
--db-footer-horizontal-padding: calc(var(--db-header-horizontal-padding) * 2);
|
|
17
|
-
|
|
18
|
-
@media #{$medium-screen} {
|
|
19
|
-
--db-footer-horizontal-padding: var(--db-header-horizontal-padding);
|
|
20
|
-
}
|
|
21
|
-
@at-root .l-wrapper.has-sidebar #{&} {
|
|
22
|
-
--db-footer-horizontal-padding: calc(var(--db-header-horizontal-padding) * 2);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
border-top: 1px solid var(--db-border-color);
|
|
26
|
-
display: flex;
|
|
27
|
-
font-size: small;
|
|
28
|
-
flex-direction: row;
|
|
29
|
-
color: var(--db-text-color-inactive);
|
|
30
|
-
flex-wrap: wrap;
|
|
31
|
-
line-height: 2em;
|
|
32
|
-
padding: var(--db-footer-vertical-padding) var(--db-footer-horizontal-padding);
|
|
33
|
-
|
|
34
|
-
&__left {
|
|
35
|
-
text-align: left;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&__middle {
|
|
39
|
-
flex: 1;
|
|
40
|
-
text-align: center;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&__right {
|
|
44
|
-
text-align: right;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&__custom {
|
|
48
|
-
width: 100%;
|
|
49
|
-
margin-bottom: 1rem;
|
|
50
|
-
|
|
51
|
-
&:empty {
|
|
52
|
-
display: none;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&__text {
|
|
57
|
-
width: 100%;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
a {
|
|
62
|
-
@include text-link;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.c-footer-list {
|
|
67
|
-
display: flex;
|
|
68
|
-
|
|
69
|
-
&__item {
|
|
70
|
-
&:not(:first-child)::before {
|
|
71
|
-
content: "•";
|
|
72
|
-
margin: 0 .25rem;
|
|
73
|
-
color: var(--db-text-color-disabled);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--db-footer-vertical-padding: .5rem;
|
|
3
|
+
|
|
4
|
+
@media #{$medium-screen} {
|
|
5
|
+
--db-footer-vertical-padding: .75rem;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@media #{$large-screen} {
|
|
9
|
+
--db-footer-vertical-padding: 1rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
.l-footer {
|
|
16
|
+
--db-footer-horizontal-padding: calc(var(--db-header-horizontal-padding) * 2);
|
|
17
|
+
|
|
18
|
+
@media #{$medium-screen} {
|
|
19
|
+
--db-footer-horizontal-padding: var(--db-header-horizontal-padding);
|
|
20
|
+
}
|
|
21
|
+
@at-root .l-wrapper.has-sidebar #{&} {
|
|
22
|
+
--db-footer-horizontal-padding: calc(var(--db-header-horizontal-padding) * 2);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
border-top: 1px solid var(--db-border-color);
|
|
26
|
+
display: flex;
|
|
27
|
+
font-size: small;
|
|
28
|
+
flex-direction: row;
|
|
29
|
+
color: var(--db-text-color-inactive);
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
line-height: 2em;
|
|
32
|
+
padding: var(--db-footer-vertical-padding) var(--db-footer-horizontal-padding);
|
|
33
|
+
|
|
34
|
+
&__left {
|
|
35
|
+
text-align: left;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__middle {
|
|
39
|
+
flex: 1;
|
|
40
|
+
text-align: center;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__right {
|
|
44
|
+
text-align: right;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__custom {
|
|
48
|
+
width: 100%;
|
|
49
|
+
margin-bottom: 1rem;
|
|
50
|
+
|
|
51
|
+
&:empty {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__text {
|
|
57
|
+
width: 100%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
a {
|
|
62
|
+
@include text-link;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.c-footer-list {
|
|
67
|
+
display: flex;
|
|
68
|
+
|
|
69
|
+
&__item {
|
|
70
|
+
&:not(:first-child)::before {
|
|
71
|
+
content: "•";
|
|
72
|
+
margin: 0 .25rem;
|
|
73
|
+
color: var(--db-text-color-disabled);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
76
|
}
|