sparrow-jekyll-theme 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +20 -20
- data/README.md +170 -178
- data/_includes/analytics.html +13 -13
- data/_includes/breadcrumbs.html +31 -31
- data/_includes/comments.html +26 -26
- data/_includes/figure +12 -12
- data/_includes/paginator.html +8 -69
- data/_includes/post-entry.html +15 -15
- data/_includes/seo.html +77 -77
- data/_includes/social-share.html +42 -42
- data/_includes/topnav.html +46 -46
- data/_layouts/default.html +46 -46
- data/_layouts/home.html +11 -11
- data/_layouts/page.html +16 -16
- data/_layouts/post.html +38 -38
- data/_sass/_base.scss +359 -359
- data/_sass/_buttons.scss +61 -61
- data/_sass/_footer.scss +53 -53
- data/_sass/_navigation.scss +216 -216
- data/_sass/_page.scss +60 -60
- data/_sass/_post.scss +85 -85
- data/_sass/_reset.scss +186 -186
- data/_sass/_rrssb.scss +276 -276
- data/_sass/_slimmenu.scss +177 -177
- data/_sass/_syntax.scss +125 -125
- data/_sass/_utilities.scss +67 -67
- data/_sass/_variables.scss +73 -73
- data/_sass/vendor/breakpoint/_breakpoint.scss +114 -114
- data/_sass/vendor/breakpoint/_context.scss +94 -94
- data/_sass/vendor/breakpoint/_helpers.scss +151 -151
- data/_sass/vendor/breakpoint/_legacy-settings.scss +49 -49
- data/_sass/vendor/breakpoint/_no-query.scss +15 -15
- data/_sass/vendor/breakpoint/_parsers.scss +215 -215
- data/_sass/vendor/breakpoint/_respond-to.scss +82 -82
- data/_sass/vendor/breakpoint/_settings.scss +70 -70
- data/_sass/vendor/breakpoint/parsers/_double.scss +33 -33
- data/_sass/vendor/breakpoint/parsers/_query.scss +82 -82
- data/_sass/vendor/breakpoint/parsers/_resolution.scss +31 -31
- data/_sass/vendor/breakpoint/parsers/_single.scss +26 -26
- data/_sass/vendor/breakpoint/parsers/_triple.scss +36 -36
- data/_sass/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
- data/_sass/vendor/breakpoint/parsers/double/_default.scss +22 -22
- data/_sass/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
- data/_sass/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
- data/_sass/vendor/breakpoint/parsers/single/_default.scss +13 -13
- data/_sass/vendor/breakpoint/parsers/triple/_default.scss +18 -18
- data/_sass/vendor/font-awesome/_animated.scss +34 -34
- data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -25
- data/_sass/vendor/font-awesome/_core.scss +12 -12
- data/_sass/vendor/font-awesome/_fixed-width.scss +6 -6
- data/_sass/vendor/font-awesome/_font-awesome.scss +18 -18
- data/_sass/vendor/font-awesome/_icons.scss +789 -789
- data/_sass/vendor/font-awesome/_larger.scss +13 -13
- data/_sass/vendor/font-awesome/_list.scss +19 -19
- data/_sass/vendor/font-awesome/_mixins.scss +60 -60
- data/_sass/vendor/font-awesome/_path.scss +15 -15
- data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -20
- data/_sass/vendor/font-awesome/_screen-reader.scss +5 -5
- data/_sass/vendor/font-awesome/_stacked.scss +20 -20
- data/_sass/vendor/font-awesome/_variables.scss +800 -800
- data/_sass/vendor/susy/_su.scss +4 -4
- data/_sass/vendor/susy/_susy.scss +4 -4
- data/_sass/vendor/susy/_susyone.scss +4 -4
- data/_sass/vendor/susy/susy/_su.scss +7 -7
- data/_sass/vendor/susy/susy/language/_susy.scss +24 -24
- data/_sass/vendor/susy/susy/language/_susyone.scss +13 -13
- data/_sass/vendor/susy/susy/language/susy/_background.scss +385 -385
- data/_sass/vendor/susy/susy/language/susy/_bleed.scss +200 -200
- data/_sass/vendor/susy/susy/language/susy/_box-sizing.scss +47 -47
- data/_sass/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -185
- data/_sass/vendor/susy/susy/language/susy/_container.scss +81 -81
- data/_sass/vendor/susy/susy/language/susy/_context.scss +36 -36
- data/_sass/vendor/susy/susy/language/susy/_gallery.scss +94 -94
- data/_sass/vendor/susy/susy/language/susy/_grids.scss +64 -64
- data/_sass/vendor/susy/susy/language/susy/_gutters.scss +154 -154
- data/_sass/vendor/susy/susy/language/susy/_isolate.scss +77 -77
- data/_sass/vendor/susy/susy/language/susy/_margins.scss +94 -94
- data/_sass/vendor/susy/susy/language/susy/_padding.scss +74 -74
- data/_sass/vendor/susy/susy/language/susy/_rows.scss +138 -138
- data/_sass/vendor/susy/susy/language/susy/_settings.scss +216 -216
- data/_sass/vendor/susy/susy/language/susy/_span.scss +163 -163
- data/_sass/vendor/susy/susy/language/susy/_validation.scss +16 -16
- data/_sass/vendor/susy/susy/language/susyone/_background.scss +18 -18
- data/_sass/vendor/susy/susy/language/susyone/_functions.scss +377 -377
- data/_sass/vendor/susy/susy/language/susyone/_grid.scss +312 -312
- data/_sass/vendor/susy/susy/language/susyone/_isolation.scss +51 -51
- data/_sass/vendor/susy/susy/language/susyone/_margin.scss +93 -93
- data/_sass/vendor/susy/susy/language/susyone/_media.scss +105 -105
- data/_sass/vendor/susy/susy/language/susyone/_padding.scss +92 -92
- data/_sass/vendor/susy/susy/language/susyone/_settings.scss +60 -60
- data/_sass/vendor/susy/susy/output/_float.scss +9 -9
- data/_sass/vendor/susy/susy/output/_shared.scss +15 -15
- data/_sass/vendor/susy/susy/output/_support.scss +9 -9
- data/_sass/vendor/susy/susy/output/float/_container.scss +16 -16
- data/_sass/vendor/susy/susy/output/float/_end.scss +40 -40
- data/_sass/vendor/susy/susy/output/float/_isolate.scss +22 -22
- data/_sass/vendor/susy/susy/output/float/_span.scss +35 -35
- data/_sass/vendor/susy/susy/output/shared/_background.scss +26 -26
- data/_sass/vendor/susy/susy/output/shared/_container.scss +21 -21
- data/_sass/vendor/susy/susy/output/shared/_direction.scss +42 -42
- data/_sass/vendor/susy/susy/output/shared/_inspect.scss +25 -25
- data/_sass/vendor/susy/susy/output/shared/_margins.scss +23 -23
- data/_sass/vendor/susy/susy/output/shared/_output.scss +14 -14
- data/_sass/vendor/susy/susy/output/shared/_padding.scss +23 -23
- data/_sass/vendor/susy/susy/output/support/_background.scss +58 -58
- data/_sass/vendor/susy/susy/output/support/_box-sizing.scss +19 -19
- data/_sass/vendor/susy/susy/output/support/_clearfix.scss +18 -18
- data/_sass/vendor/susy/susy/output/support/_prefix.scss +19 -19
- data/_sass/vendor/susy/susy/output/support/_rem.scss +22 -22
- data/_sass/vendor/susy/susy/output/support/_support.scss +85 -85
- data/_sass/vendor/susy/susy/su/_grid.scss +103 -103
- data/_sass/vendor/susy/susy/su/_settings.scss +73 -73
- data/_sass/vendor/susy/susy/su/_utilities.scss +111 -111
- data/_sass/vendor/susy/susy/su/_validation.scss +57 -57
- data/assets/css/main.scss +43 -43
- data/assets/fonts/fontawesome-webfont.svg +2671 -2671
- data/assets/js/main.js +35 -35
- data/assets/js/plugins/jquery-1.12.4.min.js +4 -4
- data/assets/js/slimmenu.js +154 -154
- metadata +6 -6
data/_sass/_buttons.scss
CHANGED
@@ -1,62 +1,62 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
BUTTONS
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
/*
|
6
|
-
Default button
|
7
|
-
========================================================================== */
|
8
|
-
|
9
|
-
.btn {
|
10
|
-
/* default button */
|
11
|
-
display: inline-block;
|
12
|
-
margin-bottom: 0.25em;
|
13
|
-
padding: 0.5em 1em;
|
14
|
-
color: #fff !important;
|
15
|
-
font-family: $caption-font-family;
|
16
|
-
text-align: center;
|
17
|
-
text-decoration: none;
|
18
|
-
background-color: $theme-color;
|
19
|
-
border: 0 !important;
|
20
|
-
border-radius: $border-radius;
|
21
|
-
cursor: pointer;
|
22
|
-
|
23
|
-
&:hover {
|
24
|
-
background-color: $link-color-hover;
|
25
|
-
}
|
26
|
-
|
27
|
-
.icon {
|
28
|
-
margin-right: 0.5em;
|
29
|
-
}
|
30
|
-
|
31
|
-
.icon + .hidden {
|
32
|
-
margin-left: -0.5em; /* override for hidden text*/
|
33
|
-
}
|
34
|
-
|
35
|
-
/* fills width of parent container */
|
36
|
-
|
37
|
-
&--block {
|
38
|
-
display: block;
|
39
|
-
width: 100%;
|
40
|
-
|
41
|
-
+ .btn--block {
|
42
|
-
margin-top: 0.25em;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
/* light outline */
|
47
|
-
|
48
|
-
&--light-outline {
|
49
|
-
border: 1px solid #fff !important; /* override*/
|
50
|
-
background-color: transparent;
|
51
|
-
}
|
52
|
-
|
53
|
-
/* disabled */
|
54
|
-
|
55
|
-
&--disabled {
|
56
|
-
pointer-events: none;
|
57
|
-
cursor: not-allowed;
|
58
|
-
filter: alpha(opacity=65);
|
59
|
-
box-shadow: none;
|
60
|
-
opacity: 0.65;
|
61
|
-
}
|
1
|
+
/* ==========================================================================
|
2
|
+
BUTTONS
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/*
|
6
|
+
Default button
|
7
|
+
========================================================================== */
|
8
|
+
|
9
|
+
.btn {
|
10
|
+
/* default button */
|
11
|
+
display: inline-block;
|
12
|
+
margin-bottom: 0.25em;
|
13
|
+
padding: 0.5em 1em;
|
14
|
+
color: #fff !important;
|
15
|
+
font-family: $caption-font-family;
|
16
|
+
text-align: center;
|
17
|
+
text-decoration: none;
|
18
|
+
background-color: $theme-color;
|
19
|
+
border: 0 !important;
|
20
|
+
border-radius: $border-radius;
|
21
|
+
cursor: pointer;
|
22
|
+
|
23
|
+
&:hover {
|
24
|
+
background-color: $link-color-hover;
|
25
|
+
}
|
26
|
+
|
27
|
+
.icon {
|
28
|
+
margin-right: 0.5em;
|
29
|
+
}
|
30
|
+
|
31
|
+
.icon + .hidden {
|
32
|
+
margin-left: -0.5em; /* override for hidden text*/
|
33
|
+
}
|
34
|
+
|
35
|
+
/* fills width of parent container */
|
36
|
+
|
37
|
+
&--block {
|
38
|
+
display: block;
|
39
|
+
width: 100%;
|
40
|
+
|
41
|
+
+ .btn--block {
|
42
|
+
margin-top: 0.25em;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
/* light outline */
|
47
|
+
|
48
|
+
&--light-outline {
|
49
|
+
border: 1px solid #fff !important; /* override*/
|
50
|
+
background-color: transparent;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* disabled */
|
54
|
+
|
55
|
+
&--disabled {
|
56
|
+
pointer-events: none;
|
57
|
+
cursor: not-allowed;
|
58
|
+
filter: alpha(opacity=65);
|
59
|
+
box-shadow: none;
|
60
|
+
opacity: 0.65;
|
61
|
+
}
|
62
62
|
}
|
data/_sass/_footer.scss
CHANGED
@@ -1,53 +1,53 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
FOOTER
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
.page__footer {
|
6
|
-
@include full();
|
7
|
-
@include clearfix;
|
8
|
-
/* sticky footer fix start */
|
9
|
-
position: absolute;
|
10
|
-
bottom: 0;
|
11
|
-
width: 100%;
|
12
|
-
clear: both;
|
13
|
-
height: auto;
|
14
|
-
/* sticky footer fix end */
|
15
|
-
margin-top: 3em;
|
16
|
-
color: mix(#fff, $gray, 25%);
|
17
|
-
-webkit-animation: intro 0.3s both;
|
18
|
-
animation: intro 0.3s both;
|
19
|
-
-webkit-animation-delay: 0.45s;
|
20
|
-
animation-delay: 0.45s;
|
21
|
-
background-color: mix(#fff, $gray, 90%);
|
22
|
-
border-top: 1px solid mix(#fff, $gray, 50%);
|
23
|
-
|
24
|
-
footer {
|
25
|
-
@include container;
|
26
|
-
@include clearfix;
|
27
|
-
margin-top: 0.5em;
|
28
|
-
padding: 0 1em 0.5em;
|
29
|
-
text-align: center;
|
30
|
-
|
31
|
-
@include breakpoint($x-large) {
|
32
|
-
max-width: $x-large;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
a {
|
37
|
-
color: inherit;
|
38
|
-
text-decoration: underline;
|
39
|
-
|
40
|
-
&:hover {
|
41
|
-
text-decoration: underline;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
.page__footer-copyright {
|
47
|
-
font-size: $type-size-7;
|
48
|
-
}
|
49
|
-
|
50
|
-
.page__footer-heart {
|
51
|
-
color: $theme-color;
|
52
|
-
}
|
53
|
-
|
1
|
+
/* ==========================================================================
|
2
|
+
FOOTER
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.page__footer {
|
6
|
+
@include full();
|
7
|
+
@include clearfix;
|
8
|
+
/* sticky footer fix start */
|
9
|
+
position: absolute;
|
10
|
+
bottom: 0;
|
11
|
+
width: 100%;
|
12
|
+
clear: both;
|
13
|
+
height: auto;
|
14
|
+
/* sticky footer fix end */
|
15
|
+
margin-top: 3em;
|
16
|
+
color: mix(#fff, $gray, 25%);
|
17
|
+
-webkit-animation: intro 0.3s both;
|
18
|
+
animation: intro 0.3s both;
|
19
|
+
-webkit-animation-delay: 0.45s;
|
20
|
+
animation-delay: 0.45s;
|
21
|
+
background-color: mix(#fff, $gray, 90%);
|
22
|
+
border-top: 1px solid mix(#fff, $gray, 50%);
|
23
|
+
|
24
|
+
footer {
|
25
|
+
@include container;
|
26
|
+
@include clearfix;
|
27
|
+
margin-top: 0.5em;
|
28
|
+
padding: 0 1em 0.5em;
|
29
|
+
text-align: center;
|
30
|
+
|
31
|
+
@include breakpoint($x-large) {
|
32
|
+
max-width: $x-large;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
a {
|
37
|
+
color: inherit;
|
38
|
+
text-decoration: underline;
|
39
|
+
|
40
|
+
&:hover {
|
41
|
+
text-decoration: underline;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.page__footer-copyright {
|
47
|
+
font-size: $type-size-7;
|
48
|
+
}
|
49
|
+
|
50
|
+
.page__footer-heart {
|
51
|
+
color: $theme-color;
|
52
|
+
}
|
53
|
+
|
data/_sass/_navigation.scss
CHANGED
@@ -1,217 +1,217 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
NAVIGATION
|
3
|
-
========================================================================== */
|
4
|
-
|
5
|
-
/*
|
6
|
-
Breadcrumb navigation links
|
7
|
-
========================================================================== */
|
8
|
-
|
9
|
-
.breadcrumbs {
|
10
|
-
@include container;
|
11
|
-
@include clearfix;
|
12
|
-
margin-top: 0;
|
13
|
-
margin-bottom: 0;
|
14
|
-
padding-left: 2em;
|
15
|
-
padding-right: 2em;
|
16
|
-
-webkit-animation: intro 0.3s both;
|
17
|
-
animation: intro 0.3s both;
|
18
|
-
-webkit-animation-delay: 0.30s;
|
19
|
-
animation-delay: 0.30s;
|
20
|
-
|
21
|
-
@include breakpoint($large) {
|
22
|
-
padding-left: 1em;
|
23
|
-
padding-right: 1em;
|
24
|
-
}
|
25
|
-
|
26
|
-
@include breakpoint($x-large) {
|
27
|
-
max-width: $x-large;
|
28
|
-
}
|
29
|
-
|
30
|
-
ol {
|
31
|
-
padding: 0;
|
32
|
-
list-style: none;
|
33
|
-
font-size: $type-size-6;
|
34
|
-
|
35
|
-
@include breakpoint($large) {
|
36
|
-
@include span(10 of 12 last);
|
37
|
-
}
|
38
|
-
|
39
|
-
@include breakpoint($x-large) {
|
40
|
-
@include prefix(0.5 of 12);
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
li {
|
45
|
-
display: inline;
|
46
|
-
}
|
47
|
-
|
48
|
-
.current {
|
49
|
-
font-weight: bold;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
|
54
|
-
/*
|
55
|
-
Pagination navigation links
|
56
|
-
========================================================================== */
|
57
|
-
|
58
|
-
.pagination {
|
59
|
-
@include full();
|
60
|
-
@include clearfix();
|
61
|
-
margin-top: 1em;
|
62
|
-
padding-top: 1em;
|
63
|
-
|
64
|
-
ul {
|
65
|
-
margin: 0;
|
66
|
-
padding: 0;
|
67
|
-
list-style-type: none;
|
68
|
-
}
|
69
|
-
|
70
|
-
li {
|
71
|
-
display: block;
|
72
|
-
float: left;
|
73
|
-
margin-left: -1px;
|
74
|
-
|
75
|
-
a {
|
76
|
-
display: block;
|
77
|
-
margin-bottom: 0.25em;
|
78
|
-
padding: 0.5em 1em;
|
79
|
-
font-size: 14px;
|
80
|
-
line-height: 1.5;
|
81
|
-
text-align: center;
|
82
|
-
text-decoration: none;
|
83
|
-
border: 1px solid $border-color;
|
84
|
-
border-radius: 0;
|
85
|
-
|
86
|
-
&:hover {
|
87
|
-
color: $link-color-hover;
|
88
|
-
}
|
89
|
-
|
90
|
-
&.current {
|
91
|
-
color: #fff;
|
92
|
-
background: $theme-color;
|
93
|
-
}
|
94
|
-
|
95
|
-
&.disabled {
|
96
|
-
color: mix(#fff, $gray, 75%);
|
97
|
-
pointer-events: none;
|
98
|
-
cursor: not-allowed;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
&:first-child {
|
103
|
-
margin-left: 0;
|
104
|
-
|
105
|
-
a {
|
106
|
-
border-top-left-radius: $border-radius;
|
107
|
-
border-bottom-left-radius: $border-radius;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
|
-
&:last-child {
|
112
|
-
a {
|
113
|
-
border-top-right-radius: $border-radius;
|
114
|
-
border-bottom-right-radius: $border-radius;
|
115
|
-
}
|
116
|
-
}
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
.page__content + .pagination,
|
121
|
-
.page__meta + .pagination,
|
122
|
-
.page__share + .pagination,
|
123
|
-
.page__comments + .pagination {
|
124
|
-
margin-top: 2em;
|
125
|
-
padding-top: 0;
|
126
|
-
border-top: 1px solid $border-color;
|
127
|
-
border-bottom: 1px solid $border-color;
|
128
|
-
}
|
129
|
-
|
130
|
-
|
131
|
-
/*
|
132
|
-
Header navigation
|
133
|
-
========================================================================== */
|
134
|
-
|
135
|
-
|
136
|
-
.topnav {
|
137
|
-
-webkit-transform: translate3d(0, 0 , 0);
|
138
|
-
transform: translate3d(0, 0 , 0);
|
139
|
-
|
140
|
-
@include clearfix();
|
141
|
-
margin: auto;
|
142
|
-
margin-bottom: 2em;
|
143
|
-
max-width: $max-width;
|
144
|
-
|
145
|
-
h2, h3, h4, h5, h6 {
|
146
|
-
margin-bottom: 0;
|
147
|
-
}
|
148
|
-
|
149
|
-
p, li {
|
150
|
-
font-size: 1rem; // prevent fonts from getting smaller with each layer
|
151
|
-
line-height: 1.5;
|
152
|
-
}
|
153
|
-
}
|
154
|
-
|
155
|
-
.topnav__avatar {
|
156
|
-
display: table-cell;
|
157
|
-
vertical-align: top;
|
158
|
-
width: 7em;
|
159
|
-
height: 7em;
|
160
|
-
|
161
|
-
@include breakpoint(max-width $small) {
|
162
|
-
@include full();
|
163
|
-
height: inherit;
|
164
|
-
margin-bottom: 1em;
|
165
|
-
}
|
166
|
-
|
167
|
-
img {
|
168
|
-
height: auto;
|
169
|
-
@include breakpoint(max-width $small) {
|
170
|
-
width: 8em;
|
171
|
-
display: block;
|
172
|
-
margin: 0 auto;
|
173
|
-
}
|
174
|
-
@include breakpoint($large) {
|
175
|
-
padding: 5px;
|
176
|
-
}
|
177
|
-
}
|
178
|
-
}
|
179
|
-
|
180
|
-
.topnav__content {
|
181
|
-
display: table-cell;
|
182
|
-
vertical-align: top;
|
183
|
-
padding-left: 15px;
|
184
|
-
padding-right: 25px;
|
185
|
-
line-height: 1;
|
186
|
-
|
187
|
-
@include breakpoint(max-width $small) {
|
188
|
-
@include full();
|
189
|
-
h3, p, ul, li { text-align: center; }
|
190
|
-
ul.collapsed li { text-align: left; }
|
191
|
-
}
|
192
|
-
@include breakpoint($large) {
|
193
|
-
padding-top: 1em;
|
194
|
-
}
|
195
|
-
}
|
196
|
-
|
197
|
-
.site__name {
|
198
|
-
margin: 0;
|
199
|
-
font-family: $fancy-font-family;
|
200
|
-
font-size: $type-size-2;
|
201
|
-
}
|
202
|
-
|
203
|
-
.site__bio {
|
204
|
-
margin: 0;
|
205
|
-
}
|
206
|
-
|
207
|
-
.menu-item {
|
208
|
-
display: inline-block;
|
209
|
-
a {
|
210
|
-
color: $text-color;
|
211
|
-
}
|
212
|
-
}
|
213
|
-
|
214
|
-
nav .links {
|
215
|
-
padding: 0;
|
216
|
-
font-size: $type-size-3;
|
1
|
+
/* ==========================================================================
|
2
|
+
NAVIGATION
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/*
|
6
|
+
Breadcrumb navigation links
|
7
|
+
========================================================================== */
|
8
|
+
|
9
|
+
.breadcrumbs {
|
10
|
+
@include container;
|
11
|
+
@include clearfix;
|
12
|
+
margin-top: 0;
|
13
|
+
margin-bottom: 0;
|
14
|
+
padding-left: 2em;
|
15
|
+
padding-right: 2em;
|
16
|
+
-webkit-animation: intro 0.3s both;
|
17
|
+
animation: intro 0.3s both;
|
18
|
+
-webkit-animation-delay: 0.30s;
|
19
|
+
animation-delay: 0.30s;
|
20
|
+
|
21
|
+
@include breakpoint($large) {
|
22
|
+
padding-left: 1em;
|
23
|
+
padding-right: 1em;
|
24
|
+
}
|
25
|
+
|
26
|
+
@include breakpoint($x-large) {
|
27
|
+
max-width: $x-large;
|
28
|
+
}
|
29
|
+
|
30
|
+
ol {
|
31
|
+
padding: 0;
|
32
|
+
list-style: none;
|
33
|
+
font-size: $type-size-6;
|
34
|
+
|
35
|
+
@include breakpoint($large) {
|
36
|
+
@include span(10 of 12 last);
|
37
|
+
}
|
38
|
+
|
39
|
+
@include breakpoint($x-large) {
|
40
|
+
@include prefix(0.5 of 12);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
li {
|
45
|
+
display: inline;
|
46
|
+
}
|
47
|
+
|
48
|
+
.current {
|
49
|
+
font-weight: bold;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
/*
|
55
|
+
Pagination navigation links
|
56
|
+
========================================================================== */
|
57
|
+
|
58
|
+
.pagination {
|
59
|
+
@include full();
|
60
|
+
@include clearfix();
|
61
|
+
margin-top: 1em;
|
62
|
+
padding-top: 1em;
|
63
|
+
|
64
|
+
ul {
|
65
|
+
margin: 0;
|
66
|
+
padding: 0;
|
67
|
+
list-style-type: none;
|
68
|
+
}
|
69
|
+
|
70
|
+
li {
|
71
|
+
display: block;
|
72
|
+
float: left;
|
73
|
+
margin-left: -1px;
|
74
|
+
|
75
|
+
a {
|
76
|
+
display: block;
|
77
|
+
margin-bottom: 0.25em;
|
78
|
+
padding: 0.5em 1em;
|
79
|
+
font-size: 14px;
|
80
|
+
line-height: 1.5;
|
81
|
+
text-align: center;
|
82
|
+
text-decoration: none;
|
83
|
+
border: 1px solid $border-color;
|
84
|
+
border-radius: 0;
|
85
|
+
|
86
|
+
&:hover {
|
87
|
+
color: $link-color-hover;
|
88
|
+
}
|
89
|
+
|
90
|
+
&.current {
|
91
|
+
color: #fff;
|
92
|
+
background: $theme-color;
|
93
|
+
}
|
94
|
+
|
95
|
+
&.disabled {
|
96
|
+
color: mix(#fff, $gray, 75%);
|
97
|
+
pointer-events: none;
|
98
|
+
cursor: not-allowed;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
&:first-child {
|
103
|
+
margin-left: 0;
|
104
|
+
|
105
|
+
a {
|
106
|
+
border-top-left-radius: $border-radius;
|
107
|
+
border-bottom-left-radius: $border-radius;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
&:last-child {
|
112
|
+
a {
|
113
|
+
border-top-right-radius: $border-radius;
|
114
|
+
border-bottom-right-radius: $border-radius;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
.page__content + .pagination,
|
121
|
+
.page__meta + .pagination,
|
122
|
+
.page__share + .pagination,
|
123
|
+
.page__comments + .pagination {
|
124
|
+
margin-top: 2em;
|
125
|
+
padding-top: 0;
|
126
|
+
border-top: 1px solid $border-color;
|
127
|
+
border-bottom: 1px solid $border-color;
|
128
|
+
}
|
129
|
+
|
130
|
+
|
131
|
+
/*
|
132
|
+
Header navigation
|
133
|
+
========================================================================== */
|
134
|
+
|
135
|
+
|
136
|
+
.topnav {
|
137
|
+
-webkit-transform: translate3d(0, 0 , 0);
|
138
|
+
transform: translate3d(0, 0 , 0);
|
139
|
+
|
140
|
+
@include clearfix();
|
141
|
+
margin: auto;
|
142
|
+
margin-bottom: 2em;
|
143
|
+
max-width: $max-width;
|
144
|
+
|
145
|
+
h2, h3, h4, h5, h6 {
|
146
|
+
margin-bottom: 0;
|
147
|
+
}
|
148
|
+
|
149
|
+
p, li {
|
150
|
+
font-size: 1rem; // prevent fonts from getting smaller with each layer
|
151
|
+
line-height: 1.5;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
.topnav__avatar {
|
156
|
+
display: table-cell;
|
157
|
+
vertical-align: top;
|
158
|
+
width: 7em;
|
159
|
+
height: 7em;
|
160
|
+
|
161
|
+
@include breakpoint(max-width $small) {
|
162
|
+
@include full();
|
163
|
+
height: inherit;
|
164
|
+
margin-bottom: 1em;
|
165
|
+
}
|
166
|
+
|
167
|
+
img {
|
168
|
+
height: auto;
|
169
|
+
@include breakpoint(max-width $small) {
|
170
|
+
width: 8em;
|
171
|
+
display: block;
|
172
|
+
margin: 0 auto;
|
173
|
+
}
|
174
|
+
@include breakpoint($large) {
|
175
|
+
padding: 5px;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
|
180
|
+
.topnav__content {
|
181
|
+
display: table-cell;
|
182
|
+
vertical-align: top;
|
183
|
+
padding-left: 15px;
|
184
|
+
padding-right: 25px;
|
185
|
+
line-height: 1;
|
186
|
+
|
187
|
+
@include breakpoint(max-width $small) {
|
188
|
+
@include full();
|
189
|
+
h3, p, ul, li { text-align: center; }
|
190
|
+
ul.collapsed li { text-align: left; }
|
191
|
+
}
|
192
|
+
@include breakpoint($large) {
|
193
|
+
padding-top: 1em;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
.site__name {
|
198
|
+
margin: 0;
|
199
|
+
font-family: $fancy-font-family;
|
200
|
+
font-size: $type-size-2;
|
201
|
+
}
|
202
|
+
|
203
|
+
.site__bio {
|
204
|
+
margin: 0;
|
205
|
+
}
|
206
|
+
|
207
|
+
.menu-item {
|
208
|
+
display: inline-block;
|
209
|
+
a {
|
210
|
+
color: $text-color;
|
211
|
+
}
|
212
|
+
}
|
213
|
+
|
214
|
+
nav .links {
|
215
|
+
padding: 0;
|
216
|
+
font-size: $type-size-3;
|
217
217
|
}
|