jekyll-theme-woforo 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +690 -0
- data/{LICENSE → LICENSE.txt} +5 -5
- data/README.md +128 -19
- data/_includes/analytics-providers/custom.html +3 -0
- data/_includes/analytics-providers/google-universal.html +9 -0
- data/_includes/analytics-providers/google.html +11 -0
- data/_includes/analytics.html +12 -0
- data/_includes/archive-single.html +38 -0
- data/_includes/author-profile-custom-links.html +7 -0
- data/_includes/author-profile.html +241 -0
- data/_includes/base_path +5 -0
- data/_includes/breadcrumbs.html +39 -0
- data/_includes/browser-upgrade.html +3 -0
- data/_includes/category-list.html +26 -0
- data/_includes/comment.html +22 -0
- data/_includes/comments-providers/custom.html +3 -0
- data/_includes/comments-providers/discourse.html +13 -0
- data/_includes/comments-providers/disqus.html +22 -0
- data/_includes/comments-providers/facebook.html +8 -0
- data/_includes/comments-providers/google-plus.html +2 -0
- data/_includes/comments-providers/scripts.html +18 -0
- data/_includes/comments-providers/staticman.html +42 -0
- data/_includes/comments.html +80 -0
- data/_includes/feature_row +50 -0
- data/_includes/figure +12 -0
- data/_includes/footer.html +22 -0
- data/_includes/footer/custom.html +3 -0
- data/_includes/gallery +47 -0
- data/_includes/group-by-array +47 -0
- data/_includes/head.html +19 -9
- data/_includes/head/custom.html +5 -0
- data/_includes/masthead.html +21 -0
- data/_includes/nav_list +47 -0
- data/_includes/page__hero.html +53 -0
- data/_includes/page__taxonomy.html +7 -0
- data/_includes/paginator.html +68 -0
- data/_includes/post_pagination.html +14 -0
- data/_includes/read-time.html +15 -0
- data/_includes/scripts.html +4 -0
- data/_includes/seo.html +145 -0
- data/_includes/sidebar.html +23 -0
- data/_includes/social-share.html +13 -0
- data/_includes/tag-list.html +26 -0
- data/_includes/toc +7 -0
- data/_layouts/archive-taxonomy.html +15 -0
- data/_layouts/archive.html +24 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +25 -5
- data/_layouts/home.html +11 -0
- data/_layouts/single.html +74 -0
- data/_layouts/splash.html +20 -0
- data/_sass/_animations.scss +21 -0
- data/_sass/_archive.scss +238 -0
- data/_sass/_base.scss +315 -0
- data/_sass/_buttons.scss +153 -0
- data/_sass/_footer.scss +80 -0
- data/_sass/_forms.scss +391 -0
- data/_sass/_masthead.scss +53 -0
- data/_sass/_mixins.scss +53 -0
- data/_sass/_navigation.scss +544 -0
- data/_sass/_notices.scss +99 -0
- data/_sass/_page.scss +401 -0
- data/_sass/_print.scss +18 -0
- data/_sass/_reset.scss +187 -0
- data/_sass/_sidebar.scss +231 -0
- data/_sass/_syntax.scss +146 -0
- data/_sass/_tables.scss +38 -0
- data/_sass/_utilities.scss +470 -0
- data/_sass/_variables.scss +128 -0
- data/_sass/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/vendor/breakpoint/_context.scss +95 -0
- data/_sass/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/vendor/breakpoint/parsers/triple/_default.scss +18 -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/_font-awesome.scss +18 -0
- data/_sass/vendor/font-awesome/_icons.scss +789 -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 +60 -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/_screen-reader.scss +5 -0
- data/_sass/vendor/font-awesome/_stacked.scss +20 -0
- data/_sass/vendor/font-awesome/_variables.scss +800 -0
- data/_sass/vendor/magnific-popup/_magnific-popup.scss +649 -0
- data/_sass/vendor/magnific-popup/_settings.scss +46 -0
- data/_sass/vendor/susy/_su.scss +4 -0
- data/_sass/vendor/susy/_susy.scss +4 -0
- data/_sass/vendor/susy/_susyone.scss +4 -0
- data/_sass/vendor/susy/susy/_su.scss +7 -0
- data/_sass/vendor/susy/susy/language/_susy.scss +24 -0
- data/_sass/vendor/susy/susy/language/_susyone.scss +13 -0
- data/_sass/vendor/susy/susy/language/susy/_background.scss +385 -0
- data/_sass/vendor/susy/susy/language/susy/_bleed.scss +200 -0
- data/_sass/vendor/susy/susy/language/susy/_box-sizing.scss +47 -0
- data/_sass/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -0
- data/_sass/vendor/susy/susy/language/susy/_container.scss +81 -0
- data/_sass/vendor/susy/susy/language/susy/_context.scss +36 -0
- data/_sass/vendor/susy/susy/language/susy/_gallery.scss +94 -0
- data/_sass/vendor/susy/susy/language/susy/_grids.scss +64 -0
- data/_sass/vendor/susy/susy/language/susy/_gutters.scss +154 -0
- data/_sass/vendor/susy/susy/language/susy/_isolate.scss +77 -0
- data/_sass/vendor/susy/susy/language/susy/_margins.scss +94 -0
- data/_sass/vendor/susy/susy/language/susy/_padding.scss +74 -0
- data/_sass/vendor/susy/susy/language/susy/_rows.scss +138 -0
- data/_sass/vendor/susy/susy/language/susy/_settings.scss +216 -0
- data/_sass/vendor/susy/susy/language/susy/_span.scss +163 -0
- data/_sass/vendor/susy/susy/language/susy/_validation.scss +16 -0
- data/_sass/vendor/susy/susy/language/susyone/_background.scss +18 -0
- data/_sass/vendor/susy/susy/language/susyone/_functions.scss +377 -0
- data/_sass/vendor/susy/susy/language/susyone/_grid.scss +312 -0
- data/_sass/vendor/susy/susy/language/susyone/_isolation.scss +51 -0
- data/_sass/vendor/susy/susy/language/susyone/_margin.scss +93 -0
- data/_sass/vendor/susy/susy/language/susyone/_media.scss +105 -0
- data/_sass/vendor/susy/susy/language/susyone/_padding.scss +92 -0
- data/_sass/vendor/susy/susy/language/susyone/_settings.scss +60 -0
- data/_sass/vendor/susy/susy/output/_float.scss +9 -0
- data/_sass/vendor/susy/susy/output/_shared.scss +15 -0
- data/_sass/vendor/susy/susy/output/_support.scss +9 -0
- data/_sass/vendor/susy/susy/output/float/_container.scss +16 -0
- data/_sass/vendor/susy/susy/output/float/_end.scss +40 -0
- data/_sass/vendor/susy/susy/output/float/_isolate.scss +22 -0
- data/_sass/vendor/susy/susy/output/float/_span.scss +35 -0
- data/_sass/vendor/susy/susy/output/shared/_background.scss +26 -0
- data/_sass/vendor/susy/susy/output/shared/_container.scss +21 -0
- data/_sass/vendor/susy/susy/output/shared/_direction.scss +42 -0
- data/_sass/vendor/susy/susy/output/shared/_inspect.scss +25 -0
- data/_sass/vendor/susy/susy/output/shared/_margins.scss +23 -0
- data/_sass/vendor/susy/susy/output/shared/_output.scss +14 -0
- data/_sass/vendor/susy/susy/output/shared/_padding.scss +23 -0
- data/_sass/vendor/susy/susy/output/support/_background.scss +58 -0
- data/_sass/vendor/susy/susy/output/support/_box-sizing.scss +19 -0
- data/_sass/vendor/susy/susy/output/support/_clearfix.scss +18 -0
- data/_sass/vendor/susy/susy/output/support/_prefix.scss +19 -0
- data/_sass/vendor/susy/susy/output/support/_rem.scss +22 -0
- data/_sass/vendor/susy/susy/output/support/_support.scss +85 -0
- data/_sass/vendor/susy/susy/su/_grid.scss +103 -0
- data/_sass/vendor/susy/susy/su/_settings.scss +73 -0
- data/_sass/vendor/susy/susy/su/_utilities.scss +111 -0
- data/_sass/vendor/susy/susy/su/_validation.scss +57 -0
- data/assets/css/main.scss +79 -0
- data/assets/fonts/FontAwesome.otf +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/js/_main.js +100 -0
- data/assets/js/main.min.js +5 -0
- data/assets/js/plugins/jquery.fitvids.js +82 -0
- data/assets/js/plugins/jquery.greedy-navigation.js +72 -0
- data/assets/js/plugins/jquery.magnific-popup.js +2049 -0
- data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -0
- data/assets/js/plugins/stickyfill.min.js +8 -0
- data/assets/js/vendor/jquery/jquery-1.12.4.min.js +5 -0
- metadata +243 -16
- data/_includes/header.html +0 -0
- data/_layouts/page.html +0 -5
- data/_layouts/post.html +0 -9
- data/_sass/woforo.scss +0 -24
data/_sass/_print.scss
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
PRINT STYLES
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/*
|
6
|
+
Hide the following elements on print
|
7
|
+
========================================================================== */
|
8
|
+
|
9
|
+
@media print {
|
10
|
+
.masthead,
|
11
|
+
.toc,
|
12
|
+
.page__share,
|
13
|
+
.page__related,
|
14
|
+
.ads,
|
15
|
+
.page__footer {
|
16
|
+
display: none;
|
17
|
+
}
|
18
|
+
}
|
data/_sass/_reset.scss
ADDED
@@ -0,0 +1,187 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
STYLE RESETS
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
@include border-box-sizing;
|
6
|
+
|
7
|
+
html {
|
8
|
+
/* apply a natural box layout model to all elements */
|
9
|
+
box-sizing: border-box;
|
10
|
+
background-color: $background-color;
|
11
|
+
font-size: 16px;
|
12
|
+
|
13
|
+
@include breakpoint($medium) {
|
14
|
+
font-size: 18px;
|
15
|
+
}
|
16
|
+
|
17
|
+
@include breakpoint($large) {
|
18
|
+
font-size: 20px;
|
19
|
+
}
|
20
|
+
|
21
|
+
@include breakpoint($x-large) {
|
22
|
+
font-size: 22px;
|
23
|
+
}
|
24
|
+
|
25
|
+
-webkit-text-size-adjust: 100%;
|
26
|
+
-ms-text-size-adjust: 100%;
|
27
|
+
}
|
28
|
+
|
29
|
+
/* Remove margin */
|
30
|
+
|
31
|
+
body { margin: 0; }
|
32
|
+
|
33
|
+
/* Selected elements */
|
34
|
+
|
35
|
+
::-moz-selection {
|
36
|
+
color: #fff;
|
37
|
+
background: #000;
|
38
|
+
}
|
39
|
+
|
40
|
+
::selection {
|
41
|
+
color: #fff;
|
42
|
+
background: #000;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Display HTML5 elements in IE6-9 and FF3 */
|
46
|
+
|
47
|
+
article,
|
48
|
+
aside,
|
49
|
+
details,
|
50
|
+
figcaption,
|
51
|
+
figure,
|
52
|
+
footer,
|
53
|
+
header,
|
54
|
+
hgroup,
|
55
|
+
main,
|
56
|
+
nav,
|
57
|
+
section {
|
58
|
+
display: block;
|
59
|
+
}
|
60
|
+
|
61
|
+
/* Display block in IE6-9 and FF3 */
|
62
|
+
|
63
|
+
audio,
|
64
|
+
canvas,
|
65
|
+
video {
|
66
|
+
display: inline-block;
|
67
|
+
*display: inline;
|
68
|
+
*zoom: 1;
|
69
|
+
}
|
70
|
+
|
71
|
+
/* Prevents modern browsers from displaying 'audio' without controls */
|
72
|
+
|
73
|
+
audio:not([controls]) {
|
74
|
+
display: none;
|
75
|
+
}
|
76
|
+
|
77
|
+
a {
|
78
|
+
color: $link-color;
|
79
|
+
}
|
80
|
+
|
81
|
+
/* Apply focus state */
|
82
|
+
|
83
|
+
a:focus {
|
84
|
+
@extend %tab-focus;
|
85
|
+
}
|
86
|
+
|
87
|
+
/* Remove outline from links */
|
88
|
+
|
89
|
+
a:hover,
|
90
|
+
a:active {
|
91
|
+
outline: 0;
|
92
|
+
}
|
93
|
+
|
94
|
+
/* Prevent sub and sup affecting line-height in all browsers */
|
95
|
+
|
96
|
+
sub,
|
97
|
+
sup {
|
98
|
+
position: relative;
|
99
|
+
font-size: 75%;
|
100
|
+
line-height: 0;
|
101
|
+
vertical-align: baseline;
|
102
|
+
}
|
103
|
+
|
104
|
+
sup {
|
105
|
+
top: -0.5em;
|
106
|
+
}
|
107
|
+
|
108
|
+
sub {
|
109
|
+
bottom: -0.25em;
|
110
|
+
}
|
111
|
+
|
112
|
+
/* img border in anchor's and image quality */
|
113
|
+
|
114
|
+
img {
|
115
|
+
/* Responsive images (ensure images don't scale beyond their parents) */
|
116
|
+
max-width: 100%; /* part 1: Set a maximum relative to the parent*/
|
117
|
+
width: auto\9; /* IE7-8 need help adjusting responsive images*/
|
118
|
+
height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
|
119
|
+
|
120
|
+
vertical-align: middle;
|
121
|
+
border: 0;
|
122
|
+
-ms-interpolation-mode: bicubic;
|
123
|
+
}
|
124
|
+
|
125
|
+
/* Prevent max-width from affecting Google Maps */
|
126
|
+
|
127
|
+
#map_canvas img,
|
128
|
+
.google-maps img {
|
129
|
+
max-width: none;
|
130
|
+
}
|
131
|
+
|
132
|
+
/* Consistent form font size in all browsers, margin changes, misc */
|
133
|
+
|
134
|
+
button,
|
135
|
+
input,
|
136
|
+
select,
|
137
|
+
textarea {
|
138
|
+
margin: 0;
|
139
|
+
font-size: 100%;
|
140
|
+
vertical-align: middle;
|
141
|
+
}
|
142
|
+
|
143
|
+
button,
|
144
|
+
input {
|
145
|
+
*overflow: visible; /* inner spacing ie IE6/7*/
|
146
|
+
line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
|
147
|
+
}
|
148
|
+
|
149
|
+
button::-moz-focus-inner,
|
150
|
+
input::-moz-focus-inner { /* inner padding and border oddities in FF3/4*/
|
151
|
+
padding: 0;
|
152
|
+
border: 0;
|
153
|
+
}
|
154
|
+
|
155
|
+
button,
|
156
|
+
html input[type="button"], // avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls
|
157
|
+
input[type="reset"],
|
158
|
+
input[type="submit"] {
|
159
|
+
-webkit-appearance: button; /* corrects inability to style clickable `input` types in iOS*/
|
160
|
+
cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
|
161
|
+
}
|
162
|
+
|
163
|
+
label,
|
164
|
+
select,
|
165
|
+
button,
|
166
|
+
input[type="button"],
|
167
|
+
input[type="reset"],
|
168
|
+
input[type="submit"],
|
169
|
+
input[type="radio"],
|
170
|
+
input[type="checkbox"] {
|
171
|
+
cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
|
172
|
+
}
|
173
|
+
|
174
|
+
input[type="search"] { /* Appearance in Safari/Chrome*/
|
175
|
+
box-sizing: content-box;
|
176
|
+
-webkit-appearance: textfield;
|
177
|
+
}
|
178
|
+
|
179
|
+
input[type="search"]::-webkit-search-decoration,
|
180
|
+
input[type="search"]::-webkit-search-cancel-button {
|
181
|
+
-webkit-appearance: none; /* inner-padding issues in Chrome OSX, Safari 5*/
|
182
|
+
}
|
183
|
+
|
184
|
+
textarea {
|
185
|
+
overflow: auto; /* remove vertical scrollbar in IE6-9*/
|
186
|
+
vertical-align: top; /* readability and alignment cross-browser*/
|
187
|
+
}
|
data/_sass/_sidebar.scss
ADDED
@@ -0,0 +1,231 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
SIDEBAR
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/*
|
6
|
+
Default
|
7
|
+
========================================================================== */
|
8
|
+
|
9
|
+
.sidebar {
|
10
|
+
-webkit-transform: translate3d(0, 0 , 0);
|
11
|
+
transform: translate3d(0, 0 , 0);
|
12
|
+
|
13
|
+
@include clearfix();
|
14
|
+
margin-bottom: 1em;
|
15
|
+
|
16
|
+
@include breakpoint($large) {
|
17
|
+
@include span(2 of 12);
|
18
|
+
opacity: 0.75;
|
19
|
+
-webkit-transition: opacity 0.2s ease-in-out;
|
20
|
+
transition: opacity 0.2s ease-in-out;
|
21
|
+
|
22
|
+
&:hover {
|
23
|
+
opacity: 1;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
@include breakpoint($x-large) {
|
28
|
+
padding-right: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
h2, h3, h4, h5, h6 {
|
32
|
+
margin-bottom: 0;
|
33
|
+
font-family: $sans-serif-narrow;
|
34
|
+
}
|
35
|
+
|
36
|
+
p, li {
|
37
|
+
font-family: $sans-serif;
|
38
|
+
font-size: $type-size-6;
|
39
|
+
line-height: 1.5;
|
40
|
+
}
|
41
|
+
|
42
|
+
img {
|
43
|
+
width: 100%;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.sidebar__right {
|
48
|
+
margin-bottom: 1em;
|
49
|
+
|
50
|
+
@include breakpoint($large) {
|
51
|
+
position: relative;
|
52
|
+
float: right;
|
53
|
+
width: $right-sidebar-width-narrow;
|
54
|
+
margin-left: span(0.5 of 12);
|
55
|
+
z-index: 10;
|
56
|
+
}
|
57
|
+
|
58
|
+
@include breakpoint($x-large) {
|
59
|
+
width: $right-sidebar-width;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
/*
|
64
|
+
Author profile and links
|
65
|
+
========================================================================== */
|
66
|
+
|
67
|
+
.author__avatar {
|
68
|
+
display: table-cell;
|
69
|
+
vertical-align: top;
|
70
|
+
width: 36px;
|
71
|
+
height: 36px;
|
72
|
+
|
73
|
+
@include breakpoint($large) {
|
74
|
+
display: block;
|
75
|
+
width: auto;
|
76
|
+
height: auto;
|
77
|
+
}
|
78
|
+
|
79
|
+
img {
|
80
|
+
max-width: 110px;
|
81
|
+
border-radius: 50%;
|
82
|
+
|
83
|
+
@include breakpoint($large) {
|
84
|
+
padding: 5px;
|
85
|
+
border: 1px solid $border-color;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.author__content {
|
91
|
+
display: table-cell;
|
92
|
+
vertical-align: top;
|
93
|
+
padding-left: 15px;
|
94
|
+
padding-right: 25px;
|
95
|
+
line-height: 1;
|
96
|
+
|
97
|
+
@include breakpoint($large) {
|
98
|
+
display: block;
|
99
|
+
width: 100%;
|
100
|
+
padding-left: 0;
|
101
|
+
padding-right: 0;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
.author__name {
|
106
|
+
margin: 0;
|
107
|
+
|
108
|
+
@include breakpoint($large) {
|
109
|
+
margin-top: 10px;
|
110
|
+
margin-bottom: 10px;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
.sidebar .author__name {
|
114
|
+
font-family: $sans-serif;
|
115
|
+
font-size: $type-size-5;
|
116
|
+
}
|
117
|
+
|
118
|
+
.author__bio {
|
119
|
+
margin: 0;
|
120
|
+
|
121
|
+
@include breakpoint($large) {
|
122
|
+
margin-top: 10px;
|
123
|
+
margin-bottom: 20px;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
.author__urls-wrapper {
|
128
|
+
position: relative;
|
129
|
+
display: table-cell;
|
130
|
+
vertical-align: middle;
|
131
|
+
font-family: $sans-serif;
|
132
|
+
z-index: 10;
|
133
|
+
position: relative;
|
134
|
+
cursor: pointer;
|
135
|
+
|
136
|
+
li:last-child {
|
137
|
+
a {
|
138
|
+
margin-bottom: 0;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
@include breakpoint($large) {
|
143
|
+
display: block;
|
144
|
+
}
|
145
|
+
|
146
|
+
button {
|
147
|
+
margin-bottom: 0;
|
148
|
+
|
149
|
+
@include breakpoint($large) {
|
150
|
+
display: none;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
.author__urls {
|
156
|
+
display: none;
|
157
|
+
position: absolute;
|
158
|
+
right: 0;
|
159
|
+
margin-top: 15px;
|
160
|
+
padding: 10px;
|
161
|
+
list-style-type: none;
|
162
|
+
border: 1px solid $border-color;
|
163
|
+
border-radius: $border-radius;
|
164
|
+
background: #fff;
|
165
|
+
z-index: -1;
|
166
|
+
box-shadow: 0 0 10px rgba(#000, 0.25);
|
167
|
+
cursor: default;
|
168
|
+
|
169
|
+
@include breakpoint($large) {
|
170
|
+
display: block;
|
171
|
+
position: relative;
|
172
|
+
margin: 0;
|
173
|
+
padding: 0;
|
174
|
+
border: 0;
|
175
|
+
background: transparent;
|
176
|
+
box-shadow: none;
|
177
|
+
}
|
178
|
+
|
179
|
+
&:before {
|
180
|
+
display: block;
|
181
|
+
content: "";
|
182
|
+
position: absolute;
|
183
|
+
top: -11px;
|
184
|
+
left: calc(50% - 10px);
|
185
|
+
width: 0;
|
186
|
+
border-style: solid;
|
187
|
+
border-width: 0 10px 10px;
|
188
|
+
border-color: $border-color transparent;
|
189
|
+
z-index: 0;
|
190
|
+
|
191
|
+
@include breakpoint($large) {
|
192
|
+
display: none;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
&:after {
|
197
|
+
display: block;
|
198
|
+
content: "";
|
199
|
+
position: absolute;
|
200
|
+
top: -10px;
|
201
|
+
left: calc(50% - 10px);
|
202
|
+
width: 0;
|
203
|
+
border-style: solid;
|
204
|
+
border-width: 0 10px 10px;
|
205
|
+
border-color: #fff transparent;
|
206
|
+
z-index: 1;
|
207
|
+
|
208
|
+
@include breakpoint($large) {
|
209
|
+
display: none;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
li {
|
214
|
+
white-space: nowrap;
|
215
|
+
}
|
216
|
+
|
217
|
+
a {
|
218
|
+
display: block;
|
219
|
+
margin-bottom: 5px;
|
220
|
+
padding-right: 5px;
|
221
|
+
padding-top: 2px;
|
222
|
+
padding-bottom: 2px;
|
223
|
+
color: inherit;
|
224
|
+
font-size: $type-size-5;
|
225
|
+
text-decoration: none;
|
226
|
+
|
227
|
+
&:hover {
|
228
|
+
text-decoration: underline;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
}
|
data/_sass/_syntax.scss
ADDED
@@ -0,0 +1,146 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Syntax highlighting
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
div.highlighter-rouge,
|
6
|
+
figure.highlight {
|
7
|
+
position: relative;
|
8
|
+
margin-bottom: 1em;
|
9
|
+
font-family: $monospace;
|
10
|
+
font-size: $type-size-7;
|
11
|
+
line-height: 1.8;
|
12
|
+
border: 1px solid $border-color;
|
13
|
+
border-radius: $border-radius;
|
14
|
+
background-color: $code-background-color;
|
15
|
+
box-shadow: $box-shadow;
|
16
|
+
|
17
|
+
&:before {
|
18
|
+
position: absolute;
|
19
|
+
top: 0;
|
20
|
+
right: 0;
|
21
|
+
padding: 0.5em;
|
22
|
+
background-color: $lighter-gray;
|
23
|
+
content: "\f121";
|
24
|
+
font-family: "fontawesome" !important;
|
25
|
+
line-height: 1;
|
26
|
+
text-transform: none;
|
27
|
+
speak: none;
|
28
|
+
}
|
29
|
+
|
30
|
+
.highlight {
|
31
|
+
margin: 0;
|
32
|
+
padding: 1em;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
figure.highlight {
|
37
|
+
padding-left: 1em;
|
38
|
+
padding-right: 1em;
|
39
|
+
}
|
40
|
+
|
41
|
+
.highlight table {
|
42
|
+
font-size: 1em;
|
43
|
+
border: 0;
|
44
|
+
|
45
|
+
td {
|
46
|
+
padding: 5px;
|
47
|
+
border: 0;
|
48
|
+
|
49
|
+
// line numbers
|
50
|
+
&.gutter {
|
51
|
+
padding-right: 1em;
|
52
|
+
color: $light-gray;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
pre {
|
57
|
+
margin: 0;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.highlight pre { width: 100%; }
|
62
|
+
|
63
|
+
/*
|
64
|
+
Solarized Light
|
65
|
+
http://ethanschoonover.com/solarized
|
66
|
+
|
67
|
+
SOLARIZED HEX ROLE
|
68
|
+
--------- -------- ------------------------------------------
|
69
|
+
base01 #586e75 body text / default code / primary content
|
70
|
+
base1 #93a1a1 comments / secondary content
|
71
|
+
base3 #fdf6e3 background
|
72
|
+
orange #cb4b16 constants
|
73
|
+
red #dc322f regex, special keywords
|
74
|
+
blue #22b3eb reserved keywords
|
75
|
+
cyan #2aa198 strings, numbers
|
76
|
+
green #859900 operators, other keywords
|
77
|
+
========================================================================== */
|
78
|
+
|
79
|
+
.highlight .c { color: #93a1a1 } /* Comment */
|
80
|
+
.highlight .err { color: #586e75 } /* Error */
|
81
|
+
.highlight .g { color: #586e75 } /* Generic */
|
82
|
+
.highlight .k { color: #859900 } /* Keyword */
|
83
|
+
.highlight .l { color: #586e75 } /* Literal */
|
84
|
+
.highlight .n { color: #586e75 } /* Name */
|
85
|
+
.highlight .o { color: #859900 } /* Operator */
|
86
|
+
.highlight .x { color: #cb4b16 } /* Other */
|
87
|
+
.highlight .p { color: #586e75 } /* Punctuation */
|
88
|
+
.highlight .cm { color: #93a1a1 } /* Comment.Multiline */
|
89
|
+
.highlight .cp { color: #859900 } /* Comment.Preproc */
|
90
|
+
.highlight .c1 { color: #93a1a1 } /* Comment.Single */
|
91
|
+
.highlight .cs { color: #859900 } /* Comment.Special */
|
92
|
+
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
|
93
|
+
.highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */
|
94
|
+
.highlight .gr { color: #dc322f } /* Generic.Error */
|
95
|
+
.highlight .gh { color: #cb4b16 } /* Generic.Heading */
|
96
|
+
.highlight .gi { color: #859900 } /* Generic.Inserted */
|
97
|
+
.highlight .go { color: #586e75 } /* Generic.Output */
|
98
|
+
.highlight .gp { color: #586e75 } /* Generic.Prompt */
|
99
|
+
.highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */
|
100
|
+
.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
|
101
|
+
.highlight .gt { color: #586e75 } /* Generic.Traceback */
|
102
|
+
.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
|
103
|
+
.highlight .kd { color: #22b3eb } /* Keyword.Declaration */
|
104
|
+
.highlight .kn { color: #859900 } /* Keyword.Namespace */
|
105
|
+
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
|
106
|
+
.highlight .kr { color: #22b3eb } /* Keyword.Reserved */
|
107
|
+
.highlight .kt { color: #dc322f } /* Keyword.Type */
|
108
|
+
.highlight .ld { color: #586e75 } /* Literal.Date */
|
109
|
+
.highlight .m { color: #2aa198 } /* Literal.Number */
|
110
|
+
.highlight .s { color: #2aa198 } /* Literal.String */
|
111
|
+
.highlight .na { color: #586e75 } /* Name.Attribute */
|
112
|
+
.highlight .nb { color: #B58900 } /* Name.Builtin */
|
113
|
+
.highlight .nc { color: #22b3eb } /* Name.Class */
|
114
|
+
.highlight .no { color: #cb4b16 } /* Name.Constant */
|
115
|
+
.highlight .nd { color: #22b3eb } /* Name.Decorator */
|
116
|
+
.highlight .ni { color: #cb4b16 } /* Name.Entity */
|
117
|
+
.highlight .ne { color: #cb4b16 } /* Name.Exception */
|
118
|
+
.highlight .nf { color: #22b3eb } /* Name.Function */
|
119
|
+
.highlight .nl { color: #586e75 } /* Name.Label */
|
120
|
+
.highlight .nn { color: #586e75 } /* Name.Namespace */
|
121
|
+
.highlight .nx { color: #586e75 } /* Name.Other */
|
122
|
+
.highlight .py { color: #586e75 } /* Name.Property */
|
123
|
+
.highlight .nt { color: #22b3eb } /* Name.Tag */
|
124
|
+
.highlight .nv { color: #22b3eb } /* Name.Variable */
|
125
|
+
.highlight .ow { color: #859900 } /* Operator.Word */
|
126
|
+
.highlight .w { color: #586e75 } /* Text.Whitespace */
|
127
|
+
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
|
128
|
+
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
|
129
|
+
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
|
130
|
+
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
|
131
|
+
.highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */
|
132
|
+
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
|
133
|
+
.highlight .sd { color: #586e75 } /* Literal.String.Doc */
|
134
|
+
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
|
135
|
+
.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
|
136
|
+
.highlight .sh { color: #586e75 } /* Literal.String.Heredoc */
|
137
|
+
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
|
138
|
+
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
|
139
|
+
.highlight .sr { color: #dc322f } /* Literal.String.Regex */
|
140
|
+
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
|
141
|
+
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
|
142
|
+
.highlight .bp { color: #22b3eb } /* Name.Builtin.Pseudo */
|
143
|
+
.highlight .vc { color: #22b3eb } /* Name.Variable.Class */
|
144
|
+
.highlight .vg { color: #22b3eb } /* Name.Variable.Global */
|
145
|
+
.highlight .vi { color: #22b3eb } /* Name.Variable.Instance */
|
146
|
+
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
|