sencilla 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -4
- data/_includes/footer.html +15 -13
- data/_includes/header.html +5 -9
- data/_includes/image.html +4 -0
- data/_includes/social.html +6 -6
- data/_layouts/default.html +2 -1
- data/_layouts/home.html +22 -8
- data/_layouts/latex-default.html +1 -1
- data/_layouts/latex-page.html +11 -0
- data/_layouts/latex-post.html +37 -34
- data/_layouts/post.html +17 -19
- data/_sass/sencilla.scss +123 -48
- data/_sass/sencilla/_base.scss +200 -28
- data/_sass/sencilla/_layout.scss +339 -194
- data/_sass/sencilla/_syntax-highlighting.scss +3 -2
- data/assets/img/posts/ufw.png +0 -0
- data/assets/img/profile-picture.jpg +0 -0
- data/assets/img/site-logo +0 -0
- metadata +11 -49
- data/assets/fonts/merriweather-sans/MerriweatherSans-Italic-VariableFont_wght.ttf +0 -0
- data/assets/fonts/merriweather-sans/MerriweatherSans-VariableFont_wght.ttf +0 -0
- data/assets/fonts/merriweather-sans/Merriweather_Sans.zip +0 -0
- data/assets/fonts/merriweather-sans/OFL.txt +0 -96
- data/assets/fonts/merriweather-sans/README.txt +0 -75
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-Bold.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-BoldItalic.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-ExtraBold.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-ExtraBoldItalic.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-Italic.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-Light.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-LightItalic.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-Medium.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-MediumItalic.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-Regular.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-SemiBold.ttf +0 -0
- data/assets/fonts/merriweather-sans/static/MerriweatherSans-SemiBoldItalic.ttf +0 -0
- data/assets/fonts/merriweather/Merriweather-Black.ttf +0 -0
- data/assets/fonts/merriweather/Merriweather-BlackItalic.ttf +0 -0
- data/assets/fonts/merriweather/Merriweather-Bold.ttf +0 -0
- data/assets/fonts/merriweather/Merriweather-BoldItalic.ttf +0 -0
- data/assets/fonts/merriweather/Merriweather-Italic.ttf +0 -0
- data/assets/fonts/merriweather/Merriweather-Light.ttf +0 -0
- data/assets/fonts/merriweather/Merriweather-LightItalic.ttf +0 -0
- data/assets/fonts/merriweather/Merriweather-Regular.ttf +0 -0
- data/assets/fonts/merriweather/OFL.txt +0 -93
- data/assets/img/profile-picture +0 -0
- data/assets/img/profile-picture.png +0 -0
data/_sass/sencilla/_base.scss
CHANGED
@@ -15,8 +15,8 @@ dl, dd, ol, ul, figure {
|
|
15
15
|
*/
|
16
16
|
body {
|
17
17
|
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
18
|
-
color: $text
|
19
|
-
background-color: $
|
18
|
+
color: $text;
|
19
|
+
background-color: $bg;
|
20
20
|
-webkit-text-size-adjust: 100%;
|
21
21
|
-webkit-font-feature-settings: "kern" 1;
|
22
22
|
-moz-font-feature-settings: "kern" 1;
|
@@ -55,8 +55,22 @@ main {
|
|
55
55
|
* Images
|
56
56
|
*/
|
57
57
|
img {
|
58
|
-
|
59
|
-
|
58
|
+
display: block;
|
59
|
+
max-width: 80%;
|
60
|
+
height: auto;
|
61
|
+
margin-left: auto;
|
62
|
+
margin-right: auto;
|
63
|
+
margin-top: $spacing-unit;
|
64
|
+
margin-bottom: $spacing-unit;
|
65
|
+
border-radius: 8px;
|
66
|
+
box-shadow: $shadow-body;
|
67
|
+
background-color: $bg;
|
68
|
+
|
69
|
+
opacity: 0.6;
|
70
|
+
&:hover {
|
71
|
+
opacity: 1;
|
72
|
+
}
|
73
|
+
|
60
74
|
}
|
61
75
|
|
62
76
|
|
@@ -65,9 +79,16 @@ img {
|
|
65
79
|
* Videos
|
66
80
|
*/
|
67
81
|
iframe {
|
82
|
+
display: block;
|
68
83
|
max-width: 100%;
|
69
|
-
|
70
|
-
margin: $spacing-unit;
|
84
|
+
margin-top: $spacing-unit;
|
85
|
+
margin-bottom: $spacing-unit;
|
86
|
+
margin-left: auto;
|
87
|
+
margin-right: auto;
|
88
|
+
|
89
|
+
border: 0px;
|
90
|
+
border-radius: 8px;
|
91
|
+
box-shadow: $shadow-body;
|
71
92
|
}
|
72
93
|
|
73
94
|
|
@@ -76,11 +97,13 @@ iframe {
|
|
76
97
|
* Figures
|
77
98
|
*/
|
78
99
|
figure > img {
|
79
|
-
display: block;
|
80
100
|
}
|
81
101
|
|
82
102
|
figcaption {
|
83
|
-
|
103
|
+
@include relative-font-size(0.7);
|
104
|
+
margin-top: - $spacing-unit * 0.8;
|
105
|
+
text-align: center;
|
106
|
+
color: $text-muted;
|
84
107
|
}
|
85
108
|
|
86
109
|
|
@@ -106,7 +129,7 @@ li {
|
|
106
129
|
*/
|
107
130
|
h1, h2, h3, h4, h5, h6 {
|
108
131
|
font-weight: $base-font-weight;
|
109
|
-
color: $text-
|
132
|
+
color: $text-light
|
110
133
|
}
|
111
134
|
|
112
135
|
hr {
|
@@ -114,8 +137,8 @@ hr {
|
|
114
137
|
margin-bottom: $spacing-unit / 2;
|
115
138
|
height: 2px;
|
116
139
|
border-width: 0px;
|
117
|
-
color: $stroke
|
118
|
-
background-color: $stroke
|
140
|
+
color: $stroke;
|
141
|
+
background-color: $stroke;
|
119
142
|
}
|
120
143
|
|
121
144
|
|
@@ -124,16 +147,16 @@ hr {
|
|
124
147
|
* Links
|
125
148
|
*/
|
126
149
|
a {
|
127
|
-
color: $
|
150
|
+
color: $link;
|
128
151
|
text-decoration: none;
|
129
152
|
|
130
153
|
&:visited {
|
131
|
-
color: $
|
154
|
+
color: $link-muted;
|
132
155
|
text-decoration: none;
|
133
156
|
}
|
134
157
|
|
135
158
|
&:hover {
|
136
|
-
color: $
|
159
|
+
color: $link-hover;
|
137
160
|
text-decoration: underline;
|
138
161
|
}
|
139
162
|
}
|
@@ -144,9 +167,9 @@ a {
|
|
144
167
|
* Blockquotes
|
145
168
|
*/
|
146
169
|
blockquote {
|
147
|
-
color: $text-
|
170
|
+
color: $text-dark;
|
148
171
|
margin-left: $spacing-unit / 2;
|
149
|
-
border-left: 6px solid $stroke
|
172
|
+
border-left: 6px solid $stroke;
|
150
173
|
padding: $spacing-unit / 2;
|
151
174
|
@include relative-font-size(1.25);
|
152
175
|
font-style: italic;
|
@@ -164,6 +187,7 @@ blockquote {
|
|
164
187
|
pre,
|
165
188
|
code {
|
166
189
|
@include relative-font-size(0.9375);
|
190
|
+
background-color: $box-fill;
|
167
191
|
}
|
168
192
|
|
169
193
|
code {
|
@@ -173,6 +197,8 @@ code {
|
|
173
197
|
pre {
|
174
198
|
padding: 8px 12px;
|
175
199
|
overflow-x: auto;
|
200
|
+
box-shadow: $shadow-body;
|
201
|
+
border-radius: 8px;
|
176
202
|
|
177
203
|
> code {
|
178
204
|
border: 0;
|
@@ -187,7 +213,7 @@ pre {
|
|
187
213
|
* Wrapper
|
188
214
|
*/
|
189
215
|
.wrapper {
|
190
|
-
|
216
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
191
217
|
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
192
218
|
margin-right: auto;
|
193
219
|
margin-left: auto;
|
@@ -195,7 +221,7 @@ pre {
|
|
195
221
|
padding-left: $spacing-unit;
|
196
222
|
@extend %clearfix;
|
197
223
|
|
198
|
-
@include media-query($on-
|
224
|
+
@include media-query($on-palm) {
|
199
225
|
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
200
226
|
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
201
227
|
padding-right: $spacing-unit / 2;
|
@@ -203,6 +229,23 @@ pre {
|
|
203
229
|
}
|
204
230
|
}
|
205
231
|
|
232
|
+
.wrapper-wide {
|
233
|
+
max-width: -webkit-calc(#{$nav-width} - (#{$spacing-unit} * 2));
|
234
|
+
max-width: calc(#{$nav-width} - (#{$spacing-unit} * 2));
|
235
|
+
margin-right: auto;
|
236
|
+
margin-left: auto;
|
237
|
+
padding-right: $spacing-unit * 2;
|
238
|
+
padding-left: $spacing-unit * 2;
|
239
|
+
@extend %clearfix;
|
240
|
+
|
241
|
+
@include media-query($on-palm) {
|
242
|
+
max-width: -webkit-calc(#{$nav-width} - (#{$spacing-unit}));
|
243
|
+
max-width: calc(#{$nav-width} - (#{$spacing-unit}));
|
244
|
+
padding-right: $spacing-unit / 2;
|
245
|
+
padding-left: $spacing-unit / 2;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
206
249
|
.nav-wrapper {
|
207
250
|
max-width: -webkit-calc(#{$nav-width} - (#{$spacing-unit} * 2));
|
208
251
|
max-width: calc(#{$nav-width} - (#{$spacing-unit} * 2));
|
@@ -212,7 +255,7 @@ pre {
|
|
212
255
|
padding-left: $spacing-unit;
|
213
256
|
@extend %clearfix;
|
214
257
|
|
215
|
-
@include media-query($on-
|
258
|
+
@include media-query($on-palm) {
|
216
259
|
max-width: -webkit-calc(#{$nav-width} - (#{$spacing-unit}));
|
217
260
|
max-width: calc(#{$nav-width} - (#{$spacing-unit}));
|
218
261
|
padding-right: $spacing-unit / 2;
|
@@ -241,7 +284,7 @@ pre {
|
|
241
284
|
width: 16px;
|
242
285
|
height: 16px;
|
243
286
|
display: inline-block;
|
244
|
-
fill: #{$box-fill
|
287
|
+
fill: #{$box-fill};
|
245
288
|
padding-right: 5px;
|
246
289
|
vertical-align: text-top;
|
247
290
|
}
|
@@ -262,26 +305,155 @@ table {
|
|
262
305
|
margin-bottom: $spacing-unit;
|
263
306
|
width: 100%;
|
264
307
|
text-align: $table-text-align;
|
265
|
-
color: $text
|
308
|
+
color: $text;
|
266
309
|
border-collapse: collapse;
|
267
|
-
|
310
|
+
box-shadow: $shadow-body;
|
311
|
+
overflow-x: auto;
|
312
|
+
|
313
|
+
-moz-border-radius: 8px;
|
314
|
+
-webkit-border-radius: 8px;
|
315
|
+
border-radius: 8px;
|
268
316
|
|
269
317
|
tr {
|
270
|
-
&:
|
271
|
-
|
318
|
+
&:last-child {
|
319
|
+
border-bottom: 0px solid $stroke;
|
272
320
|
}
|
273
321
|
}
|
274
322
|
|
275
323
|
th, td {
|
276
324
|
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
325
|
+
border-collapse: collapse;
|
326
|
+
border-right: 1px solid $stroke;
|
327
|
+
&:last-child {
|
328
|
+
border-right: 0px solid $stroke;
|
329
|
+
}
|
277
330
|
}
|
278
331
|
|
279
332
|
th {
|
280
|
-
background-color: $box-fill
|
281
|
-
|
333
|
+
background-color: $box-fill;
|
334
|
+
&:first-child {
|
335
|
+
border-radius: 8px 0px 0px 0px;
|
336
|
+
}
|
337
|
+
&:nth-child(even) {
|
338
|
+
border-radius: 0px 0px 0px 0px;
|
339
|
+
}
|
340
|
+
&:nth-child(odd) {
|
341
|
+
border-radius: 8px 0px 0px 0px;
|
342
|
+
}
|
343
|
+
&:last-child {
|
344
|
+
border-radius: 0px 8px 0px 0px;
|
345
|
+
}
|
282
346
|
}
|
283
347
|
|
284
|
-
|
285
|
-
|
348
|
+
tr {
|
349
|
+
&:not(:last-child){
|
350
|
+
border-bottom:1px solid $stroke;
|
286
351
|
}
|
352
|
+
}
|
353
|
+
}
|
354
|
+
|
355
|
+
/*
|
356
|
+
*
|
357
|
+
* Responsive homepage
|
358
|
+
*
|
359
|
+
*/
|
360
|
+
|
361
|
+
* {
|
362
|
+
box-sizing: border-box;
|
363
|
+
}
|
364
|
+
|
365
|
+
.row::after {
|
366
|
+
content: "";
|
367
|
+
clear: both;
|
368
|
+
display: table;
|
287
369
|
}
|
370
|
+
|
371
|
+
[class*="col-"] {
|
372
|
+
float: left;
|
373
|
+
padding: 15px;
|
374
|
+
}
|
375
|
+
|
376
|
+
|
377
|
+
.menu ul {
|
378
|
+
list-style-type: none;
|
379
|
+
margin: 0;
|
380
|
+
padding: 0;
|
381
|
+
}
|
382
|
+
|
383
|
+
.menu li {
|
384
|
+
padding: 8px;
|
385
|
+
margin-bottom: 7px;
|
386
|
+
background-color: #33b5e5;
|
387
|
+
color: #ffffff;
|
388
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
389
|
+
}
|
390
|
+
|
391
|
+
.menu li:hover {
|
392
|
+
background-color: #0099cc;
|
393
|
+
}
|
394
|
+
|
395
|
+
.aside {
|
396
|
+
background-color: #33b5e5;
|
397
|
+
padding: 15px;
|
398
|
+
color: #ffffff;
|
399
|
+
text-align: center;
|
400
|
+
font-size: 14px;
|
401
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
402
|
+
}
|
403
|
+
|
404
|
+
|
405
|
+
/* For mobile phones: */
|
406
|
+
/*[class*="col-"] {
|
407
|
+
width: 100%;
|
408
|
+
}
|
409
|
+
*/
|
410
|
+
|
411
|
+
@media only screen and (max-width: 600px) {
|
412
|
+
/* For tablets: */
|
413
|
+
.col-s-1 {width: 8.33%;}
|
414
|
+
.col-s-2 {width: 16.66%;}
|
415
|
+
.col-s-3 {width: 25%;}
|
416
|
+
.col-s-4 {width: 33.33%;}
|
417
|
+
.col-s-5 {width: 41.66%;}
|
418
|
+
.col-s-6 {width: 50%;}
|
419
|
+
.col-s-7 {width: 58.33%;}
|
420
|
+
.col-s-8 {width: 66.66%;}
|
421
|
+
.col-s-9 {width: 75%;}
|
422
|
+
.col-s-10 {width: 83.33%;}
|
423
|
+
.col-s-11 {width: 91.66%;}
|
424
|
+
.col-s-12 {width: 100%;}
|
425
|
+
}
|
426
|
+
|
427
|
+
@media only screen and (min-width: 600px) and (max-width: 767px){
|
428
|
+
/* For tablets: */
|
429
|
+
.col-m-1 {width: 8.33%;}
|
430
|
+
.col-m-2 {width: 16.66%;}
|
431
|
+
.col-m-3 {width: 25%;}
|
432
|
+
.col-m-4 {width: 33.33%;}
|
433
|
+
.col-m-5 {width: 41.66%;}
|
434
|
+
.col-m-6 {width: 50%;}
|
435
|
+
.col-m-7 {width: 58.33%;}
|
436
|
+
.col-m-8 {width: 66.66%;}
|
437
|
+
.col-m-9 {width: 75%;}
|
438
|
+
.col-m-10 {width: 83.33%;}
|
439
|
+
.col-m-11 {width: 91.66%;}
|
440
|
+
.col-m-12 {width: 100%;}
|
441
|
+
}
|
442
|
+
|
443
|
+
@media only screen and (min-width: 768px) {
|
444
|
+
/* For desktop: */
|
445
|
+
.col-1 {width: 8.33%;}
|
446
|
+
.col-2 {width: 16.66%;}
|
447
|
+
.col-3 {width: 25%;}
|
448
|
+
.col-4 {width: 33.33%;}
|
449
|
+
.col-5 {width: 41.66%;}
|
450
|
+
.col-6 {width: 50%;}
|
451
|
+
.col-7 {width: 58.33%;}
|
452
|
+
.col-8 {width: 66.66%;}
|
453
|
+
.col-9 {width: 75%;}
|
454
|
+
.col-10 {width: 83.33%;}
|
455
|
+
.col-11 {width: 91.66%;}
|
456
|
+
.col-12 {width: 100%;}
|
457
|
+
}
|
458
|
+
|
459
|
+
|
data/_sass/sencilla/_layout.scss
CHANGED
@@ -1,14 +1,31 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
/* -------------------- header ----------------------- */
|
2
|
+
|
3
|
+
/*
|
4
|
+
* sticky header
|
5
|
+
*/
|
6
|
+
|
7
|
+
.sticky {
|
8
|
+
position: -webkit-sticky;
|
9
|
+
position: sticky;
|
10
|
+
top: 0;
|
11
|
+
z-index: 1;
|
12
|
+
}
|
7
13
|
|
8
|
-
|
14
|
+
/*
|
15
|
+
* header main
|
16
|
+
*/
|
17
|
+
|
18
|
+
.site-header {
|
9
19
|
position: relative;
|
20
|
+
background-color: $nav-bg;
|
21
|
+
min-height: $spacing-unit * 1.865;
|
22
|
+
box-shadow: $shadow;
|
10
23
|
}
|
11
24
|
|
25
|
+
/*
|
26
|
+
* site title and logo
|
27
|
+
*/
|
28
|
+
|
12
29
|
.site-title {
|
13
30
|
@include relative-font-size(1.625);
|
14
31
|
font-weight: 300;
|
@@ -16,20 +33,29 @@
|
|
16
33
|
margin-bottom: 0;
|
17
34
|
float: left;
|
18
35
|
text-decoration: none;
|
19
|
-
color: $text
|
36
|
+
color: $nav-text;
|
20
37
|
|
21
38
|
&,
|
22
39
|
&:visited {
|
23
|
-
color: $text
|
40
|
+
color: $nav-text;
|
24
41
|
}
|
25
42
|
}
|
43
|
+
|
26
44
|
.site-logo {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
45
|
+
display: inline-block;
|
46
|
+
max-height: 50px;
|
47
|
+
width: auto;
|
48
|
+
opacity: 1;
|
49
|
+
box-shadow: none;
|
50
|
+
margin-top: 5px;
|
51
|
+
margin-bottom: 0px;
|
52
|
+
border-radius: 8px;
|
31
53
|
}
|
32
54
|
|
55
|
+
/*
|
56
|
+
* navigation page links
|
57
|
+
*/
|
58
|
+
|
33
59
|
.site-nav {
|
34
60
|
float: right;
|
35
61
|
line-height: $base-line-height * $base-font-size * 2.25;
|
@@ -41,28 +67,9 @@
|
|
41
67
|
display: none;
|
42
68
|
}
|
43
69
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
color: $text-color-light;
|
48
|
-
text-align: center;
|
49
|
-
&:visited {
|
50
|
-
color: $text-color-light;
|
51
|
-
}
|
52
|
-
&:hover {
|
53
|
-
color: $text-color-light;
|
54
|
-
background-color: $grey85;
|
55
|
-
text-decoration: underline;
|
56
|
-
}
|
57
|
-
}
|
58
|
-
.nav-item-link {
|
59
|
-
text-decoration: none;
|
60
|
-
color: $text-color-light;
|
61
|
-
&:visited {
|
62
|
-
color: $text-color-light;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
70
|
+
/*
|
71
|
+
* links on the nav panel
|
72
|
+
*/
|
66
73
|
|
67
74
|
.nav-items {
|
68
75
|
position: relative;
|
@@ -70,39 +77,69 @@
|
|
70
77
|
line-height: $base-line-height;
|
71
78
|
padding-top: 18px;
|
72
79
|
padding-bottom: 18px;
|
73
|
-
|
74
|
-
padding-right: 15px ;
|
80
|
+
|
75
81
|
&:hover {
|
76
|
-
color: $text
|
77
|
-
background-color: $
|
82
|
+
color: $nav-text;
|
83
|
+
background-color: $nav-hl;
|
78
84
|
text-decoration: underline;
|
79
85
|
}
|
86
|
+
a{
|
87
|
+
padding: 18px;
|
88
|
+
text-decoration: none;
|
89
|
+
color: $nav-text;
|
90
|
+
&:visited {
|
91
|
+
color: $nav-text;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
80
95
|
}
|
81
96
|
|
97
|
+
/*
|
98
|
+
* main dropdown container
|
99
|
+
*/
|
100
|
+
|
82
101
|
.dropdown-content {
|
83
102
|
display: none;
|
84
103
|
position: absolute;
|
85
|
-
|
104
|
+
right:0;
|
86
105
|
top: 100%;
|
87
|
-
padding: 0px;
|
88
106
|
line-height: $base-line-height;
|
89
|
-
background-color: $
|
107
|
+
background-color: $nav-hl-dark;
|
90
108
|
min-width: 100%;
|
91
|
-
|
92
|
-
/** box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);**/
|
109
|
+
box-shadow: $shadow;
|
93
110
|
z-index: 1;
|
111
|
+
|
112
|
+
a {
|
113
|
+
display: block;
|
114
|
+
text-decoration: none;
|
115
|
+
padding: 10px;
|
116
|
+
color: $nav-text;
|
117
|
+
text-align: center;
|
118
|
+
&:visited {
|
119
|
+
color: $nav-text;
|
94
120
|
}
|
121
|
+
&:hover {
|
122
|
+
color: $nav-text;
|
123
|
+
background-color: $nav-hl-light;
|
124
|
+
text-decoration: underline;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
95
128
|
|
96
129
|
.nav-items:hover .dropdown-content {
|
97
130
|
display: block;
|
98
131
|
}
|
99
132
|
|
133
|
+
/*
|
134
|
+
* navigation panel on small devices
|
135
|
+
*/
|
136
|
+
|
100
137
|
@include media-query($on-palm) {
|
101
138
|
position: absolute;
|
102
139
|
top: 9px;
|
103
140
|
right: $spacing-unit / 2;
|
104
|
-
background-color: $
|
105
|
-
border: 1px solid $stroke
|
141
|
+
background-color: $nav-bg;
|
142
|
+
border: 1px solid $stroke;
|
106
143
|
border-radius: 5px;
|
107
144
|
text-align: right;
|
108
145
|
|
@@ -125,7 +162,7 @@
|
|
125
162
|
text-align: center;
|
126
163
|
|
127
164
|
> svg {
|
128
|
-
fill: $text-
|
165
|
+
fill: $text-light;
|
129
166
|
}
|
130
167
|
}
|
131
168
|
|
@@ -136,30 +173,12 @@
|
|
136
173
|
|
137
174
|
input:checked ~ .trigger {
|
138
175
|
display: block;
|
139
|
-
padding-bottom: 5px;
|
140
176
|
}
|
141
177
|
|
142
|
-
|
143
|
-
display: block;
|
144
|
-
text-decoration: none;
|
145
|
-
color: $text-color-light;
|
146
|
-
text-align: center;
|
147
|
-
&:visited {
|
148
|
-
color: $text-color-light;
|
149
|
-
}
|
150
|
-
}
|
151
|
-
.nav-item-link {
|
152
|
-
text-decoration: none;
|
153
|
-
color: $text-color-light;
|
154
|
-
&:visited {
|
155
|
-
color: $text-color-light;
|
156
|
-
}
|
157
|
-
}
|
158
|
-
|
159
|
-
.nav-items {
|
178
|
+
.nav-items {
|
160
179
|
position: relative;
|
161
180
|
display: block;
|
162
|
-
padding:
|
181
|
+
padding: 10px;
|
163
182
|
&:not(:last-child) {
|
164
183
|
margin-right: 0;
|
165
184
|
}
|
@@ -168,12 +187,10 @@
|
|
168
187
|
.dropdown-content {
|
169
188
|
display: none;
|
170
189
|
position: left;
|
171
|
-
background-color: $box-fill
|
172
|
-
/** box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);**/
|
190
|
+
background-color: $box-fill;
|
173
191
|
min-width: 100%;
|
174
|
-
padding: 5px 10px;
|
175
192
|
z-index: 1;
|
176
|
-
|
193
|
+
right: 100%;
|
177
194
|
top: 0;
|
178
195
|
}
|
179
196
|
|
@@ -183,101 +200,15 @@
|
|
183
200
|
}
|
184
201
|
}
|
185
202
|
|
203
|
+
/* ---------- generic pages and posts ----------- */
|
186
204
|
|
187
|
-
|
188
|
-
|
189
|
-
*/
|
190
|
-
.site-footer {
|
191
|
-
background-color: $nav-background-color;
|
192
|
-
/*
|
193
|
-
border-top: 1px solid $stroke-color;
|
205
|
+
/*
|
206
|
+
* page
|
194
207
|
*/
|
195
|
-
padding-top: $spacing-unit / 2;
|
196
|
-
padding-bottom: 0;
|
197
|
-
}
|
198
|
-
|
199
|
-
/*.footer-heading {
|
200
|
-
@include relative-font-size(1.125);
|
201
|
-
margin-bottom: $spacing-unit / 2;
|
202
|
-
}*/
|
203
|
-
|
204
|
-
.contact-list,
|
205
|
-
.social-media-list {
|
206
|
-
list-style: none;
|
207
|
-
margin-left: 0;
|
208
|
-
}
|
209
|
-
|
210
|
-
.footer-col-wrapper {
|
211
|
-
@include relative-font-size(0.9375);
|
212
|
-
color: $text-color-dark;
|
213
|
-
margin-left: -$spacing-unit / 2;
|
214
|
-
@extend %clearfix;
|
215
|
-
}
|
216
|
-
|
217
|
-
.footer-col {
|
218
|
-
float: left;
|
219
|
-
/* margin-bottom: $spacing-unit / 2;*/
|
220
|
-
padding-left: $spacing-unit / 2;
|
221
|
-
}
|
222
|
-
|
223
|
-
.footer-col-1 {
|
224
|
-
/*
|
225
|
-
width: -webkit-calc(30% - (#{$spacing-unit} / 2));
|
226
|
-
width: calc(30% - (#{$spacing-unit} / 2));
|
227
|
-
*/
|
228
|
-
text-align: left;
|
229
|
-
width: -webkit-calc(33% - (#{$spacing-unit} / 2));
|
230
|
-
width: calc(33% - (#{$spacing-unit} / 2));
|
231
|
-
}
|
232
|
-
|
233
|
-
.footer-col-2 {
|
234
|
-
text-align: center;
|
235
|
-
width: -webkit-calc(34% - (#{$spacing-unit} / 2));
|
236
|
-
width: calc(34% - (#{$spacing-unit} / 2));
|
237
|
-
}
|
238
|
-
|
239
|
-
.footer-col-3 {
|
240
|
-
text-align: right;
|
241
|
-
width: -webkit-calc(33% - (#{$spacing-unit} / 2));
|
242
|
-
width: calc(33% - (#{$spacing-unit} / 2));
|
243
|
-
}
|
244
|
-
|
245
|
-
/*
|
246
|
-
@include media-query($on-laptop) {
|
247
|
-
.footer-col-1 {
|
248
|
-
float: left;
|
249
|
-
width: -webkit-calc(33% - (#{$spacing-unit} / 2));
|
250
|
-
width: calc(33% - (#{$spacing-unit} / 2));
|
251
|
-
}
|
252
|
-
.footer-col-2 {
|
253
|
-
float: center;
|
254
|
-
width: -webkit-calc(34% - (#{$spacing-unit} / 2));
|
255
|
-
width: calc(34% - (#{$spacing-unit} / 2));
|
256
|
-
}
|
257
|
-
.footer-col-3 {
|
258
|
-
float: right;
|
259
|
-
width: -webkit-calc(33% - (#{$spacing-unit} / 2));
|
260
|
-
width: calc(33% - (#{$spacing-unit} / 2));
|
261
|
-
}
|
262
|
-
}
|
263
|
-
*/
|
264
|
-
|
265
|
-
@include media-query($on-palm) {
|
266
|
-
.footer-col {
|
267
|
-
float: none;
|
268
|
-
text-align: center;
|
269
|
-
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
270
|
-
width: calc(100% - (#{$spacing-unit} / 2));
|
271
|
-
}
|
272
|
-
}
|
273
|
-
|
274
|
-
|
275
208
|
|
276
|
-
/**
|
277
|
-
* Page content
|
278
|
-
*/
|
279
209
|
.page-content {
|
280
|
-
padding: $spacing-unit
|
210
|
+
padding-top: $spacing-unit;
|
211
|
+
padding-bottom: $spacing-unit;
|
281
212
|
flex: 1;
|
282
213
|
}
|
283
214
|
|
@@ -300,16 +231,20 @@
|
|
300
231
|
|
301
232
|
.post-meta {
|
302
233
|
font-size: $small-font-size;
|
303
|
-
color: $text-
|
234
|
+
color: $text-muted;
|
304
235
|
a {
|
305
|
-
color: $text-
|
236
|
+
color: $text-muted;
|
237
|
+
text-decoration: none;
|
238
|
+
|
239
|
+
&:visited {
|
240
|
+
color: $text-muted;
|
306
241
|
text-decoration: none;
|
307
242
|
|
308
243
|
&:hover {
|
309
|
-
color: $
|
244
|
+
color: $link;
|
310
245
|
text-decoration: underline;
|
311
|
-
|
312
|
-
|
246
|
+
}
|
247
|
+
}
|
313
248
|
}
|
314
249
|
}
|
315
250
|
|
@@ -318,11 +253,10 @@
|
|
318
253
|
@include relative-font-size(1.5);
|
319
254
|
}
|
320
255
|
|
321
|
-
|
322
|
-
|
323
256
|
/**
|
324
|
-
*
|
257
|
+
* post
|
325
258
|
*/
|
259
|
+
|
326
260
|
.post-header {
|
327
261
|
margin-bottom: $spacing-unit;
|
328
262
|
}
|
@@ -332,7 +266,7 @@
|
|
332
266
|
letter-spacing: -1px;
|
333
267
|
line-height: 1;
|
334
268
|
|
335
|
-
@include media-query($on-
|
269
|
+
@include media-query($on-tablet) {
|
336
270
|
@include relative-font-size(2.25);
|
337
271
|
}
|
338
272
|
}
|
@@ -343,7 +277,7 @@
|
|
343
277
|
h2 {
|
344
278
|
@include relative-font-size(2);
|
345
279
|
|
346
|
-
@include media-query($on-
|
280
|
+
@include media-query($on-tablet) {
|
347
281
|
@include relative-font-size(1.75);
|
348
282
|
}
|
349
283
|
}
|
@@ -351,7 +285,7 @@
|
|
351
285
|
h3 {
|
352
286
|
@include relative-font-size(1.625);
|
353
287
|
|
354
|
-
@include media-query($on-
|
288
|
+
@include media-query($on-tablet) {
|
355
289
|
@include relative-font-size(1.375);
|
356
290
|
}
|
357
291
|
}
|
@@ -359,53 +293,264 @@
|
|
359
293
|
h4 {
|
360
294
|
@include relative-font-size(1.25);
|
361
295
|
|
362
|
-
@include media-query($on-
|
296
|
+
@include media-query($on-tablet) {
|
363
297
|
@include relative-font-size(1.125);
|
364
298
|
}
|
365
299
|
}
|
366
300
|
}
|
367
301
|
|
368
|
-
|
369
|
-
|
370
|
-
|
302
|
+
/* --------------- profile page ---------------------- */
|
303
|
+
|
304
|
+
.profile-common{
|
305
|
+
padding-top: 100px;
|
306
|
+
padding-bottom: 100px;
|
307
|
+
min-height: 700px;
|
308
|
+
}
|
309
|
+
.db-common{
|
310
|
+
background-color: $dark-bg;
|
311
|
+
color: $dbg-text;
|
312
|
+
|
313
|
+
h1, h2, h3, h4, h5, h6{
|
314
|
+
color: $dbg-text-light;
|
315
|
+
}
|
316
|
+
}
|
317
|
+
.db-start{
|
318
|
+
border-radius: 0% 0% 80% 0% / 0% 0% 10% 0% ;
|
319
|
+
}
|
320
|
+
.db-middle{
|
321
|
+
border-radius: 80% 0% 80% 0% / 10% 0% 10% 0% ;
|
322
|
+
}
|
323
|
+
.db-end{
|
324
|
+
border-radius: 80% 0% 0% 0% / 10% 0% 0% 0% ;
|
325
|
+
}
|
326
|
+
|
327
|
+
.lb-common{
|
328
|
+
background-color: $light-bg;
|
329
|
+
color: $lbg-text;
|
330
|
+
h1, h2, h3, h4, h5, h6{
|
331
|
+
color: $lbg-text-light;
|
332
|
+
}
|
333
|
+
a {
|
334
|
+
color: $lbg-text-light;
|
335
|
+
text-decoration: none;
|
336
|
+
&:hover {
|
337
|
+
color: $lbg-text-light;
|
338
|
+
text-decoration: underline;
|
339
|
+
}
|
340
|
+
}
|
341
|
+
}
|
342
|
+
|
343
|
+
.lb-middle{
|
344
|
+
border-radius: 80% 0% 0% 0% / 0% 0% 10% 0% ;
|
345
|
+
}
|
346
|
+
.lb-end{
|
347
|
+
border-radius: 0% 0% 0% 0% / 0% 0% 0% 0% ;
|
348
|
+
}
|
349
|
+
|
350
|
+
.profile{
|
351
|
+
img{
|
352
|
+
/*max-width: 100%;*/
|
353
|
+
max-width: 70%;
|
354
|
+
}
|
355
|
+
}
|
356
|
+
|
357
|
+
@include media-query($on-palm){
|
358
|
+
.profile{
|
359
|
+
img{
|
360
|
+
max-width: 100%;
|
361
|
+
}
|
362
|
+
}
|
363
|
+
}
|
364
|
+
|
365
|
+
/* --------------- home page --------------- */
|
366
|
+
|
367
|
+
.home-page {
|
368
|
+
padding-top: $spacing-unit ;
|
369
|
+
}
|
370
|
+
|
371
|
+
.center{
|
372
|
+
float: center;
|
373
|
+
}
|
374
|
+
|
375
|
+
.social-links-home {
|
376
|
+
margin-top: $spacing-unit;
|
377
|
+
margin-bottom: $spacing-unit;
|
378
|
+
display: block;
|
379
|
+
text-align: center;
|
380
|
+
background-color: $dbg-shape;
|
381
|
+
border-radius: 48% 87% 69% 65% / 85% 52% 76% 55% ;
|
382
|
+
box-shadow: $shadow;
|
383
|
+
a{
|
384
|
+
text-align: center;
|
385
|
+
display: inline-block;
|
386
|
+
padding: 20px;
|
387
|
+
color: $text;
|
388
|
+
&:visited {
|
389
|
+
color: $text;
|
390
|
+
}
|
391
|
+
&:hover {
|
392
|
+
color: $link-hover;
|
393
|
+
}
|
394
|
+
}
|
395
|
+
}
|
396
|
+
|
397
|
+
.profile-picture {
|
398
|
+
text-align: center;
|
399
|
+
img{
|
400
|
+
opacity: 1;
|
401
|
+
border-radius: 48% 87% 69% 65% / 85% 52% 76% 55% ;
|
402
|
+
//border-radius: 56% 57% 63% 53% / 66% 44% 74% 68% ;
|
403
|
+
//border-radius: 8px;
|
404
|
+
//border-radius: 57% 43% 68% 32% / 40% 60% 40% 60% ;
|
405
|
+
// border-radius: 69% 50% 59% 77% / 68% 50% 79% 72% ;
|
406
|
+
}
|
407
|
+
}
|
408
|
+
|
409
|
+
/* -------------- pagination ------------------- */
|
410
|
+
|
411
|
+
/*
|
412
|
+
* pagination tooltips
|
413
|
+
*/
|
414
|
+
|
415
|
+
.tooltip {
|
416
|
+
position: relative;
|
417
|
+
display: inline-block;
|
418
|
+
border-bottom: 1px dotted black;
|
419
|
+
}
|
420
|
+
|
421
|
+
.tooltip .tooltiptext {
|
422
|
+
visibility: hidden;
|
423
|
+
width: 120px;
|
424
|
+
background-color: black;
|
425
|
+
color: #fff;
|
426
|
+
text-align: center;
|
427
|
+
border-radius: 6px;
|
428
|
+
padding: 5px 0;
|
429
|
+
position: absolute;
|
430
|
+
z-index: 1;
|
431
|
+
top: 150%;
|
432
|
+
left: 50%;
|
433
|
+
margin-left: -60px;
|
434
|
+
}
|
435
|
+
|
436
|
+
.tooltip .tooltiptext::after {
|
437
|
+
content: "";
|
438
|
+
position: absolute;
|
439
|
+
bottom: 100%;
|
440
|
+
left: 50%;
|
441
|
+
margin-left: -5px;
|
442
|
+
border-width: 5px;
|
443
|
+
border-style: solid;
|
444
|
+
border-color: transparent transparent black transparent;
|
445
|
+
}
|
446
|
+
|
447
|
+
.tooltip:hover .tooltiptext {
|
448
|
+
visibility: visible;
|
449
|
+
}
|
450
|
+
|
451
|
+
/*
|
452
|
+
* pagination buttons
|
453
|
+
*/
|
454
|
+
|
371
455
|
.pagination {
|
456
|
+
padding-top: $spacing-unit;
|
457
|
+
padding-bottom: $spacing-unit;
|
372
458
|
a {
|
459
|
+
border-radius: 48% 87% 69% 65% / 85% 52% 76% 55% ;
|
373
460
|
display: inline-block;
|
374
461
|
background-color: $grey85;
|
375
462
|
max-width: 300px;
|
376
|
-
padding: $spacing-unit /
|
377
|
-
text-
|
463
|
+
padding: $spacing-unit / 2;
|
464
|
+
text-decoration: none;
|
465
|
+
box-shadow: $shadow;
|
466
|
+
color: $text-light;
|
378
467
|
&:hover {
|
379
|
-
text-decoration: underline;
|
380
468
|
background-color: $grey8;
|
381
|
-
color: $text-
|
469
|
+
color: $text-light;
|
470
|
+
box-shadow: $shadow-hover;
|
382
471
|
}
|
383
472
|
&:visited {
|
384
|
-
|
385
|
-
|
386
|
-
text-decoration: underline;
|
473
|
+
color: $text-light;
|
474
|
+
text-decoration: none;
|
387
475
|
}
|
388
476
|
}
|
389
477
|
}
|
390
478
|
|
391
|
-
|
392
|
-
/* Tags page */
|
479
|
+
/* ----------------- tags page ------------------- */
|
393
480
|
|
394
481
|
.tag-btn {
|
395
|
-
margin:
|
482
|
+
margin-right: $spacing-unit;
|
396
483
|
}
|
397
484
|
|
398
485
|
#full-tags-list {
|
399
|
-
|
486
|
+
.tag-entry {
|
487
|
+
margin-top: $spacing-unit ;
|
488
|
+
margin-bottom: $spacing-unit ;
|
489
|
+
margin-left: $spacing-unit / 2;
|
490
|
+
/*margin: 0 0 0.9375rem 1.5625rem;*/
|
491
|
+
.entry-date {
|
492
|
+
color: $text;
|
493
|
+
font-size: $small-font-size;
|
494
|
+
}
|
495
|
+
}
|
400
496
|
}
|
401
|
-
|
402
|
-
|
497
|
+
|
498
|
+
|
499
|
+
/* ---------------- Footer ----------------- */
|
500
|
+
|
501
|
+
.site-footer {
|
502
|
+
padding-left: $spacing-unit * 1.5;
|
503
|
+
background-color: $footer-color;
|
504
|
+
color: $nav-text-muted;
|
505
|
+
a{
|
506
|
+
color: $nav-text-muted;
|
507
|
+
&:visited{
|
508
|
+
color: $nav-text-muted;
|
509
|
+
}
|
510
|
+
&:hover{
|
511
|
+
color: $nav-text;
|
512
|
+
}
|
513
|
+
}
|
403
514
|
}
|
404
515
|
|
405
|
-
|
516
|
+
.footer-col-wrapper {
|
517
|
+
margin-left: auto;
|
518
|
+
margin-right: auto;
|
519
|
+
@include relative-font-size(0.9375);
|
520
|
+
@extend %clearfix;
|
406
521
|
}
|
407
522
|
|
408
|
-
|
409
|
-
|
410
|
-
|
523
|
+
.footer-col {
|
524
|
+
@include relative-font-size(0.8);
|
525
|
+
float: center;
|
526
|
+
padding: 10px;
|
527
|
+
}
|
528
|
+
|
529
|
+
.footer-col-1 {
|
530
|
+
text-align: left;
|
531
|
+
width: -webkit-calc(33% - (#{$spacing-unit} / 2));
|
532
|
+
width: calc(33% - (#{$spacing-unit} / 2));
|
533
|
+
}
|
534
|
+
|
535
|
+
.footer-col-2 {
|
536
|
+
text-align: center;
|
537
|
+
width: -webkit-calc(34% - (#{$spacing-unit} / 2));
|
538
|
+
width: calc(34% - (#{$spacing-unit} / 2));
|
539
|
+
}
|
540
|
+
|
541
|
+
.footer-col-3 {
|
542
|
+
text-align: right;
|
543
|
+
width: -webkit-calc(33% - (#{$spacing-unit} / 2));
|
544
|
+
width: calc(33% - (#{$spacing-unit} / 2));
|
411
545
|
}
|
546
|
+
|
547
|
+
@include media-query($on-palm) {
|
548
|
+
.footer-col {
|
549
|
+
float: none;
|
550
|
+
text-align: center;
|
551
|
+
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
552
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
553
|
+
}
|
554
|
+
}
|
555
|
+
|
556
|
+
|