neo-hpstr-jekyll-theme 1.0.0
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 +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +247 -0
- data/_includes/author.html +26 -0
- data/_includes/browser-upgrade.html +1 -0
- data/_includes/disqus_comments.html +23 -0
- data/_includes/feed-footer.html +1 -0
- data/_includes/footer.html +1 -0
- data/_includes/gallery +21 -0
- data/_includes/head.html +52 -0
- data/_includes/header.html +104 -0
- data/_includes/icons.html +13 -0
- data/_includes/pagination.html +66 -0
- data/_includes/read-more.html +19 -0
- data/_includes/scripts.html +28 -0
- data/_includes/social-share.html +7 -0
- data/_layouts/dark-post.html +49 -0
- data/_layouts/home.html +28 -0
- data/_layouts/page.html +38 -0
- data/_layouts/post.html +49 -0
- data/_sass/_animations.scss +327 -0
- data/_sass/_coderay.scss +66 -0
- data/_sass/_dl-menu.scss +370 -0
- data/_sass/_elements.scss +156 -0
- data/_sass/_grid.scss +47 -0
- data/_sass/_mixins.scss +315 -0
- data/_sass/_page.scss +674 -0
- data/_sass/_reset.scss +156 -0
- data/_sass/_rouge.scss +73 -0
- data/_sass/_site.scss +56 -0
- data/_sass/_typography.scss +125 -0
- data/_sass/_variables.scss +49 -0
- data/_sass/vendor/font-awesome/_animated.scss +34 -0
- data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -0
- data/_sass/vendor/font-awesome/_core.scss +12 -0
- data/_sass/vendor/font-awesome/_fixed-width.scss +6 -0
- data/_sass/vendor/font-awesome/_icons.scss +697 -0
- data/_sass/vendor/font-awesome/_larger.scss +13 -0
- data/_sass/vendor/font-awesome/_list.scss +19 -0
- data/_sass/vendor/font-awesome/_mixins.scss +26 -0
- data/_sass/vendor/font-awesome/_path.scss +15 -0
- data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -0
- data/_sass/vendor/font-awesome/_stacked.scss +20 -0
- data/_sass/vendor/font-awesome/_variables.scss +708 -0
- data/_sass/vendor/font-awesome/font-awesome.scss +17 -0
- data/_sass/vendor/magnific-popup/_settings.scss +46 -0
- data/_sass/vendor/magnific-popup/magnific-popup.scss +645 -0
- data/assets/css/jquery.floating-social-share.min.css +7 -0
- data/assets/css/jquery.mmenu.all.css +1504 -0
- data/assets/css/main.scss +28 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +655 -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/js/_main.js +97 -0
- data/assets/js/plugins/jekyll-search.js +1 -0
- data/assets/js/plugins/jquery.dlmenu.js +255 -0
- data/assets/js/plugins/jquery.fitvids.js +81 -0
- data/assets/js/plugins/jquery.floating-social-share.min.js +8 -0
- data/assets/js/plugins/jquery.magnific-popup.js +2026 -0
- data/assets/js/plugins/jquery.mmenu.min.all.js +133 -0
- data/assets/js/plugins/respond.js +342 -0
- data/assets/js/scripts.min.js +3 -0
- data/assets/js/vendor/jquery-1.9.1.min.js +5 -0
- data/assets/js/vendor/modernizr-2.6.2.custom.min.js +4 -0
- metadata +152 -0
data/_sass/_grid.scss
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Defining number of columns in the grid.
|
|
2
|
+
// Common Values would be 12, 16 or 24
|
|
3
|
+
$width: 100%;
|
|
4
|
+
$def_grid: 12;
|
|
5
|
+
$margin: 0;
|
|
6
|
+
|
|
7
|
+
@mixin container(){
|
|
8
|
+
margin:0 auto;
|
|
9
|
+
width:$width;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Works out the width of elements based
|
|
13
|
+
// on total number of columns and width
|
|
14
|
+
// number of columns being displayed.
|
|
15
|
+
// Removes 20px for margins
|
|
16
|
+
@mixin grid($grid:$def_grid,$cols:'',$float:left,$display:inline){
|
|
17
|
+
display:$display;
|
|
18
|
+
float:$float;
|
|
19
|
+
width:(100%/$grid * $cols) - ($margin * 2);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Allows for padding before element
|
|
23
|
+
@mixin prefix($grid:$def_grid,$cols:''){
|
|
24
|
+
margin-left:(100%/$grid * $cols);
|
|
25
|
+
}
|
|
26
|
+
// Allows for padding after element
|
|
27
|
+
@mixin suffix($grid:$def_grid,$cols:''){
|
|
28
|
+
margin-right:(100%/$grid * $cols);
|
|
29
|
+
}
|
|
30
|
+
// Removes left margin
|
|
31
|
+
@mixin first(){
|
|
32
|
+
margin-left:0;
|
|
33
|
+
}
|
|
34
|
+
// Removes right margin
|
|
35
|
+
@mixin last(){
|
|
36
|
+
margin-right:0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@mixin push($grid:$def_grid,$move:'') {
|
|
40
|
+
position:relative;
|
|
41
|
+
left:(100%/$grid * $move);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin pull($grid:$def_grid,$move:''){
|
|
45
|
+
position:relative;
|
|
46
|
+
left:(100%/$grid * $move) * -1;
|
|
47
|
+
}
|
data/_sass/_mixins.scss
ADDED
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
// UTILITY MIXINS
|
|
2
|
+
// --------------------------------------------------
|
|
3
|
+
|
|
4
|
+
// Clearfix
|
|
5
|
+
// --------------------
|
|
6
|
+
// For clearing floats like a boss h5bp.com/q
|
|
7
|
+
@mixin clearfix {
|
|
8
|
+
*zoom: 1;
|
|
9
|
+
&:before,
|
|
10
|
+
&:after {
|
|
11
|
+
display: table;
|
|
12
|
+
content: "";
|
|
13
|
+
// Fixes Opera/contenteditable bug:
|
|
14
|
+
// http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952
|
|
15
|
+
line-height: 0;
|
|
16
|
+
}
|
|
17
|
+
&:after {
|
|
18
|
+
clear: both;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Webkit-style focus
|
|
23
|
+
// --------------------
|
|
24
|
+
@mixin tab-focus() {
|
|
25
|
+
// Default
|
|
26
|
+
outline: thin dotted #333;
|
|
27
|
+
// Webkit
|
|
28
|
+
outline: 5px auto -webkit-focus-ring-color;
|
|
29
|
+
outline-offset: -2px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Center-align a block level element
|
|
33
|
+
// ----------------------------------
|
|
34
|
+
@mixin center-block() {
|
|
35
|
+
display: block;
|
|
36
|
+
margin-left: auto;
|
|
37
|
+
margin-right: auto;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// TYPOGRAPHY
|
|
41
|
+
// --------------------------------------------------
|
|
42
|
+
|
|
43
|
+
// Full-fat vertical rhythm
|
|
44
|
+
// ------------------------
|
|
45
|
+
@mixin font-size($size) {
|
|
46
|
+
font-size: 0px + $size;
|
|
47
|
+
font-size: 0rem + $size / $doc-font-size;
|
|
48
|
+
line-height: 0 + round($doc-line-height / $size*10000) / 10000;
|
|
49
|
+
margin-bottom: 0px + $doc-line-height;
|
|
50
|
+
margin-bottom: 0rem + ($doc-line-height / $doc-font-size);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Just the REMs
|
|
54
|
+
// -------------
|
|
55
|
+
@mixin font-rem($size) {
|
|
56
|
+
font-size: 0px + $size;
|
|
57
|
+
font-size: 0rem + $size / $doc-font-size;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Just font-size and line-height
|
|
61
|
+
// ------------------------------
|
|
62
|
+
@mixin font($size) {
|
|
63
|
+
font-size: 0px + $size;
|
|
64
|
+
font-size: 0rem + $size / $doc-font-size;
|
|
65
|
+
line-height: 0 + round($doc-line-height / $size*10000) / 10000;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@mixin text-overflow() {
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
text-overflow: ellipsis;
|
|
71
|
+
white-space: nowrap;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// GRADIENTS
|
|
75
|
+
// --------------------------------------------------
|
|
76
|
+
|
|
77
|
+
@mixin horizontal($startColor : $white, $endColor : $lightergrey) {
|
|
78
|
+
background-color: $endColor;
|
|
79
|
+
background-image : -webkit-gradient(linear, 0 0, 100% 0, from($startColor), to($endColor)); // Safari 4+, Chrome 2+
|
|
80
|
+
background-image : -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
|
81
|
+
background-image : -moz-linear-gradient(left, $startColor, $endColor); // FF 3.6+
|
|
82
|
+
background-image : -ms-linear-gradient(left, $startColor, $endColor); // IE10
|
|
83
|
+
background-image : -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10
|
|
84
|
+
background-image : linear-gradient(left, $startColor, $endColor); // W3C
|
|
85
|
+
background-repeat : repeat-x;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@mixin vertical($startColor : $white, $endColor: $lightergrey) {
|
|
89
|
+
background-image : -webkit-gradient(linear, 0 0, 0 100%, from($startColor), to($endColor)); // Safari 4+, Chrome 2+
|
|
90
|
+
background-image : -webkit-linear-gradient(top, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
|
91
|
+
background-color : $endColor;
|
|
92
|
+
background-image : -moz-linear-gradient(top, $startColor, $endColor); // FF 3.6+
|
|
93
|
+
background-image : -ms-linear-gradient(top, $startColor, $endColor); // IE10
|
|
94
|
+
background-image : -o-linear-gradient(top, $startColor, $endColor); // Opera 11.10
|
|
95
|
+
background-image : linear-gradient(top, $startColor, $endColor); // W3C
|
|
96
|
+
background-repeat : repeat-x;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@mixin directional($startColor : $white, $endColor : $lightergrey, $deg : 45deg) {
|
|
100
|
+
background-color : $endColor;
|
|
101
|
+
background-image : -moz-linear-gradient($deg, $startColor, $endColor); // FF 3.6+
|
|
102
|
+
background-image : -ms-linear-gradient($deg, $startColor, $endColor); // IE10
|
|
103
|
+
background-image : -webkit-linear-gradient($deg, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
|
104
|
+
background-image : -o-linear-gradient($deg, $startColor, $endColor); // Opera 11.10
|
|
105
|
+
background-image : linear-gradient($deg, $startColor, $endColor); // W3C
|
|
106
|
+
background-repeat : repeat-x;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// .bordered(COLOR, COLOR, COLOR, COLOR);
|
|
110
|
+
@mixin bordered($top-color: #eee, $right-color: #eee, $bottom-color: #eee, $left-color: #eee) {
|
|
111
|
+
border-top : solid 1px $top-color;
|
|
112
|
+
border-left : solid 1px $left-color;
|
|
113
|
+
border-right : solid 1px $right-color;
|
|
114
|
+
border-bottom : solid 1px $bottom-color;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// ROUND CORNERS
|
|
118
|
+
// --------------------------------------------------
|
|
119
|
+
|
|
120
|
+
// .rounded(VALUE);
|
|
121
|
+
@mixin rounded($radius:4px) {
|
|
122
|
+
-webkit-border-radius : $radius;
|
|
123
|
+
-moz-border-radius : $radius;
|
|
124
|
+
border-radius : $radius;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
// .border-radius(VALUE,VALUE,VALUE,VALUE);
|
|
128
|
+
@mixin border-radius($topright: 0, $bottomright: 0, $bottomleft: 0, $topleft: 0) {
|
|
129
|
+
-webkit-border-top-right-radius : $topright;
|
|
130
|
+
-webkit-border-bottom-right-radius : $bottomright;
|
|
131
|
+
-webkit-border-bottom-left-radius : $bottomleft;
|
|
132
|
+
-webkit-border-top-left-radius : $topleft;
|
|
133
|
+
-moz-border-radius-topright : $topright;
|
|
134
|
+
-moz-border-radius-bottomright : $bottomright;
|
|
135
|
+
-moz-border-radius-bottomleft : $bottomleft;
|
|
136
|
+
-moz-border-radius-topleft : $topleft;
|
|
137
|
+
border-top-right-radius : $topright;
|
|
138
|
+
border-bottom-right-radius : $bottomright;
|
|
139
|
+
border-bottom-left-radius : $bottomleft;
|
|
140
|
+
border-top-left-radius : $topleft;
|
|
141
|
+
-webkit-background-clip : padding-box;
|
|
142
|
+
-moz-background-clip : padding;
|
|
143
|
+
background-clip : padding-box;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// .box-shadow(HORIZONTAL VERTICAL BLUR COLOR))
|
|
147
|
+
@mixin box-shadow($shadow: 0 1px 3px rgba(0,0,0,.25)) {
|
|
148
|
+
-webkit-box-shadow : $shadow;
|
|
149
|
+
-moz-box-shadow : $shadow;
|
|
150
|
+
box-shadow : $shadow;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// .drop-shadow(HORIZONTAL, VERTICAL, BLUR, ALPHA);
|
|
154
|
+
@mixin drop-shadow($x-axis: 0, $y-axis: 1px, $blur: 2px, $alpha: 0.1) {
|
|
155
|
+
-webkit-box-shadow : $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
|
|
156
|
+
-moz-box-shadow : $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
|
|
157
|
+
box-shadow : $x-axis $y-axis $blur rgba(0, 0, 0, $alpha);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// .text-shadow();
|
|
161
|
+
@mixin text-shadow($shadow: 0 2px 3px rgba(0,0,0,.25)) {
|
|
162
|
+
text-shadow : $shadow;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// TRANSFORMATIONS
|
|
166
|
+
// --------------------------------------------------
|
|
167
|
+
|
|
168
|
+
// .rotate(VALUEdeg);
|
|
169
|
+
@mixin rotate($deg) {
|
|
170
|
+
-webkit-transform : rotate($deg);
|
|
171
|
+
-moz-transform : rotate($deg);
|
|
172
|
+
-ms-transform : rotate($deg);
|
|
173
|
+
-o-transform : rotate($deg);
|
|
174
|
+
transform : rotate($deg);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// .scale(VALUE);
|
|
178
|
+
@mixin scale($ratio) {
|
|
179
|
+
-webkit-transform : scale($ratio);
|
|
180
|
+
-moz-transform : scale($ratio);
|
|
181
|
+
-ms-transform : scale($ratio);
|
|
182
|
+
-o-transform : scale($ratio);
|
|
183
|
+
transform : scale($ratio);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// .skew(VALUE, VALUE);
|
|
187
|
+
@mixin skew($x: 0, $y: 0) {
|
|
188
|
+
-webkit-transform : skew($x, $y);
|
|
189
|
+
-moz-transform : skew($x, $y);
|
|
190
|
+
-ms-transform : skew($x, $y);
|
|
191
|
+
-o-transform : skew($x, $y);
|
|
192
|
+
transform : skew($x, $y);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// .transition(PROPERTY DURATION DELAY(OPTIONAL) TIMING-FINCTION);
|
|
196
|
+
@mixin transition($transition) {
|
|
197
|
+
-webkit-transition : $transition;
|
|
198
|
+
-moz-transition : $transition;
|
|
199
|
+
-ms-transition : $transition;
|
|
200
|
+
-o-transition : $transition;
|
|
201
|
+
transition : $transition;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// .translate(VALUE, VALUE)
|
|
205
|
+
@mixin translate($x: 0, $y: 0) {
|
|
206
|
+
-webkit-transform : translate($x, $y);
|
|
207
|
+
-moz-transform : translate($x, $y);
|
|
208
|
+
-ms-transform : translate($x, $y);
|
|
209
|
+
-o-transform : translate($x, $y);
|
|
210
|
+
transform : translate($x, $y);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
@mixin translate3d($x: 0, $y: 0, $z: 0) {
|
|
214
|
+
-webkit-transform : translate($x, $y, $z);
|
|
215
|
+
-moz-transform : translate($x, $y, $z);
|
|
216
|
+
-ms-transform : translate($x, $y, $z);
|
|
217
|
+
-o-transform : translate($x, $y, $z);
|
|
218
|
+
transform : translate($x, $y, $z);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@mixin animation($name, $duration: 300ms, $delay: 0, $ease: ease) {
|
|
222
|
+
-webkit-animation: $name $duration $delay $ease;
|
|
223
|
+
-moz-animation: $name $duration $delay $ease;
|
|
224
|
+
-ms-animation: $name $duration $delay $ease;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// BACKGROUND
|
|
228
|
+
// --------------------------------------------------
|
|
229
|
+
|
|
230
|
+
// .background-alpha(VALUE VALUE);
|
|
231
|
+
@mixin background-alpha($color: $white, $alpha: 1) {
|
|
232
|
+
background-color : hsla(hue($color), saturation($color), lightness($color), $alpha);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// .background-size(VALUE VALUE);
|
|
236
|
+
@mixin background-size($size){
|
|
237
|
+
-webkit-background-size : $size;
|
|
238
|
+
-moz-background-size : $size;
|
|
239
|
+
-o-background-size : $size;
|
|
240
|
+
background-size : $size;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// .background-clip(VALUE); (border-box, padding-box, content-box)
|
|
244
|
+
@mixin background-clip($clip) {
|
|
245
|
+
-webkit-background-clip : $clip;
|
|
246
|
+
-moz-background-clip : $clip;
|
|
247
|
+
background-clip : $clip;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// .box-sizing(VALUE); (border-box, padding-box, content-box)
|
|
251
|
+
@mixin box-sizing($boxsize: border-box) {
|
|
252
|
+
-webkit-box-sizing : $boxsize;
|
|
253
|
+
-moz-box-sizing : $boxsize;
|
|
254
|
+
-ms-box-sizing : $boxsize;
|
|
255
|
+
box-sizing : $boxsize;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// For image replacement
|
|
259
|
+
@mixin hide-text() {
|
|
260
|
+
text-indent : 100%;
|
|
261
|
+
white-space : nowrap;
|
|
262
|
+
overflow : hidden;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// Hide from visual and speaking browsers
|
|
266
|
+
@mixin hidden() {
|
|
267
|
+
display : none !important;
|
|
268
|
+
visibility : hidden;
|
|
269
|
+
}
|
|
270
|
+
.hidden {
|
|
271
|
+
display: none;
|
|
272
|
+
visibility: hidden;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
// Hide but maintain layout
|
|
276
|
+
@mixin invisible() {
|
|
277
|
+
visibility : hidden;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
// .resize(VALUE) (none, both, horizontal, vertical, inherit)
|
|
281
|
+
@mixin resize($direction: both) {
|
|
282
|
+
resize : $direction;
|
|
283
|
+
overflow : auto;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
// .userselect(VALUE) (all, element, none, text)
|
|
287
|
+
@mixin user-select($select) {
|
|
288
|
+
-webkit-user-select : $select;
|
|
289
|
+
-moz-user-select : $select;
|
|
290
|
+
-o-user-select : $select;
|
|
291
|
+
user-select : $select;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
// Hidden but available to speaking browsers
|
|
295
|
+
@mixin visuallyhidden() {
|
|
296
|
+
overflow : hidden;
|
|
297
|
+
position : absolute;
|
|
298
|
+
clip : rect(0 0 0 0);
|
|
299
|
+
height : 1px;
|
|
300
|
+
width : 1px;
|
|
301
|
+
margin : -1px;
|
|
302
|
+
padding : 0;
|
|
303
|
+
border : 0;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// Make visuallyhidden focusable with a keyboard
|
|
307
|
+
.visuallyhidden.focusable:active,
|
|
308
|
+
.visuallyhidden.focusable:focus {
|
|
309
|
+
position : static;
|
|
310
|
+
clip : auto;
|
|
311
|
+
height : auto;
|
|
312
|
+
width : auto;
|
|
313
|
+
margin : 0;
|
|
314
|
+
overflow: visible;
|
|
315
|
+
}
|
data/_sass/_page.scss
ADDED
|
@@ -0,0 +1,674 @@
|
|
|
1
|
+
body {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
background-color: $body-color;
|
|
6
|
+
overflow-x: hidden;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// Main
|
|
10
|
+
// --------------------------------------------------
|
|
11
|
+
.entry,
|
|
12
|
+
.hentry {
|
|
13
|
+
@include clearfix;
|
|
14
|
+
h1, h2, h3, h4, h5, h6, p, li {
|
|
15
|
+
word-wrap: break-word;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.hentry-dark {
|
|
19
|
+
background-color: $header-color;
|
|
20
|
+
}
|
|
21
|
+
.entry-content {
|
|
22
|
+
@include font-size(16);
|
|
23
|
+
// Dotted line underlines for links
|
|
24
|
+
p > a,
|
|
25
|
+
li > a {
|
|
26
|
+
border-bottom: 1px dotted lighten($link-color, 50);
|
|
27
|
+
&:hover {
|
|
28
|
+
border-bottom-style: solid;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
///sections
|
|
34
|
+
|
|
35
|
+
.content-header-title {
|
|
36
|
+
text-align: center;
|
|
37
|
+
margin: 30px 0 0;
|
|
38
|
+
h1 {
|
|
39
|
+
margin: 10px 20px;
|
|
40
|
+
font-weight: 700;
|
|
41
|
+
@include font-rem(32);
|
|
42
|
+
color: lighten($base-color,20);
|
|
43
|
+
@media #{$medium} {
|
|
44
|
+
@include font-rem(48);
|
|
45
|
+
}
|
|
46
|
+
@media #{$large} {
|
|
47
|
+
@include font-rem(60);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
h2 {
|
|
51
|
+
margin: 0;
|
|
52
|
+
@include font-rem(18);
|
|
53
|
+
text-transform: uppercase;
|
|
54
|
+
color: lighten($base-color,40);
|
|
55
|
+
@media #{$medium} {
|
|
56
|
+
@include font-rem(24);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
p {
|
|
60
|
+
color: lighten($base-color,20);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
// Feature Image Caption
|
|
66
|
+
.image-credit {
|
|
67
|
+
position: absolute;
|
|
68
|
+
bottom: 0;
|
|
69
|
+
right: 0;
|
|
70
|
+
margin: 0 auto;
|
|
71
|
+
max-width: 440px;
|
|
72
|
+
padding: 10px 15px;
|
|
73
|
+
background-color: rgba($base-color,0.5);
|
|
74
|
+
color: $white;
|
|
75
|
+
@include font-rem(12);
|
|
76
|
+
text-align: right;
|
|
77
|
+
@include border-radius(3px,0,0,3px);
|
|
78
|
+
z-index: 10;
|
|
79
|
+
@media #{$medium} {
|
|
80
|
+
max-width: 760px;
|
|
81
|
+
}
|
|
82
|
+
@media #{$large} {
|
|
83
|
+
max-width: 960px;
|
|
84
|
+
}
|
|
85
|
+
a {
|
|
86
|
+
color: $white;
|
|
87
|
+
text-decoration: none;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// Single Post and Page
|
|
92
|
+
// --------------------------------------------------
|
|
93
|
+
.entry-meta {
|
|
94
|
+
@include font-rem(12);
|
|
95
|
+
text-transform: uppercase;
|
|
96
|
+
color: lighten($base-color,60);
|
|
97
|
+
a {
|
|
98
|
+
color: lighten($base-color,60);
|
|
99
|
+
}
|
|
100
|
+
.vcard {
|
|
101
|
+
&:before {
|
|
102
|
+
content: " by ";
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
.tag {
|
|
106
|
+
display: inline-block;
|
|
107
|
+
margin: 4px;
|
|
108
|
+
color: $white;
|
|
109
|
+
@include rounded(3px);
|
|
110
|
+
background-color: lighten($base-color,50);
|
|
111
|
+
span {
|
|
112
|
+
float: left;
|
|
113
|
+
padding: 2px 6px;
|
|
114
|
+
}
|
|
115
|
+
.count {
|
|
116
|
+
background-color: lighten($base-color,40);
|
|
117
|
+
@include border-radius(3px,3px,0,0);
|
|
118
|
+
}
|
|
119
|
+
&:hover {
|
|
120
|
+
background-color: lighten($base-color,40);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
.entry-reading-time {
|
|
124
|
+
float: right;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
header .entry-meta {
|
|
128
|
+
display: none; // hide header meta on small screens
|
|
129
|
+
@media #{$medium} {
|
|
130
|
+
display: block;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
#menu{
|
|
134
|
+
margin-bottom: 48px;
|
|
135
|
+
}
|
|
136
|
+
#post,
|
|
137
|
+
#page {
|
|
138
|
+
.entry-content {
|
|
139
|
+
margin: 40px 2px 20px 2px;
|
|
140
|
+
padding: 10px 15px;
|
|
141
|
+
background-color: $white;
|
|
142
|
+
box-shadow: 0 0 0 0, 0 6px 12px rgba($black,0.1);
|
|
143
|
+
@include rounded(3px);
|
|
144
|
+
@media #{$medium} {
|
|
145
|
+
margin-left: 10px;
|
|
146
|
+
margin-right: 10px;
|
|
147
|
+
padding: 20px 30px;
|
|
148
|
+
}
|
|
149
|
+
@media #{$large} {
|
|
150
|
+
max-width: 800px;
|
|
151
|
+
margin: 50px auto 30px auto;
|
|
152
|
+
padding: 50px 80px;
|
|
153
|
+
> p:first-child {
|
|
154
|
+
@include font-size(20);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
#disqus_thread {
|
|
159
|
+
margin: 40px 2px 20px 2px;
|
|
160
|
+
padding: 10px 15px;
|
|
161
|
+
background-color: $white;
|
|
162
|
+
box-shadow: 0 0 0 1px rgba($border-color,0.1), 0 6px 12px rgba($black,0.1);
|
|
163
|
+
@include rounded(3px);
|
|
164
|
+
@media #{$medium} {
|
|
165
|
+
margin-left: 10px;
|
|
166
|
+
margin-right: 10px;
|
|
167
|
+
padding: 20px 30px;
|
|
168
|
+
}
|
|
169
|
+
@media #{$large} {
|
|
170
|
+
max-width: 800px;
|
|
171
|
+
padding: 50px 80px;
|
|
172
|
+
margin: 0 auto 30px auto;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
.entry-meta {
|
|
176
|
+
margin: 50px 30px 30px;
|
|
177
|
+
text-align: center;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
.entry-tags {
|
|
181
|
+
display: block;
|
|
182
|
+
margin-bottom: 6px;
|
|
183
|
+
}
|
|
184
|
+
.tag-heading,
|
|
185
|
+
.year-heading {
|
|
186
|
+
margin-top: 0;
|
|
187
|
+
}
|
|
188
|
+
// Go to the exact location of bookmarks in tags, categories
|
|
189
|
+
.anchor-bookmark{
|
|
190
|
+
display: block;
|
|
191
|
+
height: $menu-height; /*same height as header*/
|
|
192
|
+
margin-top: -$menu-height; /*same height as header*/
|
|
193
|
+
visibility: hidden;
|
|
194
|
+
}
|
|
195
|
+
// Permalink icon for link post
|
|
196
|
+
.permalink {
|
|
197
|
+
margin-right: 7px;
|
|
198
|
+
}
|
|
199
|
+
// Post Pagination Module
|
|
200
|
+
.pagination {
|
|
201
|
+
margin: 20px 10px;
|
|
202
|
+
text-align: center;
|
|
203
|
+
ul {
|
|
204
|
+
display: inline;
|
|
205
|
+
margin-left: 10px;
|
|
206
|
+
margin-right: 10px;
|
|
207
|
+
}
|
|
208
|
+
li {
|
|
209
|
+
padding-left: 4px;
|
|
210
|
+
padding-right: 4px;
|
|
211
|
+
}
|
|
212
|
+
.current-page {
|
|
213
|
+
font-weight: 700;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
// Read More Module
|
|
218
|
+
.read-more {
|
|
219
|
+
position: relative;
|
|
220
|
+
margin: 40px 2px 20px 2px;
|
|
221
|
+
padding: 40px 15px 25px;
|
|
222
|
+
background-color: $white;
|
|
223
|
+
box-shadow: 0 0 0 1px rgba($border-color,0.1), 0 6px 12px rgba($black,0.1);
|
|
224
|
+
@include rounded(3px);
|
|
225
|
+
@media #{$medium} {
|
|
226
|
+
margin: 50px 10px 20px 10px;
|
|
227
|
+
padding: 50px 40px 25px;
|
|
228
|
+
}
|
|
229
|
+
@media #{$large} {
|
|
230
|
+
max-width: 800px;
|
|
231
|
+
padding: 50px 80px;
|
|
232
|
+
margin: 60px auto;
|
|
233
|
+
}
|
|
234
|
+
text-align: center;
|
|
235
|
+
@include clearfix;
|
|
236
|
+
}
|
|
237
|
+
.read-more-header {
|
|
238
|
+
position: absolute;
|
|
239
|
+
top: -20px;
|
|
240
|
+
left: 0;
|
|
241
|
+
right: 0;
|
|
242
|
+
height: 35px;
|
|
243
|
+
a {
|
|
244
|
+
@extend .btn;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
.read-more-content {
|
|
248
|
+
@include font-size(16);
|
|
249
|
+
// Dotted line underlines for links
|
|
250
|
+
p > a,
|
|
251
|
+
li > a {
|
|
252
|
+
border-bottom: 1px dotted lighten($link-color, 50);
|
|
253
|
+
&:hover {
|
|
254
|
+
border-bottom-style: solid;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
h3 {
|
|
258
|
+
margin: 0;
|
|
259
|
+
@include font-rem(28);
|
|
260
|
+
a {
|
|
261
|
+
color: $text-color;
|
|
262
|
+
}
|
|
263
|
+
@media #{$medium} {
|
|
264
|
+
@include font-rem(36);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
.author-img {
|
|
269
|
+
width: 150px;
|
|
270
|
+
height: 150px;
|
|
271
|
+
border-radius: 50%;
|
|
272
|
+
-webkit-border-radius: 50%;
|
|
273
|
+
-moz-border-radius: 50%;
|
|
274
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, .8);
|
|
275
|
+
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
|
|
276
|
+
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
|
|
277
|
+
}
|
|
278
|
+
.author-container{
|
|
279
|
+
display: flex;
|
|
280
|
+
}
|
|
281
|
+
.author-bio{
|
|
282
|
+
padding-top: 30px;
|
|
283
|
+
padding-left: 20px;
|
|
284
|
+
flex-grow: 1;
|
|
285
|
+
}
|
|
286
|
+
ul.social-buttons li a {
|
|
287
|
+
display: block;
|
|
288
|
+
width: 40px;
|
|
289
|
+
height: 40px;
|
|
290
|
+
border-radius: 100%;
|
|
291
|
+
font-size: 20px;
|
|
292
|
+
line-height: 40px;
|
|
293
|
+
outline: 0;
|
|
294
|
+
color: #fff;
|
|
295
|
+
background-color: #222;
|
|
296
|
+
|
|
297
|
+
-webkit-transition: all .3s;
|
|
298
|
+
-moz-transition: all .3s;
|
|
299
|
+
transition: all .3s;
|
|
300
|
+
}
|
|
301
|
+
.list-inline {
|
|
302
|
+
padding-left: 0;
|
|
303
|
+
margin-left: -5px;
|
|
304
|
+
list-style: none;
|
|
305
|
+
}
|
|
306
|
+
.list-inline > li {
|
|
307
|
+
display: inline-block;
|
|
308
|
+
padding-right: 5px;
|
|
309
|
+
padding-left: 5px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
ul.social-buttons li:hover a{
|
|
313
|
+
transform: scale(1.2, 1.2);;
|
|
314
|
+
}
|
|
315
|
+
ul.social-buttons li a:hover,
|
|
316
|
+
ul.social-buttons li a:focus,
|
|
317
|
+
ul.social-buttons li a:active {
|
|
318
|
+
color: #222;
|
|
319
|
+
background-color: #fec503;
|
|
320
|
+
}
|
|
321
|
+
.read-more-list {
|
|
322
|
+
border-top: solid 2px lighten($base-color,80);
|
|
323
|
+
}
|
|
324
|
+
.list-item {
|
|
325
|
+
width: 100%;
|
|
326
|
+
text-align: left;
|
|
327
|
+
h4 {
|
|
328
|
+
@include font-rem(18);
|
|
329
|
+
margin-bottom: 0;
|
|
330
|
+
}
|
|
331
|
+
span {
|
|
332
|
+
display: block;
|
|
333
|
+
@include font-rem(14);
|
|
334
|
+
color: lighten($base-color,50);
|
|
335
|
+
}
|
|
336
|
+
@media #{$medium} {
|
|
337
|
+
width: 49%;
|
|
338
|
+
float: left;
|
|
339
|
+
&:nth-child(2) {
|
|
340
|
+
text-align: right;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
// Post Index
|
|
346
|
+
// --------------------------------------------------
|
|
347
|
+
#post-index {
|
|
348
|
+
#main {
|
|
349
|
+
margin: 40px 2px 20px 2px;
|
|
350
|
+
@media #{$medium} {
|
|
351
|
+
margin-left: 20px;
|
|
352
|
+
margin-right: 20px;
|
|
353
|
+
}
|
|
354
|
+
@media #{$large} {
|
|
355
|
+
max-width: 800px;
|
|
356
|
+
margin-top: 50px;
|
|
357
|
+
margin-left: auto;
|
|
358
|
+
margin-right: auto;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
article {
|
|
362
|
+
background-color: $white;
|
|
363
|
+
box-shadow: 0 0 0 0, 0 6px 12px rgba($base-color,0.1);
|
|
364
|
+
@include rounded(3px);
|
|
365
|
+
margin-bottom: 20px;
|
|
366
|
+
padding: 25px 15px;
|
|
367
|
+
@media #{$medium} {
|
|
368
|
+
padding: 30px;
|
|
369
|
+
}
|
|
370
|
+
@media #{$large} {
|
|
371
|
+
margin-bottom: 30px;
|
|
372
|
+
padding: 50px 80px;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
.entry-image-index {
|
|
377
|
+
margin-top: -25px;
|
|
378
|
+
margin-left: -15px;
|
|
379
|
+
margin-right: -15px;
|
|
380
|
+
margin-bottom: 10px;
|
|
381
|
+
position: relative;
|
|
382
|
+
@media #{$medium} {
|
|
383
|
+
margin-top: -30px;
|
|
384
|
+
margin-left: -30px;
|
|
385
|
+
margin-right: -30px;
|
|
386
|
+
margin-bottom: 15px;
|
|
387
|
+
}
|
|
388
|
+
@media #{$large} {
|
|
389
|
+
margin-top: -50px;
|
|
390
|
+
margin-left: -80px;
|
|
391
|
+
margin-right: -80px;
|
|
392
|
+
margin-bottom: 20px;
|
|
393
|
+
}
|
|
394
|
+
img {
|
|
395
|
+
@include border-radius(3px,0,0,3px); // round image corners
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
// Footer
|
|
400
|
+
// --------------------------------------------------
|
|
401
|
+
.footer-wrapper {
|
|
402
|
+
@include clearfix;
|
|
403
|
+
margin: 2em auto;
|
|
404
|
+
text-align: center;
|
|
405
|
+
color: lighten($text-color,20);
|
|
406
|
+
a {
|
|
407
|
+
color: lighten($text-color,20);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
// Social Share
|
|
412
|
+
// --------------------------------------------------
|
|
413
|
+
.socialcount {
|
|
414
|
+
@include font-rem(16);
|
|
415
|
+
li {
|
|
416
|
+
padding-left: 10px;
|
|
417
|
+
padding-right: 10px;
|
|
418
|
+
}
|
|
419
|
+
p > a,
|
|
420
|
+
li > a {
|
|
421
|
+
border-bottom-width: 0;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
// Browser Upgrade
|
|
427
|
+
// --------------------------------------------------
|
|
428
|
+
.upgrade {
|
|
429
|
+
padding: 10px;
|
|
430
|
+
text-align: center;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
// Google Search
|
|
434
|
+
// --------------------------------------------------
|
|
435
|
+
#goog-fixurl {
|
|
436
|
+
ul {
|
|
437
|
+
list-style: none;
|
|
438
|
+
margin-left: 0;
|
|
439
|
+
padding-left: 0;
|
|
440
|
+
li {
|
|
441
|
+
list-style-type: none;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
#goog-wm-qt {
|
|
446
|
+
width: auto;
|
|
447
|
+
margin-right: 10px;
|
|
448
|
+
margin-bottom: 20px;
|
|
449
|
+
padding: 8px 20px;
|
|
450
|
+
display: inline-block;
|
|
451
|
+
@include font-rem(14);
|
|
452
|
+
background-color: $white;
|
|
453
|
+
color: $text-color;
|
|
454
|
+
border-width: 2px !important;
|
|
455
|
+
border-style: solid !important;
|
|
456
|
+
border-color: lighten($primary,50);
|
|
457
|
+
@include rounded(3px);
|
|
458
|
+
}
|
|
459
|
+
#goog-wm-sb {
|
|
460
|
+
@extend .btn;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
// Header
|
|
464
|
+
// --------------------------------------------------
|
|
465
|
+
.entry-header {
|
|
466
|
+
width: 100%;
|
|
467
|
+
overflow: hidden;
|
|
468
|
+
position: relative;
|
|
469
|
+
width: 100%;
|
|
470
|
+
height: 100%;
|
|
471
|
+
overflow: hidden;
|
|
472
|
+
height: 50px;
|
|
473
|
+
@media #{$medium} {
|
|
474
|
+
background-color: $header-color;
|
|
475
|
+
min-height: 300px;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
.header-toggle{
|
|
479
|
+
display: block;
|
|
480
|
+
@media #{$large} {
|
|
481
|
+
display: none;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
.header-title {
|
|
485
|
+
text-align: center;
|
|
486
|
+
position: absolute;
|
|
487
|
+
bottom: 0;
|
|
488
|
+
display: table;
|
|
489
|
+
margin-top: 0;
|
|
490
|
+
width: 100%;
|
|
491
|
+
overflow: hidden;
|
|
492
|
+
.header-title-wrap {
|
|
493
|
+
display: table-cell;
|
|
494
|
+
vertical-align: middle;
|
|
495
|
+
margin: 0 auto;
|
|
496
|
+
text-align: center;
|
|
497
|
+
}
|
|
498
|
+
h2 {
|
|
499
|
+
color: $white;
|
|
500
|
+
}
|
|
501
|
+
h1 {
|
|
502
|
+
font-weight: 700;
|
|
503
|
+
margin-bottom: 20px;
|
|
504
|
+
@include font-rem(32);
|
|
505
|
+
color: $white;
|
|
506
|
+
text-shadow: 1px 1px 4px rgba($base-color, 0.6);
|
|
507
|
+
display: block;
|
|
508
|
+
a {
|
|
509
|
+
color: $white;
|
|
510
|
+
}
|
|
511
|
+
@media #{$medium} {
|
|
512
|
+
@include font-rem(26);
|
|
513
|
+
}
|
|
514
|
+
@media #{$large} {
|
|
515
|
+
@include font-rem(36);
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
h1.post-title{
|
|
519
|
+
display: block;
|
|
520
|
+
@media #{$medium}{
|
|
521
|
+
display: none;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
p {
|
|
525
|
+
color: $white;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
.header-menu {
|
|
529
|
+
position: fixed;
|
|
530
|
+
top: 0;
|
|
531
|
+
left: 0;
|
|
532
|
+
width: 100%;
|
|
533
|
+
height: $menu-height;
|
|
534
|
+
z-index: 20;
|
|
535
|
+
ul {
|
|
536
|
+
margin: 0 auto;
|
|
537
|
+
list-style-type: none;
|
|
538
|
+
height: 100%;
|
|
539
|
+
padding: 0;
|
|
540
|
+
@media #{$large} {
|
|
541
|
+
max-width: 900px;
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
.header-menu-top{
|
|
546
|
+
background-color: $menu-top;
|
|
547
|
+
box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.4);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.header-menu-overflow{
|
|
551
|
+
background-color: $menu-overflow;
|
|
552
|
+
z-index: 100;
|
|
553
|
+
box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.4);
|
|
554
|
+
}
|
|
555
|
+
.header-menu-overflow ul li a{
|
|
556
|
+
color: $white;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.header-menu-top .sub-item{
|
|
560
|
+
background-color: $menu-top;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.header-menu-overflow .sub-item{
|
|
564
|
+
background-color: $menu-overflow;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.header-item,
|
|
568
|
+
.header-item-title {
|
|
569
|
+
float: right;
|
|
570
|
+
padding-left: 20px;
|
|
571
|
+
padding-right: 20px;
|
|
572
|
+
border-top-color: transparent;
|
|
573
|
+
border-top-style: solid;
|
|
574
|
+
border-top-width: 5px;
|
|
575
|
+
box-sizing: border-box;
|
|
576
|
+
|
|
577
|
+
a {
|
|
578
|
+
vertical-align: middle;
|
|
579
|
+
display: table-cell;
|
|
580
|
+
height: $menu-height - 2;
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
///sections
|
|
584
|
+
.logo{
|
|
585
|
+
width: $menu-height;
|
|
586
|
+
height: $menu-height;
|
|
587
|
+
float: left;
|
|
588
|
+
padding: 10px;
|
|
589
|
+
}
|
|
590
|
+
.header-item-container{
|
|
591
|
+
height: 100%;
|
|
592
|
+
}
|
|
593
|
+
.header-item{
|
|
594
|
+
height: 100%;
|
|
595
|
+
display: none;
|
|
596
|
+
@media #{$large} {
|
|
597
|
+
display: block;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
.header-item-title{
|
|
601
|
+
float: left;
|
|
602
|
+
border-top-width: 0px;
|
|
603
|
+
height: 100%;
|
|
604
|
+
a.title {
|
|
605
|
+
font-size: 1.5rem;
|
|
606
|
+
padding-left: 5px;
|
|
607
|
+
display: none;
|
|
608
|
+
vertical-align: middle;
|
|
609
|
+
height: $menu-height - 2;
|
|
610
|
+
@media #{$medium}{
|
|
611
|
+
display: table-cell;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.header-item.active,
|
|
617
|
+
.header-item:hover{
|
|
618
|
+
border-top-color: $header-margin;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.header-item:hover .header-submenu{
|
|
622
|
+
display: block;
|
|
623
|
+
position: absolute;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.header-submenu {
|
|
627
|
+
display: none;
|
|
628
|
+
border-top: 2px solid $header-margin;
|
|
629
|
+
width: 200px;
|
|
630
|
+
z-index: 100;
|
|
631
|
+
list-style-type: none;
|
|
632
|
+
transform: translateX(-25%);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.sub-item {
|
|
636
|
+
position: relative;
|
|
637
|
+
padding-left: 10px;
|
|
638
|
+
width: 100%;
|
|
639
|
+
border-bottom: 1px solid gray;
|
|
640
|
+
border-left: 1px solid;
|
|
641
|
+
height: 50px;
|
|
642
|
+
text-decoration: none;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.sub-item a{
|
|
646
|
+
vertical-align: middle;
|
|
647
|
+
display: table-cell;
|
|
648
|
+
height: 50px;
|
|
649
|
+
}
|
|
650
|
+
.sub-item:hover {
|
|
651
|
+
border-bottom-color: $header-margin;
|
|
652
|
+
border-left-color: $header-margin;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.button-twitter {
|
|
656
|
+
color: $white;
|
|
657
|
+
position: fixed;
|
|
658
|
+
margin-top: $menu-height / 2 - 20;
|
|
659
|
+
margin-right: 10px;
|
|
660
|
+
top: 0;
|
|
661
|
+
right: 0;
|
|
662
|
+
z-index: 10000000000;
|
|
663
|
+
@media #{$large}{
|
|
664
|
+
top: auto;
|
|
665
|
+
bottom: 0;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
span {
|
|
669
|
+
display: none;
|
|
670
|
+
@media #{$medium}{
|
|
671
|
+
display: inline;
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|