minima-rock 0.9.2 → 0.9.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 -22
- data/README.md +3 -3
- data/_data/backgrounds.yml +8 -8
- data/_data/navigation.yml +7 -7
- data/_data/social.yml +21 -21
- data/_includes/categories_archive.html +14 -14
- data/_includes/categories_list.html +12 -12
- data/_includes/disqus_comments.html +20 -20
- data/_includes/footer.html +34 -34
- data/_includes/google-analytics.html +10 -10
- data/_includes/head.html +15 -15
- data/_includes/header.html +23 -23
- data/_includes/image.html +13 -13
- data/_includes/mathjax.html +6 -6
- data/_includes/search.html +16 -16
- data/_includes/share_bar.html +68 -68
- data/_includes/social.html +20 -20
- data/_includes/tags_archive.html +14 -14
- data/_includes/tags_bar.html +10 -10
- data/_includes/tags_cloud.html +13 -13
- data/_includes/toc.html +4 -4
- data/_layouts/default.html +32 -32
- data/_layouts/home.html +39 -35
- data/_layouts/page.html +14 -14
- data/_layouts/post.html +35 -35
- data/_sass/minima/_base.scss +262 -262
- data/_sass/minima/_layout.scss +323 -323
- data/_sass/minima/_share.scss +86 -86
- data/_sass/minima/_syntax-highlighting.scss +89 -89
- data/_sass/minima.scss +57 -57
- data/assets/css/style.scss +5 -5
- data/assets/js/color.js +69 -69
- data/assets/json/search.json +15 -15
- data/assets/minima-social-icons.svg +39 -39
- metadata +2 -2
data/_sass/minima/_base.scss
CHANGED
@@ -1,262 +1,262 @@
|
|
1
|
-
/**
|
2
|
-
* Reset some basic elements
|
3
|
-
*/
|
4
|
-
body, h1, h2, h3, h4, h5, h6,
|
5
|
-
p, blockquote, pre, hr,
|
6
|
-
dl, dd, ol, ul, figure {
|
7
|
-
margin: 0;
|
8
|
-
padding: 0;
|
9
|
-
|
10
|
-
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
/**
|
15
|
-
* Basic styling
|
16
|
-
*/
|
17
|
-
body {
|
18
|
-
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
19
|
-
color: $text-color;
|
20
|
-
background-color: $background-color;
|
21
|
-
-webkit-text-size-adjust: 100%;
|
22
|
-
-webkit-font-feature-settings: "kern" 1;
|
23
|
-
-moz-font-feature-settings: "kern" 1;
|
24
|
-
-o-font-feature-settings: "kern" 1;
|
25
|
-
font-feature-settings: "kern" 1;
|
26
|
-
font-kerning: normal;
|
27
|
-
display: flex;
|
28
|
-
min-height: 100vh;
|
29
|
-
flex-direction: column;
|
30
|
-
}
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Set `margin-bottom` to maintain vertical rhythm
|
36
|
-
*/
|
37
|
-
h1, h2, h3, h4, h5, h6,
|
38
|
-
p, blockquote, pre,
|
39
|
-
ul, ol, dl, figure,
|
40
|
-
%vertical-rhythm {
|
41
|
-
margin-bottom: $spacing-unit / 2;
|
42
|
-
}
|
43
|
-
|
44
|
-
strong {
|
45
|
-
color: white;
|
46
|
-
}
|
47
|
-
|
48
|
-
/**
|
49
|
-
* `main` element
|
50
|
-
*/
|
51
|
-
main {
|
52
|
-
display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
|
53
|
-
}
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
/**
|
58
|
-
* Images
|
59
|
-
*/
|
60
|
-
img {
|
61
|
-
max-width: 100%;
|
62
|
-
vertical-align: middle;
|
63
|
-
}
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
/**
|
68
|
-
* Figures
|
69
|
-
*/
|
70
|
-
figure > img {
|
71
|
-
display: block;
|
72
|
-
}
|
73
|
-
|
74
|
-
figcaption {
|
75
|
-
font-size: $small-font-size;
|
76
|
-
}
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
/**
|
81
|
-
* Lists
|
82
|
-
*/
|
83
|
-
ul, ol {
|
84
|
-
margin-left: $spacing-unit;
|
85
|
-
}
|
86
|
-
|
87
|
-
li {
|
88
|
-
> ul,
|
89
|
-
> ol {
|
90
|
-
margin-bottom: 0;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
/**
|
97
|
-
* Headings
|
98
|
-
*/
|
99
|
-
h1, h2, h3, h4, h5, h6 {
|
100
|
-
color: gold;
|
101
|
-
font-weight: $base-font-weight;
|
102
|
-
}
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
/**
|
107
|
-
* Links
|
108
|
-
*/
|
109
|
-
a {
|
110
|
-
color: $brand-color;
|
111
|
-
text-decoration: none;
|
112
|
-
|
113
|
-
&:visited {
|
114
|
-
color: darken($brand-color, 10%);
|
115
|
-
}
|
116
|
-
|
117
|
-
&:hover {
|
118
|
-
color: $text-color;
|
119
|
-
text-decoration: underline;
|
120
|
-
}
|
121
|
-
|
122
|
-
.social-media-list &:hover {
|
123
|
-
text-decoration: none;
|
124
|
-
|
125
|
-
.username {
|
126
|
-
text-decoration: underline;
|
127
|
-
}
|
128
|
-
}
|
129
|
-
}
|
130
|
-
|
131
|
-
|
132
|
-
/**
|
133
|
-
* Blockquotes
|
134
|
-
*/
|
135
|
-
blockquote {
|
136
|
-
color: $grey-color;
|
137
|
-
border-left: 4px solid $grey-color-light;
|
138
|
-
padding-left: $spacing-unit / 2;
|
139
|
-
@include relative-font-size(1.125);
|
140
|
-
letter-spacing: -1px;
|
141
|
-
font-style: italic;
|
142
|
-
|
143
|
-
> :last-child {
|
144
|
-
margin-bottom: 0;
|
145
|
-
}
|
146
|
-
}
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
/**
|
151
|
-
* Code formatting
|
152
|
-
*/
|
153
|
-
pre,
|
154
|
-
code {
|
155
|
-
font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace;
|
156
|
-
@include relative-font-size(0.9375);
|
157
|
-
background-color: darken($background-color, 6%);
|
158
|
-
}
|
159
|
-
|
160
|
-
code {
|
161
|
-
padding: 1px 5px;
|
162
|
-
color: tomato;
|
163
|
-
}
|
164
|
-
|
165
|
-
pre {
|
166
|
-
border: 2px solid $grey-color-dark;
|
167
|
-
border-radius: 3px;
|
168
|
-
padding: 8px 12px;
|
169
|
-
overflow-x: auto;
|
170
|
-
|
171
|
-
> code {
|
172
|
-
color: $text-color;
|
173
|
-
border: 0;
|
174
|
-
padding-right: 0;
|
175
|
-
padding-left: 0;
|
176
|
-
}
|
177
|
-
}
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
/**
|
182
|
-
* Wrapper
|
183
|
-
*/
|
184
|
-
.wrapper {
|
185
|
-
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
186
|
-
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
187
|
-
margin-right: auto;
|
188
|
-
margin-left: auto;
|
189
|
-
padding-right: $spacing-unit / 2;
|
190
|
-
padding-left: $spacing-unit / 2;
|
191
|
-
@extend %clearfix;
|
192
|
-
|
193
|
-
@media screen and (min-width: $on-large) {
|
194
|
-
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
195
|
-
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
196
|
-
padding-right: $spacing-unit;
|
197
|
-
padding-left: $spacing-unit;
|
198
|
-
}
|
199
|
-
}
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
/**
|
204
|
-
* Clearfix
|
205
|
-
*/
|
206
|
-
%clearfix:after {
|
207
|
-
content: "";
|
208
|
-
display: table;
|
209
|
-
clear: both;
|
210
|
-
}
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
/**
|
215
|
-
* Icons
|
216
|
-
*/
|
217
|
-
|
218
|
-
.orange {
|
219
|
-
color: $orange-color;
|
220
|
-
}
|
221
|
-
|
222
|
-
.grey {
|
223
|
-
color: $grey-color;
|
224
|
-
}
|
225
|
-
|
226
|
-
.svg-icon {
|
227
|
-
width: 16px;
|
228
|
-
height: 16px;
|
229
|
-
display: inline-block;
|
230
|
-
fill: currentColor;
|
231
|
-
padding: 5px 3px 2px 5px;
|
232
|
-
vertical-align: text-bottom;
|
233
|
-
}
|
234
|
-
|
235
|
-
|
236
|
-
/**
|
237
|
-
* Tables
|
238
|
-
*/
|
239
|
-
table {
|
240
|
-
margin-bottom: $spacing-unit;
|
241
|
-
width: 100%;
|
242
|
-
text-align: $table-text-align;
|
243
|
-
color: lighten($text-color, 18%);
|
244
|
-
border-collapse: collapse;
|
245
|
-
border: 1px solid $grey-color-light;
|
246
|
-
tr {
|
247
|
-
&:nth-child(even) {
|
248
|
-
background-color: lighten($background-color, 6%);
|
249
|
-
}
|
250
|
-
}
|
251
|
-
th, td {
|
252
|
-
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
253
|
-
}
|
254
|
-
th {
|
255
|
-
background-color: lighten($background-color, 3%);
|
256
|
-
border: 1px solid darken($grey-color-light, 4%);
|
257
|
-
border-bottom-color: darken($grey-color-light, 12%);
|
258
|
-
}
|
259
|
-
td {
|
260
|
-
border: 1px solid $grey-color-light;
|
261
|
-
}
|
262
|
-
}
|
1
|
+
/**
|
2
|
+
* Reset some basic elements
|
3
|
+
*/
|
4
|
+
body, h1, h2, h3, h4, h5, h6,
|
5
|
+
p, blockquote, pre, hr,
|
6
|
+
dl, dd, ol, ul, figure {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Basic styling
|
16
|
+
*/
|
17
|
+
body {
|
18
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
19
|
+
color: $text-color;
|
20
|
+
background-color: $background-color;
|
21
|
+
-webkit-text-size-adjust: 100%;
|
22
|
+
-webkit-font-feature-settings: "kern" 1;
|
23
|
+
-moz-font-feature-settings: "kern" 1;
|
24
|
+
-o-font-feature-settings: "kern" 1;
|
25
|
+
font-feature-settings: "kern" 1;
|
26
|
+
font-kerning: normal;
|
27
|
+
display: flex;
|
28
|
+
min-height: 100vh;
|
29
|
+
flex-direction: column;
|
30
|
+
}
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
/**
|
35
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
36
|
+
*/
|
37
|
+
h1, h2, h3, h4, h5, h6,
|
38
|
+
p, blockquote, pre,
|
39
|
+
ul, ol, dl, figure,
|
40
|
+
%vertical-rhythm {
|
41
|
+
margin-bottom: $spacing-unit / 2;
|
42
|
+
}
|
43
|
+
|
44
|
+
strong {
|
45
|
+
color: white;
|
46
|
+
}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* `main` element
|
50
|
+
*/
|
51
|
+
main {
|
52
|
+
display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
|
53
|
+
}
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
/**
|
58
|
+
* Images
|
59
|
+
*/
|
60
|
+
img {
|
61
|
+
max-width: 100%;
|
62
|
+
vertical-align: middle;
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
/**
|
68
|
+
* Figures
|
69
|
+
*/
|
70
|
+
figure > img {
|
71
|
+
display: block;
|
72
|
+
}
|
73
|
+
|
74
|
+
figcaption {
|
75
|
+
font-size: $small-font-size;
|
76
|
+
}
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
/**
|
81
|
+
* Lists
|
82
|
+
*/
|
83
|
+
ul, ol {
|
84
|
+
margin-left: $spacing-unit;
|
85
|
+
}
|
86
|
+
|
87
|
+
li {
|
88
|
+
> ul,
|
89
|
+
> ol {
|
90
|
+
margin-bottom: 0;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Headings
|
98
|
+
*/
|
99
|
+
h1, h2, h3, h4, h5, h6 {
|
100
|
+
color: gold;
|
101
|
+
font-weight: $base-font-weight;
|
102
|
+
}
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Links
|
108
|
+
*/
|
109
|
+
a {
|
110
|
+
color: $brand-color;
|
111
|
+
text-decoration: none;
|
112
|
+
|
113
|
+
&:visited {
|
114
|
+
color: darken($brand-color, 10%);
|
115
|
+
}
|
116
|
+
|
117
|
+
&:hover {
|
118
|
+
color: $text-color;
|
119
|
+
text-decoration: underline;
|
120
|
+
}
|
121
|
+
|
122
|
+
.social-media-list &:hover {
|
123
|
+
text-decoration: none;
|
124
|
+
|
125
|
+
.username {
|
126
|
+
text-decoration: underline;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
|
132
|
+
/**
|
133
|
+
* Blockquotes
|
134
|
+
*/
|
135
|
+
blockquote {
|
136
|
+
color: $grey-color;
|
137
|
+
border-left: 4px solid $grey-color-light;
|
138
|
+
padding-left: $spacing-unit / 2;
|
139
|
+
@include relative-font-size(1.125);
|
140
|
+
letter-spacing: -1px;
|
141
|
+
font-style: italic;
|
142
|
+
|
143
|
+
> :last-child {
|
144
|
+
margin-bottom: 0;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
/**
|
151
|
+
* Code formatting
|
152
|
+
*/
|
153
|
+
pre,
|
154
|
+
code {
|
155
|
+
font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace;
|
156
|
+
@include relative-font-size(0.9375);
|
157
|
+
background-color: darken($background-color, 6%);
|
158
|
+
}
|
159
|
+
|
160
|
+
code {
|
161
|
+
padding: 1px 5px;
|
162
|
+
color: tomato;
|
163
|
+
}
|
164
|
+
|
165
|
+
pre {
|
166
|
+
border: 2px solid $grey-color-dark;
|
167
|
+
border-radius: 3px;
|
168
|
+
padding: 8px 12px;
|
169
|
+
overflow-x: auto;
|
170
|
+
|
171
|
+
> code {
|
172
|
+
color: $text-color;
|
173
|
+
border: 0;
|
174
|
+
padding-right: 0;
|
175
|
+
padding-left: 0;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
/**
|
182
|
+
* Wrapper
|
183
|
+
*/
|
184
|
+
.wrapper {
|
185
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
186
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
187
|
+
margin-right: auto;
|
188
|
+
margin-left: auto;
|
189
|
+
padding-right: $spacing-unit / 2;
|
190
|
+
padding-left: $spacing-unit / 2;
|
191
|
+
@extend %clearfix;
|
192
|
+
|
193
|
+
@media screen and (min-width: $on-large) {
|
194
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
195
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
196
|
+
padding-right: $spacing-unit;
|
197
|
+
padding-left: $spacing-unit;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Clearfix
|
205
|
+
*/
|
206
|
+
%clearfix:after {
|
207
|
+
content: "";
|
208
|
+
display: table;
|
209
|
+
clear: both;
|
210
|
+
}
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
/**
|
215
|
+
* Icons
|
216
|
+
*/
|
217
|
+
|
218
|
+
.orange {
|
219
|
+
color: $orange-color;
|
220
|
+
}
|
221
|
+
|
222
|
+
.grey {
|
223
|
+
color: $grey-color;
|
224
|
+
}
|
225
|
+
|
226
|
+
.svg-icon {
|
227
|
+
width: 16px;
|
228
|
+
height: 16px;
|
229
|
+
display: inline-block;
|
230
|
+
fill: currentColor;
|
231
|
+
padding: 5px 3px 2px 5px;
|
232
|
+
vertical-align: text-bottom;
|
233
|
+
}
|
234
|
+
|
235
|
+
|
236
|
+
/**
|
237
|
+
* Tables
|
238
|
+
*/
|
239
|
+
table {
|
240
|
+
margin-bottom: $spacing-unit;
|
241
|
+
width: 100%;
|
242
|
+
text-align: $table-text-align;
|
243
|
+
color: lighten($text-color, 18%);
|
244
|
+
border-collapse: collapse;
|
245
|
+
border: 1px solid $grey-color-light;
|
246
|
+
tr {
|
247
|
+
&:nth-child(even) {
|
248
|
+
background-color: lighten($background-color, 6%);
|
249
|
+
}
|
250
|
+
}
|
251
|
+
th, td {
|
252
|
+
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
253
|
+
}
|
254
|
+
th {
|
255
|
+
background-color: lighten($background-color, 3%);
|
256
|
+
border: 1px solid darken($grey-color-light, 4%);
|
257
|
+
border-bottom-color: darken($grey-color-light, 12%);
|
258
|
+
}
|
259
|
+
td {
|
260
|
+
border: 1px solid $grey-color-light;
|
261
|
+
}
|
262
|
+
}
|