jekyll-theme-type-on-strap 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +311 -0
- data/_includes/disqus.html +10 -0
- data/_includes/footer.html +13 -0
- data/_includes/head.html +69 -0
- data/_includes/icons.html +230 -0
- data/_includes/navbar.html +56 -0
- data/_includes/portfolio.html +17 -0
- data/_includes/post_nav.html +20 -0
- data/_includes/tags_list.html +19 -0
- data/_layouts/bootstrap.html +38 -0
- data/_layouts/default.html +11 -0
- data/_layouts/home.html +59 -0
- data/_layouts/page.html +23 -0
- data/_layouts/post.html +30 -0
- data/_layouts/search.html +52 -0
- data/_layouts/tags.html +94 -0
- data/_sass/base/_global.scss +147 -0
- data/_sass/base/_utility.scss +71 -0
- data/_sass/base/_variables.scss +43 -0
- data/_sass/external/_reset.scss +427 -0
- data/_sass/external/_syntax.scss +63 -0
- data/_sass/includes/_footer.scss +17 -0
- data/_sass/includes/_navbar.scss +132 -0
- data/_sass/includes/_post_nav.scss +21 -0
- data/_sass/layouts/_index.scss +106 -0
- data/_sass/layouts/_page.scss +10 -0
- data/_sass/layouts/_portfolio.scss +77 -0
- data/_sass/layouts/_posts.scss +114 -0
- data/_sass/layouts/_search.scss +55 -0
- data/_sass/layouts/_tags.scss +52 -0
- data/_sass/type-on-strap.scss +21 -0
- data/assets/css/bootstrap-iso.min.css +8 -0
- data/assets/css/font-awesome.min.css +4 -0
- data/assets/css/katex.min.css +1 -0
- data/assets/css/main.scss +4 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/KaTeX_AMS-Regular.eot +0 -0
- data/assets/fonts/KaTeX_AMS-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_AMS-Regular.woff +0 -0
- data/assets/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_Caligraphic-Bold.eot +0 -0
- data/assets/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- data/assets/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- data/assets/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- data/assets/fonts/KaTeX_Caligraphic-Regular.eot +0 -0
- data/assets/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- data/assets/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_Fraktur-Bold.eot +0 -0
- data/assets/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- data/assets/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- data/assets/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- data/assets/fonts/KaTeX_Fraktur-Regular.eot +0 -0
- data/assets/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- data/assets/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_Main-Bold.eot +0 -0
- data/assets/fonts/KaTeX_Main-Bold.ttf +0 -0
- data/assets/fonts/KaTeX_Main-Bold.woff +0 -0
- data/assets/fonts/KaTeX_Main-Bold.woff2 +0 -0
- data/assets/fonts/KaTeX_Main-Italic.eot +0 -0
- data/assets/fonts/KaTeX_Main-Italic.ttf +0 -0
- data/assets/fonts/KaTeX_Main-Italic.woff +0 -0
- data/assets/fonts/KaTeX_Main-Italic.woff2 +0 -0
- data/assets/fonts/KaTeX_Main-Regular.eot +0 -0
- data/assets/fonts/KaTeX_Main-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_Main-Regular.woff +0 -0
- data/assets/fonts/KaTeX_Main-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_Math-BoldItalic.eot +0 -0
- data/assets/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- data/assets/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- data/assets/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- data/assets/fonts/KaTeX_Math-Italic.eot +0 -0
- data/assets/fonts/KaTeX_Math-Italic.ttf +0 -0
- data/assets/fonts/KaTeX_Math-Italic.woff +0 -0
- data/assets/fonts/KaTeX_Math-Italic.woff2 +0 -0
- data/assets/fonts/KaTeX_Math-Regular.eot +0 -0
- data/assets/fonts/KaTeX_Math-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_Math-Regular.woff +0 -0
- data/assets/fonts/KaTeX_Math-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_SansSerif-Bold.eot +0 -0
- data/assets/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- data/assets/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- data/assets/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- data/assets/fonts/KaTeX_SansSerif-Italic.eot +0 -0
- data/assets/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- data/assets/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- data/assets/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- data/assets/fonts/KaTeX_SansSerif-Regular.eot +0 -0
- data/assets/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- data/assets/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_Script-Regular.eot +0 -0
- data/assets/fonts/KaTeX_Script-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_Script-Regular.woff +0 -0
- data/assets/fonts/KaTeX_Script-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_Size1-Regular.eot +0 -0
- data/assets/fonts/KaTeX_Size1-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_Size1-Regular.woff +0 -0
- data/assets/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_Size2-Regular.eot +0 -0
- data/assets/fonts/KaTeX_Size2-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_Size2-Regular.woff +0 -0
- data/assets/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_Size3-Regular.eot +0 -0
- data/assets/fonts/KaTeX_Size3-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_Size3-Regular.woff +0 -0
- data/assets/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_Size4-Regular.eot +0 -0
- data/assets/fonts/KaTeX_Size4-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_Size4-Regular.woff +0 -0
- data/assets/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- data/assets/fonts/KaTeX_Typewriter-Regular.eot +0 -0
- data/assets/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- data/assets/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- data/assets/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +2671 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/assets/fonts/glyphicons-halflings-regular.svg +288 -0
- data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/assets/js/bootstrap.min.js +12 -0
- data/assets/js/jekyll-search.min.js +6 -0
- data/assets/js/jquery-3.2.1.min.js +5 -0
- data/assets/js/katex.min.js +6 -0
- data/assets/js/katex_init.js +26 -0
- data/assets/js/main.min.js +1 -0
- data/assets/js/navbar.js +31 -0
- metadata +251 -0
@@ -0,0 +1,63 @@
|
|
1
|
+
// pygments-css (https://github.com/richleland/pygments-css)
|
2
|
+
|
3
|
+
.hll { background-color: #ffffcc }
|
4
|
+
.c { color: #999988; font-style: italic } /* Comment */
|
5
|
+
.err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
6
|
+
.k { color: #000000; font-weight: bold } /* Keyword */
|
7
|
+
.o { color: #000000; font-weight: bold } /* Operator */
|
8
|
+
.cm { color: #999988; font-style: italic } /* Comment.Multiline */
|
9
|
+
.cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
|
10
|
+
.c1 { color: #999988; font-style: italic } /* Comment.Single */
|
11
|
+
.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
|
12
|
+
.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
13
|
+
.ge { color: #000000; font-style: italic } /* Generic.Emph */
|
14
|
+
.gr { color: #aa0000 } /* Generic.Error */
|
15
|
+
.gh { color: #999999 } /* Generic.Heading */
|
16
|
+
.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
17
|
+
.go { color: #888888 } /* Generic.Output */
|
18
|
+
.gp { color: #555555 } /* Generic.Prompt */
|
19
|
+
.gs { font-weight: bold } /* Generic.Strong */
|
20
|
+
.gu { color: #aaaaaa } /* Generic.Subheading */
|
21
|
+
.gt { color: #aa0000 } /* Generic.Traceback */
|
22
|
+
.kc { color: #000000; font-weight: bold } /* Keyword.Constant */
|
23
|
+
.kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
|
24
|
+
.kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
|
25
|
+
.kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
|
26
|
+
.kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
|
27
|
+
.kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
28
|
+
.m { color: #009999 } /* Literal.Number */
|
29
|
+
.s { color: #d01040 } /* Literal.String */
|
30
|
+
.na { color: #008080 } /* Name.Attribute */
|
31
|
+
.nb { color: #0086B3 } /* Name.Builtin */
|
32
|
+
.nc { color: #445588; font-weight: bold } /* Name.Class */
|
33
|
+
.no { color: #008080 } /* Name.Constant */
|
34
|
+
.nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
|
35
|
+
.ni { color: #800080 } /* Name.Entity */
|
36
|
+
.ne { color: #990000; font-weight: bold } /* Name.Exception */
|
37
|
+
.nf { color: #990000; font-weight: bold } /* Name.Function */
|
38
|
+
.nl { color: #990000; font-weight: bold } /* Name.Label */
|
39
|
+
.nn { color: #555555 } /* Name.Namespace */
|
40
|
+
.nt { color: #000080 } /* Name.Tag */
|
41
|
+
.nv { color: #008080 } /* Name.Variable */
|
42
|
+
.ow { color: #000000; font-weight: bold } /* Operator.Word */
|
43
|
+
.w { color: #bbbbbb } /* Text.Whitespace */
|
44
|
+
.mf { color: #009999 } /* Literal.Number.Float */
|
45
|
+
.mh { color: #009999 } /* Literal.Number.Hex */
|
46
|
+
.mi { color: #009999 } /* Literal.Number.Integer */
|
47
|
+
.mo { color: #009999 } /* Literal.Number.Oct */
|
48
|
+
.sb { color: #d01040 } /* Literal.String.Backtick */
|
49
|
+
.sc { color: #d01040 } /* Literal.String.Char */
|
50
|
+
.sd { color: #d01040 } /* Literal.String.Doc */
|
51
|
+
.s2 { color: #d01040 } /* Literal.String.Double */
|
52
|
+
.se { color: #d01040 } /* Literal.String.Escape */
|
53
|
+
.sh { color: #d01040 } /* Literal.String.Heredoc */
|
54
|
+
.si { color: #d01040 } /* Literal.String.Interpol */
|
55
|
+
.sx { color: #d01040 } /* Literal.String.Other */
|
56
|
+
.sr { color: #009926 } /* Literal.String.Regex */
|
57
|
+
.s1 { color: #d01040 } /* Literal.String.Single */
|
58
|
+
.ss { color: #990073 } /* Literal.String.Symbol */
|
59
|
+
.bp { color: #999999 } /* Name.Builtin.Pseudo */
|
60
|
+
.vc { color: #008080 } /* Name.Variable.Class */
|
61
|
+
.vg { color: #008080 } /* Name.Variable.Global */
|
62
|
+
.vi { color: #008080 } /* Name.Variable.Instance */
|
63
|
+
.il { color: #009999 } /* Literal.Number.Integer.Long */
|
@@ -0,0 +1,17 @@
|
|
1
|
+
.site-footer {
|
2
|
+
@extend %padding-regular;
|
3
|
+
display: inline-block;
|
4
|
+
text-align: center;
|
5
|
+
width: 100%;
|
6
|
+
color: lighten($text-color, 30%);
|
7
|
+
font-size: 0.9em;
|
8
|
+
|
9
|
+
.footer-icons {
|
10
|
+
ul {
|
11
|
+
list-style: none;
|
12
|
+
li {
|
13
|
+
display: inline;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,132 @@
|
|
1
|
+
.site-header {
|
2
|
+
padding: $padding-x-small $padding-x-small * 2;
|
3
|
+
padding-top: $padding-x-small;
|
4
|
+
background: $brand-color;
|
5
|
+
display: inline-block;
|
6
|
+
float: left;
|
7
|
+
width: 100%;
|
8
|
+
|
9
|
+
a {
|
10
|
+
color: $header-link-color;
|
11
|
+
}
|
12
|
+
|
13
|
+
.avatar {
|
14
|
+
height: 3em;
|
15
|
+
width: 3em;
|
16
|
+
float: left;
|
17
|
+
margin-top: -13px;
|
18
|
+
border-radius: 0.2em;
|
19
|
+
margin-right: 0.5em;
|
20
|
+
padding: 10px 10px;
|
21
|
+
|
22
|
+
}
|
23
|
+
|
24
|
+
.site-title {
|
25
|
+
float: left;
|
26
|
+
font-weight: bold;
|
27
|
+
font-size: 1em;
|
28
|
+
line-height: 1.5;
|
29
|
+
}
|
30
|
+
|
31
|
+
nav {
|
32
|
+
list-style: none;
|
33
|
+
margin: 0;
|
34
|
+
padding: 0;
|
35
|
+
ul {
|
36
|
+
margin: 0;
|
37
|
+
padding: 0;
|
38
|
+
list-style: none;
|
39
|
+
line-height: 1.5;
|
40
|
+
float: right;
|
41
|
+
text-align: right;
|
42
|
+
}
|
43
|
+
li {
|
44
|
+
display: inline;
|
45
|
+
float: left;
|
46
|
+
margin-right: 0.4em;
|
47
|
+
}
|
48
|
+
a {
|
49
|
+
&:hover {
|
50
|
+
color: $link-color;
|
51
|
+
}
|
52
|
+
&#pull {
|
53
|
+
i {
|
54
|
+
margin-top: 13px;
|
55
|
+
float: right;
|
56
|
+
}
|
57
|
+
|
58
|
+
}
|
59
|
+
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
|
65
|
+
// To clear things when we float the element inisde nav and ul
|
66
|
+
.clear {
|
67
|
+
*zoom: 1;
|
68
|
+
|
69
|
+
&:after {
|
70
|
+
clear: both;
|
71
|
+
}
|
72
|
+
|
73
|
+
&:before,
|
74
|
+
&:after {
|
75
|
+
content: " ";
|
76
|
+
display: table;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
/* ---- Responsive ---- */
|
81
|
+
|
82
|
+
@media (min-width: $break) {
|
83
|
+
a#pull {
|
84
|
+
display: none;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
@media screen and (max-width: $break) {
|
89
|
+
.site-header {
|
90
|
+
img.avatar {
|
91
|
+
margin-top: -7px
|
92
|
+
}
|
93
|
+
.site-title {
|
94
|
+
margin-top: 7px;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
nav {
|
99
|
+
height: auto;
|
100
|
+
|
101
|
+
ul {
|
102
|
+
width: 100%;
|
103
|
+
display: none;
|
104
|
+
height: auto;
|
105
|
+
}
|
106
|
+
|
107
|
+
li {
|
108
|
+
width: 100%;
|
109
|
+
float: left;
|
110
|
+
position: relative;
|
111
|
+
}
|
112
|
+
|
113
|
+
a {
|
114
|
+
text-align: left;
|
115
|
+
width: 100%;
|
116
|
+
|
117
|
+
&#pull {
|
118
|
+
display: block;
|
119
|
+
width: 100%;
|
120
|
+
position: relative;
|
121
|
+
|
122
|
+
&:after {
|
123
|
+
content: "";
|
124
|
+
display: inline-block;
|
125
|
+
position: absolute;
|
126
|
+
right: 15px;
|
127
|
+
top: 10px;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
#post-nav {
|
2
|
+
width: 100%;
|
3
|
+
border-bottom: 1px solid $border-color;
|
4
|
+
float: left;
|
5
|
+
text-align: center;
|
6
|
+
@extend %padding-small;
|
7
|
+
i {
|
8
|
+
vertical-align: middle;
|
9
|
+
}
|
10
|
+
a {
|
11
|
+
width: 100%;
|
12
|
+
display: inline-block;
|
13
|
+
padding: 0;
|
14
|
+
}
|
15
|
+
p {
|
16
|
+
@extend .meta;
|
17
|
+
}
|
18
|
+
.post-nav-post + .post-nav-post {
|
19
|
+
margin-top: 1em;
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,106 @@
|
|
1
|
+
// Header text feature
|
2
|
+
.call-out {
|
3
|
+
@extend %padding-regular;
|
4
|
+
object-fit: cover;
|
5
|
+
display: inline-block;
|
6
|
+
width: 100%;
|
7
|
+
height: 100%;
|
8
|
+
background-color: $header-desc-background-color;
|
9
|
+
font-size: 1.2em;
|
10
|
+
text-align: center;
|
11
|
+
color: $header-desc-text-color;
|
12
|
+
background-repeat: no-repeat;
|
13
|
+
|
14
|
+
@media (min-width: $break) {
|
15
|
+
background-size: $feature-image-size;
|
16
|
+
}
|
17
|
+
|
18
|
+
/* --- Responsive ---*/
|
19
|
+
@media screen and (max-width: 850px) {
|
20
|
+
background-size: auto 150%;
|
21
|
+
}
|
22
|
+
|
23
|
+
//For white images
|
24
|
+
p, a, li, h1, h2, h3, h4, h5 {
|
25
|
+
@extend .header-txt-shadow;
|
26
|
+
}
|
27
|
+
|
28
|
+
}
|
29
|
+
|
30
|
+
.call-out p:last-child {
|
31
|
+
margin-bottom: 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
// Post listing
|
35
|
+
.posts {
|
36
|
+
.post-teaser {
|
37
|
+
@extend %padding-regular;
|
38
|
+
width: 100%;
|
39
|
+
margin-bottom: 0;
|
40
|
+
display: inline-block;
|
41
|
+
background-size: $feature-image-size;
|
42
|
+
border-bottom: 1px solid $border-color;
|
43
|
+
p a {
|
44
|
+
@extend .body-link;
|
45
|
+
}
|
46
|
+
img {
|
47
|
+
padding: 0;
|
48
|
+
vertical-align: middle;
|
49
|
+
}
|
50
|
+
|
51
|
+
.post-img {
|
52
|
+
vertical-align: middle;
|
53
|
+
border-radius: 25px;
|
54
|
+
overflow: hidden;
|
55
|
+
|
56
|
+
@media (min-width: $break) {
|
57
|
+
height: 250px;
|
58
|
+
}
|
59
|
+
|
60
|
+
//Smaller screen
|
61
|
+
@media screen and (max-width: $break) {
|
62
|
+
height: 150px;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
.post-img img {
|
67
|
+
//max-width: 100%;
|
68
|
+
-moz-transform: scale(1);
|
69
|
+
-webkit-transform: scale(1);
|
70
|
+
transform: scale(1);
|
71
|
+
|
72
|
+
-moz-transition-timing-function: ease-out;
|
73
|
+
-webkit-transition-timing-function: ease-out;
|
74
|
+
transition-timing-function: ease-out;
|
75
|
+
|
76
|
+
-moz-transition: all 5s;
|
77
|
+
-webkit-transition: all 5s;
|
78
|
+
transition: all 5s;
|
79
|
+
|
80
|
+
&:hover {
|
81
|
+
-moz-transform: scale(1.3);
|
82
|
+
-webkit-transform: scale(1.3);
|
83
|
+
transform: scale(1.3);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
.excerpt {
|
88
|
+
margin-top: 1em;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
// Pagination
|
93
|
+
.pagination .button {
|
94
|
+
margin: 0 1.5em;
|
95
|
+
i {
|
96
|
+
vertical-align: middle;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.pagination {
|
101
|
+
padding: $padding-small $padding-large 0 $padding-large;
|
102
|
+
text-align: center;
|
103
|
+
@media (max-width: 600px) {
|
104
|
+
padding: $padding-small;
|
105
|
+
}
|
106
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
.portfolio * {
|
2
|
+
z-index: 2;
|
3
|
+
margin: 8% 5%;
|
4
|
+
img {
|
5
|
+
padding: 0 0;
|
6
|
+
margin: 0 0;
|
7
|
+
}
|
8
|
+
|
9
|
+
.portfolio-item {
|
10
|
+
right: 0;
|
11
|
+
margin: 0 0 15px;
|
12
|
+
|
13
|
+
@media(min-width: 767px) {
|
14
|
+
margin: 0 0 30px;
|
15
|
+
}
|
16
|
+
|
17
|
+
.portfolio-link {
|
18
|
+
display: block;
|
19
|
+
position: relative;
|
20
|
+
margin: 0 auto;
|
21
|
+
max-width: 400px;
|
22
|
+
|
23
|
+
.caption {
|
24
|
+
margin: 0;
|
25
|
+
position: absolute;
|
26
|
+
width: 100%;
|
27
|
+
height: 100%;
|
28
|
+
text-align: center;
|
29
|
+
opacity: 0;
|
30
|
+
background: $link-shadow;
|
31
|
+
-webkit-transition: all ease .5s;
|
32
|
+
-moz-transition: all ease .5s;
|
33
|
+
transition: all ease .5s;
|
34
|
+
font: 0/0 a;
|
35
|
+
&::before {
|
36
|
+
content: ' ';
|
37
|
+
display: inline-block;
|
38
|
+
vertical-align: middle;
|
39
|
+
height: 100%;
|
40
|
+
}
|
41
|
+
|
42
|
+
&:hover {
|
43
|
+
opacity: 1;
|
44
|
+
}
|
45
|
+
.caption-content {
|
46
|
+
font-family: 'Lora', 'Times New Roman', serif;
|
47
|
+
font-size: 15px;
|
48
|
+
color: #fff;
|
49
|
+
margin: auto;
|
50
|
+
text-align: center;
|
51
|
+
display: inline-block;
|
52
|
+
vertical-align: middle;
|
53
|
+
|
54
|
+
@media screen and (max-width: $sm-break) {
|
55
|
+
font-size: 7px;
|
56
|
+
}
|
57
|
+
|
58
|
+
h3,
|
59
|
+
h4 {
|
60
|
+
margin: 0;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
/* --- Responsive --- */
|
69
|
+
|
70
|
+
@media screen and (max-width: $sm-break) {
|
71
|
+
.portfolio {
|
72
|
+
.caption-content {
|
73
|
+
font-size: 7px;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
@@ -0,0 +1,114 @@
|
|
1
|
+
article,
|
2
|
+
.comments {
|
3
|
+
@extend %padding-regular;
|
4
|
+
border-bottom: 1px solid $border-color;
|
5
|
+
float: left;
|
6
|
+
width: 100%;
|
7
|
+
}
|
8
|
+
|
9
|
+
article {
|
10
|
+
header {
|
11
|
+
margin-bottom: 6%;
|
12
|
+
text-align: center;
|
13
|
+
}
|
14
|
+
a:hover {
|
15
|
+
@extend .body-link;
|
16
|
+
}
|
17
|
+
.footnotes {
|
18
|
+
font-size: 0.9em;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
footer {
|
23
|
+
width: 100%;
|
24
|
+
margin-top: 0;
|
25
|
+
margin-bottom: 0;
|
26
|
+
font-size: 0.9em;
|
27
|
+
display: inline-block;
|
28
|
+
text-align: center;
|
29
|
+
.meta {
|
30
|
+
color: rgba($text-color, .5);
|
31
|
+
letter-spacing: 0.1em;
|
32
|
+
display: inline;
|
33
|
+
text-transform: uppercase;
|
34
|
+
}
|
35
|
+
a.button {
|
36
|
+
margin-left: 1em;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
header {
|
41
|
+
h1 {
|
42
|
+
margin: 0;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.meta {
|
47
|
+
color: rgba($text-color, .5);
|
48
|
+
font-size: 0.9em;
|
49
|
+
letter-spacing: 0.1em;
|
50
|
+
margin: 0;
|
51
|
+
text-transform: uppercase;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* --- Feature image --- */
|
55
|
+
.feature-image {
|
56
|
+
padding: 0%;
|
57
|
+
.post-link {
|
58
|
+
color: $feature-image-text-color;
|
59
|
+
}
|
60
|
+
header {
|
61
|
+
color: $feature-image-text-color;
|
62
|
+
background-size: $feature-image-size;
|
63
|
+
margin-bottom: 0;
|
64
|
+
padding: $padding-large/2.5 $padding-large;
|
65
|
+
.meta {
|
66
|
+
color: rgba($feature-image-text-color, .7);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
.post-content {
|
70
|
+
@extend %padding-regular;
|
71
|
+
padding-bottom: 0;
|
72
|
+
}
|
73
|
+
footer {
|
74
|
+
@extend %padding-regular;
|
75
|
+
padding-top: 0;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
// Responsive scrolling
|
80
|
+
.feature-image header {
|
81
|
+
@media screen and (max-width: $break) {
|
82
|
+
padding: $padding-small $padding-small;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
/* --- Post navigation --- */
|
87
|
+
#post-nav {
|
88
|
+
width: 100%;
|
89
|
+
border-bottom: 1px solid $border-color;
|
90
|
+
display: flex;
|
91
|
+
float: left;
|
92
|
+
|
93
|
+
a,
|
94
|
+
.page-title {
|
95
|
+
display: inline-block;
|
96
|
+
}
|
97
|
+
|
98
|
+
.page-title {
|
99
|
+
font-size: 1.2em;
|
100
|
+
margin-bottom: 1em;
|
101
|
+
width: 100%;
|
102
|
+
}
|
103
|
+
|
104
|
+
a {
|
105
|
+
padding: 2em 3em;
|
106
|
+
border: 1px solid rgba(255, 255, 255, 0);
|
107
|
+
text-align: center;
|
108
|
+
width: 50%;
|
109
|
+
}
|
110
|
+
|
111
|
+
i {
|
112
|
+
vertical-align: middle;
|
113
|
+
}
|
114
|
+
}
|