coppermind 0.1.2 → 2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +22 -0
- data/README.md +3 -0
- data/_config.yml +45 -0
- data/_includes/archive-by-tagories.html +71 -0
- data/_includes/archive-by-years.html +32 -0
- data/_includes/back-to-top.html +6 -0
- data/_includes/custom-head.html +6 -0
- data/_includes/disqus.html +17 -0
- data/_includes/footer.html +39 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +13 -0
- data/_includes/header.html +20 -0
- data/_includes/mathjax.html +2 -0
- data/_layouts/archive.html +15 -0
- data/_layouts/default.html +23 -0
- data/_layouts/home.html +44 -0
- data/_layouts/page.html +8 -0
- data/_layouts/post.html +86 -0
- data/_sass/monophase/_base.scss +128 -0
- data/_sass/monophase/_highlight-dark.scss +91 -0
- data/_sass/monophase/_highlight-light.scss +217 -0
- data/_sass/monophase/_layout.scss +359 -0
- data/_sass/monophase/_predefined.scss +59 -0
- data/_sass/monophase/_variables.scss +54 -0
- data/_sass/monophase/main.scss +9 -0
- data/assets/monophase/styles.scss +3 -0
- data/assets/normalize.css +349 -0
- data/assets/open-color.css +343 -0
- metadata +38 -10
@@ -0,0 +1,91 @@
|
|
1
|
+
/**
|
2
|
+
* rougify style gruvbox
|
3
|
+
*/
|
4
|
+
|
5
|
+
.highlight table td { padding: 5px; }
|
6
|
+
.highlight table pre { margin: 0; }
|
7
|
+
.highlight, .highlight .w {
|
8
|
+
color: #fbf1c7;
|
9
|
+
background-color: #282828;
|
10
|
+
}
|
11
|
+
.highlight .err {
|
12
|
+
color: #fb4934;
|
13
|
+
background-color: #282828;
|
14
|
+
font-weight: bold;
|
15
|
+
}
|
16
|
+
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
|
17
|
+
color: #928374;
|
18
|
+
font-style: italic;
|
19
|
+
}
|
20
|
+
.highlight .cp {
|
21
|
+
color: #8ec07c;
|
22
|
+
}
|
23
|
+
.highlight .nt {
|
24
|
+
color: #fb4934;
|
25
|
+
}
|
26
|
+
.highlight .o, .highlight .ow {
|
27
|
+
color: #fbf1c7;
|
28
|
+
}
|
29
|
+
.highlight .p, .highlight .pi {
|
30
|
+
color: #fbf1c7;
|
31
|
+
}
|
32
|
+
.highlight .gi {
|
33
|
+
color: #b8bb26;
|
34
|
+
background-color: #282828;
|
35
|
+
}
|
36
|
+
.highlight .gd {
|
37
|
+
color: #fb4934;
|
38
|
+
background-color: #282828;
|
39
|
+
}
|
40
|
+
.highlight .gh {
|
41
|
+
color: #b8bb26;
|
42
|
+
font-weight: bold;
|
43
|
+
}
|
44
|
+
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
|
45
|
+
color: #fb4934;
|
46
|
+
}
|
47
|
+
.highlight .kc {
|
48
|
+
color: #d3869b;
|
49
|
+
}
|
50
|
+
.highlight .kt {
|
51
|
+
color: #fabd2f;
|
52
|
+
}
|
53
|
+
.highlight .kd {
|
54
|
+
color: #fe8019;
|
55
|
+
}
|
56
|
+
.highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
57
|
+
color: #b8bb26;
|
58
|
+
font-style: italic;
|
59
|
+
}
|
60
|
+
.highlight .si {
|
61
|
+
color: #b8bb26;
|
62
|
+
font-style: italic;
|
63
|
+
}
|
64
|
+
.highlight .sr {
|
65
|
+
color: #b8bb26;
|
66
|
+
font-style: italic;
|
67
|
+
}
|
68
|
+
.highlight .sa {
|
69
|
+
color: #fb4934;
|
70
|
+
}
|
71
|
+
.highlight .se {
|
72
|
+
color: #fe8019;
|
73
|
+
}
|
74
|
+
.highlight .nn {
|
75
|
+
color: #8ec07c;
|
76
|
+
}
|
77
|
+
.highlight .nc {
|
78
|
+
color: #8ec07c;
|
79
|
+
}
|
80
|
+
.highlight .no {
|
81
|
+
color: #d3869b;
|
82
|
+
}
|
83
|
+
.highlight .na {
|
84
|
+
color: #b8bb26;
|
85
|
+
}
|
86
|
+
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
|
87
|
+
color: #d3869b;
|
88
|
+
}
|
89
|
+
.highlight .ss {
|
90
|
+
color: #83a598;
|
91
|
+
}
|
@@ -0,0 +1,217 @@
|
|
1
|
+
/**
|
2
|
+
* rougify style github
|
3
|
+
*/
|
4
|
+
|
5
|
+
.highlight table td { padding: 5px; }
|
6
|
+
.highlight table pre { margin: 0; }
|
7
|
+
.highlight .cm {
|
8
|
+
color: #999988;
|
9
|
+
font-style: italic;
|
10
|
+
}
|
11
|
+
.highlight .cp {
|
12
|
+
color: #999999;
|
13
|
+
font-weight: bold;
|
14
|
+
}
|
15
|
+
.highlight .c1 {
|
16
|
+
color: #999988;
|
17
|
+
font-style: italic;
|
18
|
+
}
|
19
|
+
.highlight .cs {
|
20
|
+
color: #999999;
|
21
|
+
font-weight: bold;
|
22
|
+
font-style: italic;
|
23
|
+
}
|
24
|
+
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
|
25
|
+
color: #999988;
|
26
|
+
font-style: italic;
|
27
|
+
}
|
28
|
+
.highlight .err {
|
29
|
+
color: #a61717;
|
30
|
+
background-color: #e3d2d2;
|
31
|
+
}
|
32
|
+
.highlight .gd {
|
33
|
+
color: #000000;
|
34
|
+
background-color: #ffdddd;
|
35
|
+
}
|
36
|
+
.highlight .ge {
|
37
|
+
color: #000000;
|
38
|
+
font-style: italic;
|
39
|
+
}
|
40
|
+
.highlight .gr {
|
41
|
+
color: #aa0000;
|
42
|
+
}
|
43
|
+
.highlight .gh {
|
44
|
+
color: #999999;
|
45
|
+
}
|
46
|
+
.highlight .gi {
|
47
|
+
color: #000000;
|
48
|
+
background-color: #ddffdd;
|
49
|
+
}
|
50
|
+
.highlight .go {
|
51
|
+
color: #888888;
|
52
|
+
}
|
53
|
+
.highlight .gp {
|
54
|
+
color: #555555;
|
55
|
+
}
|
56
|
+
.highlight .gs {
|
57
|
+
font-weight: bold;
|
58
|
+
}
|
59
|
+
.highlight .gu {
|
60
|
+
color: #aaaaaa;
|
61
|
+
}
|
62
|
+
.highlight .gt {
|
63
|
+
color: #aa0000;
|
64
|
+
}
|
65
|
+
.highlight .kc {
|
66
|
+
color: #000000;
|
67
|
+
font-weight: bold;
|
68
|
+
}
|
69
|
+
.highlight .kd {
|
70
|
+
color: #000000;
|
71
|
+
font-weight: bold;
|
72
|
+
}
|
73
|
+
.highlight .kn {
|
74
|
+
color: #000000;
|
75
|
+
font-weight: bold;
|
76
|
+
}
|
77
|
+
.highlight .kp {
|
78
|
+
color: #000000;
|
79
|
+
font-weight: bold;
|
80
|
+
}
|
81
|
+
.highlight .kr {
|
82
|
+
color: #000000;
|
83
|
+
font-weight: bold;
|
84
|
+
}
|
85
|
+
.highlight .kt {
|
86
|
+
color: #445588;
|
87
|
+
font-weight: bold;
|
88
|
+
}
|
89
|
+
.highlight .k, .highlight .kv {
|
90
|
+
color: #000000;
|
91
|
+
font-weight: bold;
|
92
|
+
}
|
93
|
+
.highlight .mf {
|
94
|
+
color: #009999;
|
95
|
+
}
|
96
|
+
.highlight .mh {
|
97
|
+
color: #009999;
|
98
|
+
}
|
99
|
+
.highlight .il {
|
100
|
+
color: #009999;
|
101
|
+
}
|
102
|
+
.highlight .mi {
|
103
|
+
color: #009999;
|
104
|
+
}
|
105
|
+
.highlight .mo {
|
106
|
+
color: #009999;
|
107
|
+
}
|
108
|
+
.highlight .m, .highlight .mb, .highlight .mx {
|
109
|
+
color: #009999;
|
110
|
+
}
|
111
|
+
.highlight .sa {
|
112
|
+
color: #000000;
|
113
|
+
font-weight: bold;
|
114
|
+
}
|
115
|
+
.highlight .sb {
|
116
|
+
color: #d14;
|
117
|
+
}
|
118
|
+
.highlight .sc {
|
119
|
+
color: #d14;
|
120
|
+
}
|
121
|
+
.highlight .sd {
|
122
|
+
color: #d14;
|
123
|
+
}
|
124
|
+
.highlight .s2 {
|
125
|
+
color: #d14;
|
126
|
+
}
|
127
|
+
.highlight .se {
|
128
|
+
color: #d14;
|
129
|
+
}
|
130
|
+
.highlight .sh {
|
131
|
+
color: #d14;
|
132
|
+
}
|
133
|
+
.highlight .si {
|
134
|
+
color: #d14;
|
135
|
+
}
|
136
|
+
.highlight .sx {
|
137
|
+
color: #d14;
|
138
|
+
}
|
139
|
+
.highlight .sr {
|
140
|
+
color: #009926;
|
141
|
+
}
|
142
|
+
.highlight .s1 {
|
143
|
+
color: #d14;
|
144
|
+
}
|
145
|
+
.highlight .ss {
|
146
|
+
color: #990073;
|
147
|
+
}
|
148
|
+
.highlight .s, .highlight .dl {
|
149
|
+
color: #d14;
|
150
|
+
}
|
151
|
+
.highlight .na {
|
152
|
+
color: #008080;
|
153
|
+
}
|
154
|
+
.highlight .bp {
|
155
|
+
color: #999999;
|
156
|
+
}
|
157
|
+
.highlight .nb {
|
158
|
+
color: #0086B3;
|
159
|
+
}
|
160
|
+
.highlight .nc {
|
161
|
+
color: #445588;
|
162
|
+
font-weight: bold;
|
163
|
+
}
|
164
|
+
.highlight .no {
|
165
|
+
color: #008080;
|
166
|
+
}
|
167
|
+
.highlight .nd {
|
168
|
+
color: #3c5d5d;
|
169
|
+
font-weight: bold;
|
170
|
+
}
|
171
|
+
.highlight .ni {
|
172
|
+
color: #800080;
|
173
|
+
}
|
174
|
+
.highlight .ne {
|
175
|
+
color: #990000;
|
176
|
+
font-weight: bold;
|
177
|
+
}
|
178
|
+
.highlight .nf, .highlight .fm {
|
179
|
+
color: #990000;
|
180
|
+
font-weight: bold;
|
181
|
+
}
|
182
|
+
.highlight .nl {
|
183
|
+
color: #990000;
|
184
|
+
font-weight: bold;
|
185
|
+
}
|
186
|
+
.highlight .nn {
|
187
|
+
color: #555555;
|
188
|
+
}
|
189
|
+
.highlight .nt {
|
190
|
+
color: #000080;
|
191
|
+
}
|
192
|
+
.highlight .vc {
|
193
|
+
color: #008080;
|
194
|
+
}
|
195
|
+
.highlight .vg {
|
196
|
+
color: #008080;
|
197
|
+
}
|
198
|
+
.highlight .vi {
|
199
|
+
color: #008080;
|
200
|
+
}
|
201
|
+
.highlight .nv, .highlight .vm {
|
202
|
+
color: #008080;
|
203
|
+
}
|
204
|
+
.highlight .ow {
|
205
|
+
color: #000000;
|
206
|
+
font-weight: bold;
|
207
|
+
}
|
208
|
+
.highlight .o {
|
209
|
+
color: #000000;
|
210
|
+
font-weight: bold;
|
211
|
+
}
|
212
|
+
.highlight .w {
|
213
|
+
color: #bbbbbb;
|
214
|
+
}
|
215
|
+
.highlight {
|
216
|
+
background-color: #f8f8f8;
|
217
|
+
}
|
@@ -0,0 +1,359 @@
|
|
1
|
+
.container {
|
2
|
+
max-width: $md-screen;
|
3
|
+
padding-left: var(--spacer);
|
4
|
+
padding-right: var(--spacer);
|
5
|
+
margin-left: auto;
|
6
|
+
margin-right: auto;
|
7
|
+
}
|
8
|
+
|
9
|
+
@media screen and (min-width: $md-screen) {
|
10
|
+
.container {
|
11
|
+
padding-left: var(--spacer-2);
|
12
|
+
padding-right: var(--spacer-2);
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
/**
|
17
|
+
* Header
|
18
|
+
*/
|
19
|
+
|
20
|
+
.masthead {
|
21
|
+
padding-top: var(--spacer);
|
22
|
+
padding-bottom: var(--spacer);
|
23
|
+
margin-bottom: var(--spacer-3);
|
24
|
+
}
|
25
|
+
|
26
|
+
.masthead-title {
|
27
|
+
font-size: 1.3em;
|
28
|
+
font-weight: bold;
|
29
|
+
|
30
|
+
a {
|
31
|
+
color: inherit;
|
32
|
+
text-decoration: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
.tagline {
|
36
|
+
padding-left: var(--spacer);
|
37
|
+
opacity: .5;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.nav-list {
|
42
|
+
padding: 0;
|
43
|
+
margin: var(--spacer) 0 0 0;
|
44
|
+
border-top: 1px solid var(--border-color);
|
45
|
+
border-bottom: 1px solid var(--border-color);
|
46
|
+
list-style: none;
|
47
|
+
|
48
|
+
li {
|
49
|
+
display: inline-block;
|
50
|
+
margin: 0 .4em;
|
51
|
+
}
|
52
|
+
|
53
|
+
a {
|
54
|
+
color: inherit;
|
55
|
+
|
56
|
+
&:hover,
|
57
|
+
&:focus {
|
58
|
+
text-decoration: underline;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
a.current {
|
63
|
+
text-decoration: underline;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
/**
|
68
|
+
* Post
|
69
|
+
*/
|
70
|
+
|
71
|
+
.posts {
|
72
|
+
.post {
|
73
|
+
padding: var(--spacer);
|
74
|
+
margin-bottom: var(--spacer);
|
75
|
+
border: 1px solid var(--border-color);
|
76
|
+
border-radius: var(--border-radius);
|
77
|
+
|
78
|
+
.post-excerpt {
|
79
|
+
margin-bottom: 0;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.page,
|
85
|
+
.post {
|
86
|
+
margin-bottom: var(--spacer-2);
|
87
|
+
|
88
|
+
h1, h2, h3, h4, h5, h6 {
|
89
|
+
color: var(--heading-color);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
.page-title,
|
94
|
+
.post-title {
|
95
|
+
margin-top: 0;
|
96
|
+
|
97
|
+
a {
|
98
|
+
color: inherit;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
.post-meta {
|
103
|
+
display: block;
|
104
|
+
margin-top: -.5em;
|
105
|
+
margin-bottom: var(--spacer);
|
106
|
+
opacity: .65;
|
107
|
+
font-size: .85em;
|
108
|
+
}
|
109
|
+
|
110
|
+
.post-categories,
|
111
|
+
.post-tags {
|
112
|
+
display: inline-block;
|
113
|
+
list-style: none;
|
114
|
+
padding: 0;
|
115
|
+
margin: 0;
|
116
|
+
|
117
|
+
li {
|
118
|
+
display: inline-block;
|
119
|
+
|
120
|
+
&:not(:last-child) {
|
121
|
+
margin-right: .4em;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
.post-category {
|
127
|
+
border-bottom: 2px dotted var(--border-color);
|
128
|
+
}
|
129
|
+
|
130
|
+
a.post-category {
|
131
|
+
color: inherit;
|
132
|
+
|
133
|
+
&:hover,
|
134
|
+
&:focus {
|
135
|
+
border-bottom-style: solid;
|
136
|
+
border-color: var(--body-color);
|
137
|
+
text-decoration: none;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
.post-tag {
|
142
|
+
padding: .1em .5em;
|
143
|
+
border: 1px solid var(--border-color);
|
144
|
+
border-radius: var(--border-radius);
|
145
|
+
background-color: rgba(var(--link-color-rgb), .3);
|
146
|
+
}
|
147
|
+
|
148
|
+
a.post-tag {
|
149
|
+
color: inherit;
|
150
|
+
|
151
|
+
&:hover,
|
152
|
+
&:focus {
|
153
|
+
background-color: rgba(var(--link-color-rgb), .6);
|
154
|
+
text-decoration: none;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
// Footnote number within body text
|
159
|
+
a[href^="#fn:"],
|
160
|
+
// Back to footnote link
|
161
|
+
a[href^="#fnref:"] {
|
162
|
+
display: inline-block;
|
163
|
+
margin-left: .1em;
|
164
|
+
font-weight: bold;
|
165
|
+
}
|
166
|
+
// List of footnotes
|
167
|
+
.footnotes {
|
168
|
+
margin-top: var(--spacer-2);
|
169
|
+
font-size: 85%;
|
170
|
+
}
|
171
|
+
|
172
|
+
.related {
|
173
|
+
padding-top: var(--spacer-2);
|
174
|
+
padding-bottom: var(--spacer-2);
|
175
|
+
margin-bottom: var(--spacer-2);
|
176
|
+
border-top: 1px solid var(--border-color);
|
177
|
+
border-bottom: 1px solid var(--border-color);
|
178
|
+
}
|
179
|
+
|
180
|
+
.related-title {
|
181
|
+
margin-top: 0;
|
182
|
+
}
|
183
|
+
|
184
|
+
.related-posts {
|
185
|
+
padding-left: 0;
|
186
|
+
list-style: none;
|
187
|
+
|
188
|
+
small {
|
189
|
+
opacity: .5;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
/**
|
194
|
+
* Code
|
195
|
+
*/
|
196
|
+
|
197
|
+
.highlight {
|
198
|
+
border-radius: var(--border-radius);
|
199
|
+
background-color: var(--code-bg-color);
|
200
|
+
}
|
201
|
+
|
202
|
+
.rouge-table {
|
203
|
+
margin: 0;
|
204
|
+
font-size: 100%;
|
205
|
+
|
206
|
+
&,
|
207
|
+
td,
|
208
|
+
th {
|
209
|
+
border: 0;
|
210
|
+
padding: 0;
|
211
|
+
}
|
212
|
+
|
213
|
+
pre {
|
214
|
+
padding: 0;
|
215
|
+
margin: 0;
|
216
|
+
}
|
217
|
+
|
218
|
+
.gutter {
|
219
|
+
vertical-align: top;
|
220
|
+
user-select: none;
|
221
|
+
opacity: .25;
|
222
|
+
padding-right: var(--spacer);
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
/**
|
227
|
+
* Pagination
|
228
|
+
*/
|
229
|
+
|
230
|
+
.pagination {
|
231
|
+
display: flex;
|
232
|
+
text-align: center;
|
233
|
+
margin-top: var(--spacer-2);
|
234
|
+
}
|
235
|
+
|
236
|
+
.pagination-item {
|
237
|
+
float: left;
|
238
|
+
width: 50%;
|
239
|
+
padding: var(--spacer);
|
240
|
+
border: 1px solid var(--border-color);
|
241
|
+
|
242
|
+
&:first-child {
|
243
|
+
border-right-width: 0;
|
244
|
+
border-top-left-radius: var(--border-radius);
|
245
|
+
border-bottom-left-radius: var(--border-radius);
|
246
|
+
}
|
247
|
+
&:last-child {
|
248
|
+
border-top-right-radius: var(--border-radius);
|
249
|
+
border-bottom-right-radius: var(--border-radius);
|
250
|
+
}
|
251
|
+
}
|
252
|
+
|
253
|
+
a.pagination-item:hover {
|
254
|
+
background-color: var(--border-color);
|
255
|
+
text-decoration: none;
|
256
|
+
}
|
257
|
+
|
258
|
+
/**
|
259
|
+
* Footer
|
260
|
+
*/
|
261
|
+
|
262
|
+
.footer {
|
263
|
+
padding-top: var(--spacer);
|
264
|
+
padding-bottom: var(--spacer);
|
265
|
+
margin-top: var(--spacer-3);
|
266
|
+
|
267
|
+
p {
|
268
|
+
margin: 0;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
|
272
|
+
.social-icons {
|
273
|
+
list-style: none;
|
274
|
+
padding: 0;
|
275
|
+
margin: var(--spacer) 0;
|
276
|
+
height: calc(var(--body-line-height) * var(--body-font-size));
|
277
|
+
}
|
278
|
+
.social-icon-item {
|
279
|
+
float: left;
|
280
|
+
margin-right: var(--spacer);
|
281
|
+
}
|
282
|
+
|
283
|
+
@media screen and (min-width: $md-screen) {
|
284
|
+
.footer {
|
285
|
+
display: flex;
|
286
|
+
}
|
287
|
+
.footer-column {
|
288
|
+
width: 100%;
|
289
|
+
}
|
290
|
+
.social-icons {
|
291
|
+
margin: 0;
|
292
|
+
}
|
293
|
+
}
|
294
|
+
|
295
|
+
/**
|
296
|
+
* Archive
|
297
|
+
*/
|
298
|
+
|
299
|
+
.taxonomies-wrapper {
|
300
|
+
margin-bottom: var(--spacer-2);
|
301
|
+
}
|
302
|
+
|
303
|
+
.taxonomies {
|
304
|
+
list-style: none;
|
305
|
+
display: grid;
|
306
|
+
grid-column-gap: 2em;
|
307
|
+
grid-template-columns: repeat(2, 1fr);
|
308
|
+
margin: 0;
|
309
|
+
padding: 0;
|
310
|
+
font-weight: bold;
|
311
|
+
|
312
|
+
.taxonomy {
|
313
|
+
display: flex;
|
314
|
+
padding: 0.25em 0;
|
315
|
+
justify-content: space-between;
|
316
|
+
text-decoration: none;
|
317
|
+
border-bottom: 1px solid;
|
318
|
+
margin-bottom: var(--spacer);
|
319
|
+
}
|
320
|
+
}
|
321
|
+
|
322
|
+
.post-list-by-taxonomy {
|
323
|
+
time {
|
324
|
+
font-family: monospace;
|
325
|
+
}
|
326
|
+
}
|
327
|
+
|
328
|
+
.back-to-top {
|
329
|
+
display: block;
|
330
|
+
font-size: 0.8em;
|
331
|
+
text-transform: uppercase;
|
332
|
+
text-align: right;
|
333
|
+
text-decoration: none;
|
334
|
+
}
|
335
|
+
|
336
|
+
@media (min-width: $sm-screen) {
|
337
|
+
.taxonomies {
|
338
|
+
grid-template-columns: repeat(3, 1fr);
|
339
|
+
}
|
340
|
+
}
|
341
|
+
|
342
|
+
/**
|
343
|
+
* Markdown TOC
|
344
|
+
*/
|
345
|
+
|
346
|
+
#markdown-toc {
|
347
|
+
padding: var(--spacer-2) var(--spacer-3);
|
348
|
+
margin: var(--spacer-2) 0;
|
349
|
+
border: solid var(--border-color);
|
350
|
+
border-width: 1px 0;
|
351
|
+
|
352
|
+
&::before {
|
353
|
+
display: block;
|
354
|
+
margin-left: calc(var(--spacer-3) * -1);
|
355
|
+
content: "Contents";
|
356
|
+
font-size: 85%;
|
357
|
+
font-weight: 500;
|
358
|
+
}
|
359
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
// Some predefined classes
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Message -- Show different levels of alert messages to users.
|
5
|
+
*/
|
6
|
+
|
7
|
+
.message-info,
|
8
|
+
.message-warning,
|
9
|
+
.message-danger {
|
10
|
+
padding: var(--spacer);
|
11
|
+
border-radius: var(--border-radius);
|
12
|
+
color: var(--body-bg-color);
|
13
|
+
}
|
14
|
+
|
15
|
+
.message-info {
|
16
|
+
background-color: var(--info-color);
|
17
|
+
}
|
18
|
+
|
19
|
+
.message-warning {
|
20
|
+
background-color: var(--warning-color);
|
21
|
+
}
|
22
|
+
|
23
|
+
.message-danger {
|
24
|
+
background-color: var(--danger-color);
|
25
|
+
}
|
26
|
+
|
27
|
+
/**
|
28
|
+
* Alignment
|
29
|
+
*/
|
30
|
+
|
31
|
+
.align-right {
|
32
|
+
margin-bottom: 1rem;
|
33
|
+
margin-left: 1rem;
|
34
|
+
float: right;
|
35
|
+
}
|
36
|
+
|
37
|
+
.align-left {
|
38
|
+
margin-right: 1rem;
|
39
|
+
margin-bottom: 1rem;
|
40
|
+
float: left;
|
41
|
+
}
|
42
|
+
|
43
|
+
.align-center {
|
44
|
+
display: block;
|
45
|
+
margin-right: auto;
|
46
|
+
margin-left: auto;
|
47
|
+
}
|
48
|
+
|
49
|
+
figcaption.align-right {
|
50
|
+
text-align: right;
|
51
|
+
}
|
52
|
+
|
53
|
+
figcaption.align-left {
|
54
|
+
text-align: left;
|
55
|
+
}
|
56
|
+
|
57
|
+
figcaption.align-center {
|
58
|
+
text-align: center;
|
59
|
+
}
|