jekyll-theme-type-on-strap 6.0.0 → 7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +97 -36
- data/_data/language.yml +13 -0
- data/_includes/blog.html +14 -8
- data/_includes/blog_nav.html +12 -10
- data/_includes/disqus.html +1 -1
- data/_includes/head.html +19 -33
- data/_includes/icons.html +55 -55
- data/_includes/navbar.html +16 -32
- data/_includes/post_info.html +13 -0
- data/_includes/post_nav.html +17 -16
- data/_includes/share_buttons.html +19 -26
- data/_layouts/feed.xml +9 -3
- data/_layouts/post.html +24 -9
- data/_sass/base/_global.scss +127 -110
- data/_sass/base/_utility.scss +60 -45
- data/_sass/base/_variables.scss +30 -26
- data/_sass/external/_font-awesome.scss +17 -0
- data/_sass/external/_katex.scss +1010 -0
- data/_sass/external/_pacifico.scss +17 -0
- data/{assets/css/vendor/google_fonts.css → _sass/external/_source-sans-pro.scss} +15 -5
- data/_sass/external/_syntax.scss +85 -83
- data/_sass/external/font-awesome/_animated.scss +34 -0
- data/_sass/external/font-awesome/_bordered-pulled.scss +25 -0
- data/_sass/external/font-awesome/_core.scss +12 -0
- data/_sass/external/font-awesome/_fixed-width.scss +6 -0
- data/_sass/external/font-awesome/_icons.scss +789 -0
- data/_sass/external/font-awesome/_larger.scss +13 -0
- data/_sass/external/font-awesome/_list.scss +19 -0
- data/_sass/external/font-awesome/_mixins.scss +60 -0
- data/_sass/external/font-awesome/_path.scss +16 -0
- data/_sass/external/font-awesome/_rotated-flipped.scss +20 -0
- data/_sass/external/font-awesome/_screen-reader.scss +5 -0
- data/_sass/external/font-awesome/_stacked.scss +20 -0
- data/_sass/external/font-awesome/_variables.scss +800 -0
- data/_sass/external/font-awesome/font-awesome.scss +17 -0
- data/_sass/includes/_blog_nav.scss +36 -38
- data/_sass/includes/_footer.scss +19 -16
- data/_sass/includes/_grid.scss +22 -22
- data/_sass/includes/_navbar.scss +117 -128
- data/_sass/includes/_portfolio.scss +40 -39
- data/_sass/includes/_post_nav.scss +28 -23
- data/_sass/includes/_share_buttons.scss +26 -25
- data/_sass/layouts/_blog.scss +103 -0
- data/_sass/layouts/_page.scss +5 -4
- data/_sass/layouts/_posts.scss +102 -96
- data/_sass/layouts/_search.scss +45 -44
- data/_sass/layouts/_tags.scss +43 -34
- data/_sass/type-on-strap.scss +6 -6
- data/assets/css/main.scss +1 -1
- data/assets/css/vendor/bootstrap-iso.css +1387 -468
- data/assets/css/vendor/bootstrap-iso.min.css +5 -5
- data/assets/css/vendor/bootstrap.css +1457 -450
- data/assets/data/search.json +25 -27
- data/assets/fonts/Pacifico/Pacifico.eot +0 -0
- data/assets/fonts/Pacifico/Pacifico.svg +10833 -0
- data/assets/fonts/Pacifico/Pacifico.ttf +0 -0
- data/assets/fonts/Pacifico/Pacifico.woff +0 -0
- data/assets/fonts/Pacifico/Pacifico.woff2 +0 -0
- data/assets/fonts/Pacifico/original-pacifico-regular.ttf +0 -0
- data/assets/fonts/fontawesome/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome/fontawesome-webfont.svg +2671 -0
- data/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/{fontawesome-webfont.woff → fontawesome/fontawesome-webfont.woff} +0 -0
- data/assets/fonts/{fontawesome-webfont.woff2 → fontawesome/fontawesome-webfont.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_AMS-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_AMS-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_AMS-Regular.woff → katex/KaTeX_AMS-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_AMS-Regular.woff2 → katex/KaTeX_AMS-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Bold.ttf +0 -0
- data/assets/fonts/{KaTeX_Caligraphic-Bold.woff → katex/KaTeX_Caligraphic-Bold.woff} +0 -0
- data/assets/fonts/{KaTeX_Caligraphic-Bold.woff2 → katex/KaTeX_Caligraphic-Bold.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Caligraphic-Regular.woff → katex/KaTeX_Caligraphic-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Caligraphic-Regular.woff2 → katex/KaTeX_Caligraphic-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Bold.ttf +0 -0
- data/assets/fonts/{KaTeX_Fraktur-Bold.woff → katex/KaTeX_Fraktur-Bold.woff} +0 -0
- data/assets/fonts/{KaTeX_Fraktur-Bold.woff2 → katex/KaTeX_Fraktur-Bold.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Fraktur-Regular.woff → katex/KaTeX_Fraktur-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Fraktur-Regular.woff2 → katex/KaTeX_Fraktur-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Main-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_Main-Bold.ttf +0 -0
- data/assets/fonts/{KaTeX_Main-Bold.woff → katex/KaTeX_Main-Bold.woff} +0 -0
- data/assets/fonts/{KaTeX_Main-Bold.woff2 → katex/KaTeX_Main-Bold.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Main-Italic.eot +0 -0
- data/assets/fonts/katex/KaTeX_Main-Italic.ttf +0 -0
- data/assets/fonts/{KaTeX_Main-Italic.woff → katex/KaTeX_Main-Italic.woff} +0 -0
- data/assets/fonts/{KaTeX_Main-Italic.woff2 → katex/KaTeX_Main-Italic.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Main-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Main-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Main-Regular.woff → katex/KaTeX_Main-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Main-Regular.woff2 → katex/KaTeX_Main-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Math-BoldItalic.eot +0 -0
- data/assets/fonts/katex/KaTeX_Math-BoldItalic.ttf +0 -0
- data/assets/fonts/{KaTeX_Math-BoldItalic.woff → katex/KaTeX_Math-BoldItalic.woff} +0 -0
- data/assets/fonts/{KaTeX_Math-BoldItalic.woff2 → katex/KaTeX_Math-BoldItalic.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Math-Italic.eot +0 -0
- data/assets/fonts/katex/KaTeX_Math-Italic.ttf +0 -0
- data/assets/fonts/{KaTeX_Math-Italic.woff → katex/KaTeX_Math-Italic.woff} +0 -0
- data/assets/fonts/{KaTeX_Math-Italic.woff2 → katex/KaTeX_Math-Italic.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Math-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Math-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Math-Regular.woff → katex/KaTeX_Math-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Math-Regular.woff2 → katex/KaTeX_Math-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Bold.ttf +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Bold.woff → katex/KaTeX_SansSerif-Bold.woff} +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Bold.woff2 → katex/KaTeX_SansSerif-Bold.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Italic.eot +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Italic.ttf +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Italic.woff → katex/KaTeX_SansSerif-Italic.woff} +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Italic.woff2 → katex/KaTeX_SansSerif-Italic.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Regular.woff → katex/KaTeX_SansSerif-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Regular.woff2 → katex/KaTeX_SansSerif-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Script-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Script-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Script-Regular.woff → katex/KaTeX_Script-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Script-Regular.woff2 → katex/KaTeX_Script-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Size1-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size1-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Size1-Regular.woff → katex/KaTeX_Size1-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Size1-Regular.woff2 → katex/KaTeX_Size1-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Size2-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size2-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Size2-Regular.woff → katex/KaTeX_Size2-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Size2-Regular.woff2 → katex/KaTeX_Size2-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Size3-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size3-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Size3-Regular.woff → katex/KaTeX_Size3-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Size3-Regular.woff2 → katex/KaTeX_Size3-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Size4-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size4-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Size4-Regular.woff → katex/KaTeX_Size4-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Size4-Regular.woff2 → katex/KaTeX_Size4-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Typewriter-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Typewriter-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Typewriter-Regular.woff → katex/KaTeX_Typewriter-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Typewriter-Regular.woff2 → katex/KaTeX_Typewriter-Regular.woff2} +0 -0
- data/assets/fonts/{source-sans-pro-bold-italic.woff2 → source-sans-pro/source-sans-pro-bold-italic.woff2} +0 -0
- data/assets/fonts/{source-sans-pro-bold.woff2 → source-sans-pro/source-sans-pro-bold.woff2} +0 -0
- data/assets/fonts/{source-sans-pro-italic.woff2 → source-sans-pro/source-sans-pro-italic.woff2} +0 -0
- data/assets/fonts/{source-sans-pro-regular.woff2 → source-sans-pro/source-sans-pro-regular.woff2} +0 -0
- data/assets/js/partials/katex_init.js +20 -20
- data/assets/js/partials/masonry_init.js +17 -17
- data/assets/js/partials/navbar.js +18 -18
- data/assets/js/vendor/imagesloaded.min.js +7 -1
- data/assets/js/vendor/katex.min.js +1 -6
- data/assets/js/vendor/masonry.pkgd.min.js +2 -2
- metadata +137 -78
- data/_sass/layouts/_index.scss +0 -103
- data/assets/css/vendor/font-awesome.min.css +0 -4
- data/assets/css/vendor/google_fonts.min.css +0 -1
- data/assets/css/vendor/katex.min.css +0 -1
- data/assets/fonts/.DS_Store +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
@@ -1,43 +1,43 @@
|
|
1
1
|
.portfolio-link {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
}
|
24
|
-
|
25
|
-
&:hover {
|
26
|
-
opacity: 1;
|
27
|
-
}
|
28
|
-
|
29
|
-
.caption-content {
|
30
|
-
font-size: 15px;
|
31
|
-
color: white;
|
32
|
-
text-shadow: -1px 0 #ddd, 0 1px #ddd, 1px 0 #ddd, 0 -1px #ddd;
|
33
|
-
display: inline-block;
|
34
|
-
vertical-align: middle;
|
35
|
-
|
36
|
-
@media screen and (max-width: $sm-break) {
|
37
|
-
font-size: 7px;
|
38
|
-
}
|
39
|
-
}
|
2
|
+
display: block;
|
3
|
+
position: relative;
|
4
|
+
margin: 0 auto;
|
5
|
+
max-width: 400px;
|
6
|
+
|
7
|
+
.caption {
|
8
|
+
margin: 0;
|
9
|
+
position: absolute;
|
10
|
+
width: 100%;
|
11
|
+
height: 100%;
|
12
|
+
text-align: center;
|
13
|
+
opacity: 0;
|
14
|
+
-webkit-transition: all ease .5s;
|
15
|
+
-moz-transition: all ease .5s;
|
16
|
+
transition: all ease .5s;
|
17
|
+
|
18
|
+
&::before {
|
19
|
+
content: ' ';
|
20
|
+
display: inline-block;
|
21
|
+
vertical-align: middle;
|
22
|
+
height: 100%;
|
40
23
|
}
|
24
|
+
|
25
|
+
&:hover {
|
26
|
+
opacity: 1;
|
27
|
+
}
|
28
|
+
|
29
|
+
.caption-content {
|
30
|
+
font-size: 15px;
|
31
|
+
color: white;
|
32
|
+
text-shadow: -1px 0 #ddd, 0 1px #ddd, 1px 0 #ddd, 0 -1px #ddd;
|
33
|
+
display: inline-block;
|
34
|
+
vertical-align: middle;
|
35
|
+
|
36
|
+
@media screen and (max-width: $sm-break) {
|
37
|
+
font-size: 7px;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
41
|
}
|
42
42
|
|
43
43
|
.portfolio-grid {
|
@@ -46,7 +46,8 @@
|
|
46
46
|
justify-content: space-around;
|
47
47
|
|
48
48
|
}
|
49
|
+
|
49
50
|
.portfolio-cell {
|
50
51
|
flex: 0 0 32%;
|
51
52
|
margin-bottom: 10px;
|
52
|
-
}
|
53
|
+
}
|
@@ -1,28 +1,33 @@
|
|
1
1
|
#post-nav {
|
2
|
+
width: 100%;
|
3
|
+
display: inline-block;
|
4
|
+
@extend %padding-nav;
|
5
|
+
|
6
|
+
a {
|
2
7
|
width: 100%;
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
@media screen and (max-width: $sm-break) {
|
8
|
+
padding: 0;
|
9
|
+
margin: 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
p {
|
13
|
+
@extend .meta;
|
14
|
+
}
|
15
|
+
|
16
|
+
#previous-post {
|
17
|
+
float: left;
|
18
|
+
width: 50%;
|
19
|
+
}
|
20
|
+
|
21
|
+
#next-post {
|
22
|
+
float: right;
|
23
|
+
text-align: right;
|
24
|
+
width: 50%;
|
25
|
+
}
|
26
|
+
|
27
|
+
@media screen and (max-width: $sm-break) {
|
24
28
|
a, p {
|
25
|
-
|
29
|
+
font-size: 0.8em;
|
26
30
|
}
|
31
|
+
}
|
27
32
|
}
|
28
|
-
|
33
|
+
|
@@ -1,29 +1,30 @@
|
|
1
1
|
ul.share-buttons {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
div.meta {
|
8
|
-
display: inline;
|
9
|
-
margin-right: 0.5em;
|
10
|
-
}
|
2
|
+
list-style: none;
|
3
|
+
padding: $padding-x-small/2 0 $padding-x-small/2 0;
|
4
|
+
margin: 0;
|
5
|
+
text-align: center;
|
11
6
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
clip: rect(1px, 1px, 1px, 1px);
|
23
|
-
padding: 0;
|
24
|
-
border: 0;
|
25
|
-
height: 1px;
|
26
|
-
width: 1px;
|
27
|
-
overflow: hidden;
|
7
|
+
div.meta {
|
8
|
+
display: inline;
|
9
|
+
margin-right: 0.5em;
|
10
|
+
}
|
11
|
+
|
12
|
+
li {
|
13
|
+
display: inline;
|
14
|
+
|
15
|
+
a:hover {
|
16
|
+
text-decoration: none;
|
28
17
|
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.sr-only {
|
21
|
+
position: absolute;
|
22
|
+
clip: rect(1px 1px 1px 1px);
|
23
|
+
clip: rect(1px, 1px, 1px, 1px);
|
24
|
+
padding: 0;
|
25
|
+
border: 0;
|
26
|
+
height: 1px;
|
27
|
+
width: 1px;
|
28
|
+
overflow: hidden;
|
29
|
+
}
|
29
30
|
}
|
@@ -0,0 +1,103 @@
|
|
1
|
+
/* --- Header text feature --- */
|
2
|
+
.call-out {
|
3
|
+
@extend %padding-header;
|
4
|
+
display: inline-block;
|
5
|
+
width: 100%;
|
6
|
+
height: 100%;
|
7
|
+
font-size: 1.2em;
|
8
|
+
text-align: center;
|
9
|
+
color: $header-desc-text-color;
|
10
|
+
background: $header-desc-background-color no-repeat;
|
11
|
+
background-size: $feature-image-size;
|
12
|
+
|
13
|
+
/* --- Responsive --- */
|
14
|
+
@media screen and (min-width: $break) {
|
15
|
+
background-size: 120% auto;
|
16
|
+
}
|
17
|
+
|
18
|
+
@media screen and (max-width: $break) {
|
19
|
+
background-size: 200% auto;
|
20
|
+
}
|
21
|
+
|
22
|
+
@media screen and (max-width: $sm-break) {
|
23
|
+
background-size: 400% auto;
|
24
|
+
}
|
25
|
+
|
26
|
+
//For white images
|
27
|
+
p,
|
28
|
+
a,
|
29
|
+
li,
|
30
|
+
h1,
|
31
|
+
h2,
|
32
|
+
h3,
|
33
|
+
h4,
|
34
|
+
h5 {
|
35
|
+
@extend .header-txt-shadow;
|
36
|
+
}
|
37
|
+
|
38
|
+
p:last-child {
|
39
|
+
margin-bottom: 0;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
#main {
|
44
|
+
background-position: 100% 0, 0 center, center top;
|
45
|
+
}
|
46
|
+
|
47
|
+
/* --- Post listing --- */
|
48
|
+
.posts {
|
49
|
+
.post-teaser {
|
50
|
+
@extend %padding-post;
|
51
|
+
width: 100%;
|
52
|
+
margin-bottom: 0;
|
53
|
+
display: inline-block;
|
54
|
+
background-size: $feature-image-size;
|
55
|
+
border-bottom: 1px solid $border-color;
|
56
|
+
|
57
|
+
p a {
|
58
|
+
@extend .body-link;
|
59
|
+
}
|
60
|
+
|
61
|
+
.post-img {
|
62
|
+
vertical-align: middle;
|
63
|
+
border-radius: 10px;
|
64
|
+
overflow: hidden;
|
65
|
+
|
66
|
+
@media (min-width: $break) {
|
67
|
+
height: 250px;
|
68
|
+
}
|
69
|
+
|
70
|
+
//Smaller screen
|
71
|
+
@media screen and (max-width: $break) {
|
72
|
+
height: 150px;
|
73
|
+
}
|
74
|
+
|
75
|
+
img {
|
76
|
+
width: 100%;
|
77
|
+
padding: 0;
|
78
|
+
vertical-align: middle;
|
79
|
+
}
|
80
|
+
|
81
|
+
}
|
82
|
+
|
83
|
+
.post-img img {
|
84
|
+
-moz-transition-timing-function: ease-out;
|
85
|
+
-webkit-transition-timing-function: ease-out;
|
86
|
+
transition-timing-function: ease-out;
|
87
|
+
|
88
|
+
-moz-transition: all 2s;
|
89
|
+
-webkit-transition: all 2s;
|
90
|
+
transition: all 2s;
|
91
|
+
|
92
|
+
&:hover {
|
93
|
+
-moz-transform: scale(1.1);
|
94
|
+
-webkit-transform: scale(1.1);
|
95
|
+
transform: scale(1.1);
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.excerpt {
|
101
|
+
margin-top: 1em;
|
102
|
+
}
|
103
|
+
}
|
data/_sass/layouts/_page.scss
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
h1.title {
|
2
|
-
|
2
|
+
@extend .header-txt-shadow;
|
3
|
+
padding: $title-padding 0;
|
3
4
|
}
|
4
5
|
|
5
6
|
.subtitle {
|
6
|
-
|
7
|
-
|
8
|
-
|
7
|
+
font-weight: normal;
|
8
|
+
margin-top: 5px;
|
9
|
+
text-shadow: 1px 1px 2px $text-shadow;
|
9
10
|
}
|
10
11
|
|
11
12
|
//Shared css in _post.scss
|
data/_sass/layouts/_posts.scss
CHANGED
@@ -1,122 +1,128 @@
|
|
1
|
-
article,
|
2
1
|
.comments {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
@extend %padding-post;
|
3
|
+
border-bottom: 1px solid $border-color;
|
4
|
+
float: left;
|
5
|
+
width: 100%;
|
7
6
|
}
|
8
7
|
|
9
8
|
article {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
9
|
+
@extend .comments;
|
10
|
+
|
11
|
+
header {
|
12
|
+
margin-bottom: 6%;
|
13
|
+
text-align: center;
|
14
|
+
}
|
15
|
+
|
16
|
+
a:hover {
|
17
|
+
@extend .body-link;
|
18
|
+
}
|
19
|
+
|
20
|
+
.footnotes {
|
21
|
+
font-size: 0.9em;
|
22
|
+
}
|
20
23
|
}
|
21
24
|
|
22
25
|
footer {
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
26
|
+
width: 100%;
|
27
|
+
margin-top: 0;
|
28
|
+
margin-bottom: 0;
|
29
|
+
font-size: 0.9em;
|
30
|
+
display: inline-block;
|
31
|
+
text-align: center;
|
32
|
+
|
33
|
+
.meta {
|
34
|
+
display: inline;
|
35
|
+
}
|
36
|
+
|
37
|
+
a.button {
|
38
|
+
margin-left: 1em;
|
39
|
+
}
|
35
40
|
}
|
36
41
|
|
37
42
|
header {
|
38
|
-
|
39
|
-
|
40
|
-
|
43
|
+
h1 {
|
44
|
+
margin: 0;
|
45
|
+
}
|
41
46
|
}
|
42
47
|
|
43
48
|
.meta {
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
49
|
+
color: $meta; // rgba($text-color, .65);
|
50
|
+
letter-spacing: 0.1em;
|
51
|
+
margin: 0;
|
52
|
+
text-transform: uppercase;
|
48
53
|
}
|
49
54
|
|
55
|
+
/* --- Post info --- */
|
56
|
+
.post-info {
|
57
|
+
/* For border in author
|
58
|
+
border: 1px solid $border-color;
|
59
|
+
padding-left: 0.5em;
|
60
|
+
*/
|
61
|
+
border-radius: 1em;
|
62
|
+
padding-right: 0.5em;
|
63
|
+
display: inline-flex;
|
50
64
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
}
|
57
|
-
header {
|
58
|
-
color: $feature-image-text-color;
|
59
|
-
margin-bottom: 0;
|
60
|
-
padding: $padding-large/2.5 $padding-large;
|
61
|
-
.meta {
|
62
|
-
color: rgba($feature-image-text-color, .7);
|
63
|
-
}
|
64
|
-
}
|
65
|
-
.post-content {
|
66
|
-
@extend %padding-regular;
|
67
|
-
padding-bottom: 0;
|
68
|
-
}
|
69
|
-
footer {
|
70
|
-
@extend %padding-regular;
|
71
|
-
padding-top: 0;
|
65
|
+
a {
|
66
|
+
display: flex;
|
67
|
+
align-items: center;
|
68
|
+
img {
|
69
|
+
height: auto;
|
72
70
|
}
|
73
|
-
}
|
71
|
+
}
|
74
72
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
@media screen and (min-width: $break) {
|
83
|
-
background-size: 120% auto;
|
84
|
-
}
|
85
|
-
|
86
|
-
@media screen and (max-width: $break) {
|
87
|
-
background-size: 200% auto;
|
88
|
-
}
|
89
|
-
|
90
|
-
@media screen and (max-width: $sm-break) {
|
91
|
-
background-size: 400% auto;
|
92
|
-
}
|
73
|
+
img {
|
74
|
+
border-radius: 1em;
|
75
|
+
padding: 0px;
|
76
|
+
width: 1.5em;
|
77
|
+
height: 100%;
|
78
|
+
margin-right: 0.5em;
|
79
|
+
}
|
93
80
|
}
|
94
81
|
|
95
|
-
/* ---
|
96
|
-
|
97
|
-
|
98
|
-
border-bottom: 1px solid $border-color;
|
99
|
-
display: flex;
|
100
|
-
float: left;
|
82
|
+
/* --- Feature image --- */
|
83
|
+
.feature-image {
|
84
|
+
padding: 0;
|
101
85
|
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
}
|
86
|
+
.post-link {
|
87
|
+
color: $feature-image-text-color;
|
88
|
+
}
|
106
89
|
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
90
|
+
header {
|
91
|
+
color: $feature-image-text-color;
|
92
|
+
margin-bottom: 0;
|
93
|
+
padding: $padding-large/2.5 $padding-large;
|
111
94
|
|
112
|
-
|
113
|
-
|
114
|
-
border: 1px solid rgba(255, 255, 255, 0);
|
115
|
-
text-align: center;
|
116
|
-
width: 50%;
|
95
|
+
.meta {
|
96
|
+
color: rgba($feature-image-text-color, .7);
|
117
97
|
}
|
98
|
+
}
|
118
99
|
|
119
|
-
|
120
|
-
|
121
|
-
|
100
|
+
.post-content {
|
101
|
+
@extend %padding-post;
|
102
|
+
padding-bottom: 0;
|
103
|
+
}
|
104
|
+
|
105
|
+
footer {
|
106
|
+
@extend %padding-post;
|
107
|
+
padding-top: 0;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
/*-- feature-image Responsive scrolling --*/
|
112
|
+
.feature-image header {
|
113
|
+
@media screen and (max-width: $break) {
|
114
|
+
padding: $padding-small $padding-small;
|
115
|
+
}
|
116
|
+
|
117
|
+
@media screen and (min-width: $break) {
|
118
|
+
background-size: 120% auto;
|
119
|
+
}
|
120
|
+
|
121
|
+
@media screen and (max-width: $break) {
|
122
|
+
background-size: 200% auto;
|
123
|
+
}
|
124
|
+
|
125
|
+
@media screen and (max-width: $sm-break) {
|
126
|
+
background-size: 400% auto;
|
127
|
+
}
|
122
128
|
}
|