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/_slimmenu.scss
CHANGED
@@ -1,177 +1,177 @@
|
|
1
|
-
.menu-collapser {
|
2
|
-
position: relative;
|
3
|
-
width: 100%;
|
4
|
-
height: 48px;
|
5
|
-
padding: 0 8px;
|
6
|
-
line-height: 48px;
|
7
|
-
box-sizing: border-box;
|
8
|
-
-moz-box-sizing: border-box;
|
9
|
-
-webkit-box-sizing: border-box;
|
10
|
-
border: solid 1.5px;
|
11
|
-
border-radius: 5px;
|
12
|
-
margin-top: 1em;
|
13
|
-
}
|
14
|
-
.collapse-button {
|
15
|
-
position: absolute;
|
16
|
-
right: 8px;
|
17
|
-
top: 50%;
|
18
|
-
width: 40px;
|
19
|
-
padding: 7px 10px;
|
20
|
-
font-size: 14px;
|
21
|
-
text-align: center;
|
22
|
-
border-radius: 2px;
|
23
|
-
cursor: pointer;
|
24
|
-
|
25
|
-
transform: translate(0, -50%);
|
26
|
-
-o-transform: translate(0, -50%);
|
27
|
-
-ms-transform: translate(0, -50%);
|
28
|
-
-moz-transform: translate(0, -50%);
|
29
|
-
-webkit-transform: translate(0, -50%);
|
30
|
-
|
31
|
-
box-sizing: border-box;
|
32
|
-
-moz-box-sizing: border-box;
|
33
|
-
-webkit-box-sizing: border-box;
|
34
|
-
|
35
|
-
.icon-bar {
|
36
|
-
display: block;
|
37
|
-
height: 2px;
|
38
|
-
width: 18px;
|
39
|
-
margin: 2px 0;
|
40
|
-
background-color: $text-color;
|
41
|
-
border-radius: 1px;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
ul.slimmenu {
|
46
|
-
width: 100%;
|
47
|
-
margin: 0;
|
48
|
-
padding: 0;
|
49
|
-
list-style-type: none;
|
50
|
-
|
51
|
-
&:before,
|
52
|
-
&:after {
|
53
|
-
content: '';
|
54
|
-
display: table;
|
55
|
-
}
|
56
|
-
|
57
|
-
&:after {
|
58
|
-
clear: both;
|
59
|
-
}
|
60
|
-
|
61
|
-
&.collapsed {
|
62
|
-
margin-top: 0.5em;
|
63
|
-
border: solid;
|
64
|
-
border-radius: 5px;
|
65
|
-
|
66
|
-
li {
|
67
|
-
display: block;
|
68
|
-
width: 100%;
|
69
|
-
|
70
|
-
box-sizing: border-box;
|
71
|
-
-moz-box-sizing: border-box;
|
72
|
-
-webkit-box-sizing: border-box;
|
73
|
-
|
74
|
-
> ul {
|
75
|
-
position: static;
|
76
|
-
display: none;
|
77
|
-
}
|
78
|
-
|
79
|
-
a {
|
80
|
-
display: block;
|
81
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.075);
|
82
|
-
|
83
|
-
box-sizing: border-box;
|
84
|
-
-moz-box-sizing: border-box;
|
85
|
-
-webkit-box-sizing: border-box;
|
86
|
-
}
|
87
|
-
|
88
|
-
.sub-toggle {
|
89
|
-
height: 40px;
|
90
|
-
display: block;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
li {
|
96
|
-
position: relative;
|
97
|
-
display: inline-block;
|
98
|
-
padding: 0 8px;
|
99
|
-
|
100
|
-
ul {
|
101
|
-
margin: 0;
|
102
|
-
list-style-type: none;
|
103
|
-
z-index: 10;
|
104
|
-
background: $background-color;
|
105
|
-
}
|
106
|
-
|
107
|
-
> ul {
|
108
|
-
position: absolute;
|
109
|
-
left: 0;
|
110
|
-
top: 100%;
|
111
|
-
z-index: 999;
|
112
|
-
display: none;
|
113
|
-
|
114
|
-
> li ul {
|
115
|
-
position: absolute;
|
116
|
-
left: 100%;
|
117
|
-
top: 0;
|
118
|
-
z-index: 999;
|
119
|
-
display: none;
|
120
|
-
width: 100%;
|
121
|
-
}
|
122
|
-
}
|
123
|
-
|
124
|
-
a {
|
125
|
-
display: block;
|
126
|
-
padding-top: 0.5em;
|
127
|
-
padding-bottom: 0.5em;
|
128
|
-
color: $link-color;
|
129
|
-
font-weight: 400;
|
130
|
-
transition: background-color 0.5s ease-out;
|
131
|
-
-o-transition: background-color 0.5s ease-out;
|
132
|
-
-moz-transition: background-color 0.5s ease-out;
|
133
|
-
-webkit-transition: background-color 0.5s ease-out;
|
134
|
-
|
135
|
-
&:hover {
|
136
|
-
text-decoration: none;
|
137
|
-
color: $link-color-hover;
|
138
|
-
}
|
139
|
-
}
|
140
|
-
|
141
|
-
.sub-toggle {
|
142
|
-
position: absolute;
|
143
|
-
right: 0;
|
144
|
-
top: 0;
|
145
|
-
z-index: 999;
|
146
|
-
width: 48px;
|
147
|
-
text-align: center;
|
148
|
-
cursor: pointer;
|
149
|
-
display: none;
|
150
|
-
|
151
|
-
&:before {
|
152
|
-
content: '';
|
153
|
-
display: inline-block;
|
154
|
-
height: 100%;
|
155
|
-
margin-right: -0.25em;
|
156
|
-
vertical-align: middle;
|
157
|
-
}
|
158
|
-
|
159
|
-
> i {
|
160
|
-
display: inline-block;
|
161
|
-
color: #333;
|
162
|
-
font-size: 18px;
|
163
|
-
vertical-align: middle;
|
164
|
-
}
|
165
|
-
}
|
166
|
-
}
|
167
|
-
|
168
|
-
> li {
|
169
|
-
&:first-child {
|
170
|
-
border-left: 0;
|
171
|
-
}
|
172
|
-
}
|
173
|
-
}
|
174
|
-
|
175
|
-
.slimmenu.collapsed li ul {
|
176
|
-
width: inherit;
|
177
|
-
}
|
1
|
+
.menu-collapser {
|
2
|
+
position: relative;
|
3
|
+
width: 100%;
|
4
|
+
height: 48px;
|
5
|
+
padding: 0 8px;
|
6
|
+
line-height: 48px;
|
7
|
+
box-sizing: border-box;
|
8
|
+
-moz-box-sizing: border-box;
|
9
|
+
-webkit-box-sizing: border-box;
|
10
|
+
border: solid 1.5px;
|
11
|
+
border-radius: 5px;
|
12
|
+
margin-top: 1em;
|
13
|
+
}
|
14
|
+
.collapse-button {
|
15
|
+
position: absolute;
|
16
|
+
right: 8px;
|
17
|
+
top: 50%;
|
18
|
+
width: 40px;
|
19
|
+
padding: 7px 10px;
|
20
|
+
font-size: 14px;
|
21
|
+
text-align: center;
|
22
|
+
border-radius: 2px;
|
23
|
+
cursor: pointer;
|
24
|
+
|
25
|
+
transform: translate(0, -50%);
|
26
|
+
-o-transform: translate(0, -50%);
|
27
|
+
-ms-transform: translate(0, -50%);
|
28
|
+
-moz-transform: translate(0, -50%);
|
29
|
+
-webkit-transform: translate(0, -50%);
|
30
|
+
|
31
|
+
box-sizing: border-box;
|
32
|
+
-moz-box-sizing: border-box;
|
33
|
+
-webkit-box-sizing: border-box;
|
34
|
+
|
35
|
+
.icon-bar {
|
36
|
+
display: block;
|
37
|
+
height: 2px;
|
38
|
+
width: 18px;
|
39
|
+
margin: 2px 0;
|
40
|
+
background-color: $text-color;
|
41
|
+
border-radius: 1px;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
ul.slimmenu {
|
46
|
+
width: 100%;
|
47
|
+
margin: 0;
|
48
|
+
padding: 0;
|
49
|
+
list-style-type: none;
|
50
|
+
|
51
|
+
&:before,
|
52
|
+
&:after {
|
53
|
+
content: '';
|
54
|
+
display: table;
|
55
|
+
}
|
56
|
+
|
57
|
+
&:after {
|
58
|
+
clear: both;
|
59
|
+
}
|
60
|
+
|
61
|
+
&.collapsed {
|
62
|
+
margin-top: 0.5em;
|
63
|
+
border: solid;
|
64
|
+
border-radius: 5px;
|
65
|
+
|
66
|
+
li {
|
67
|
+
display: block;
|
68
|
+
width: 100%;
|
69
|
+
|
70
|
+
box-sizing: border-box;
|
71
|
+
-moz-box-sizing: border-box;
|
72
|
+
-webkit-box-sizing: border-box;
|
73
|
+
|
74
|
+
> ul {
|
75
|
+
position: static;
|
76
|
+
display: none;
|
77
|
+
}
|
78
|
+
|
79
|
+
a {
|
80
|
+
display: block;
|
81
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.075);
|
82
|
+
|
83
|
+
box-sizing: border-box;
|
84
|
+
-moz-box-sizing: border-box;
|
85
|
+
-webkit-box-sizing: border-box;
|
86
|
+
}
|
87
|
+
|
88
|
+
.sub-toggle {
|
89
|
+
height: 40px;
|
90
|
+
display: block;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
li {
|
96
|
+
position: relative;
|
97
|
+
display: inline-block;
|
98
|
+
padding: 0 8px;
|
99
|
+
|
100
|
+
ul {
|
101
|
+
margin: 0;
|
102
|
+
list-style-type: none;
|
103
|
+
z-index: 10;
|
104
|
+
background: $background-color;
|
105
|
+
}
|
106
|
+
|
107
|
+
> ul {
|
108
|
+
position: absolute;
|
109
|
+
left: 0;
|
110
|
+
top: 100%;
|
111
|
+
z-index: 999;
|
112
|
+
display: none;
|
113
|
+
|
114
|
+
> li ul {
|
115
|
+
position: absolute;
|
116
|
+
left: 100%;
|
117
|
+
top: 0;
|
118
|
+
z-index: 999;
|
119
|
+
display: none;
|
120
|
+
width: 100%;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
a {
|
125
|
+
display: block;
|
126
|
+
padding-top: 0.5em;
|
127
|
+
padding-bottom: 0.5em;
|
128
|
+
color: $link-color;
|
129
|
+
font-weight: 400;
|
130
|
+
transition: background-color 0.5s ease-out;
|
131
|
+
-o-transition: background-color 0.5s ease-out;
|
132
|
+
-moz-transition: background-color 0.5s ease-out;
|
133
|
+
-webkit-transition: background-color 0.5s ease-out;
|
134
|
+
|
135
|
+
&:hover {
|
136
|
+
text-decoration: none;
|
137
|
+
color: $link-color-hover;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
.sub-toggle {
|
142
|
+
position: absolute;
|
143
|
+
right: 0;
|
144
|
+
top: 0;
|
145
|
+
z-index: 999;
|
146
|
+
width: 48px;
|
147
|
+
text-align: center;
|
148
|
+
cursor: pointer;
|
149
|
+
display: none;
|
150
|
+
|
151
|
+
&:before {
|
152
|
+
content: '';
|
153
|
+
display: inline-block;
|
154
|
+
height: 100%;
|
155
|
+
margin-right: -0.25em;
|
156
|
+
vertical-align: middle;
|
157
|
+
}
|
158
|
+
|
159
|
+
> i {
|
160
|
+
display: inline-block;
|
161
|
+
color: #333;
|
162
|
+
font-size: 18px;
|
163
|
+
vertical-align: middle;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
> li {
|
169
|
+
&:first-child {
|
170
|
+
border-left: 0;
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
.slimmenu.collapsed li ul {
|
176
|
+
width: inherit;
|
177
|
+
}
|
data/_sass/_syntax.scss
CHANGED
@@ -1,126 +1,126 @@
|
|
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-6;
|
11
|
-
line-height: 1.8;
|
12
|
-
border: 1px solid $border-color;
|
13
|
-
border-radius: $border-radius;
|
14
|
-
background-color: $code-background-color;
|
15
|
-
|
16
|
-
.highlight {
|
17
|
-
margin: 0;
|
18
|
-
padding: 1em;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
figure.highlight {
|
23
|
-
padding-left: 1em;
|
24
|
-
padding-right: 1em;
|
25
|
-
}
|
26
|
-
|
27
|
-
.highlight table {
|
28
|
-
font-size: 1em;
|
29
|
-
border: 0;
|
30
|
-
|
31
|
-
td {
|
32
|
-
padding: 5px;
|
33
|
-
border: 0;
|
34
|
-
}
|
35
|
-
|
36
|
-
pre {
|
37
|
-
margin: 0;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
.highlight pre { width: 100%; }
|
42
|
-
|
43
|
-
/*
|
44
|
-
Solarized Light
|
45
|
-
http://ethanschoonover.com/solarized
|
46
|
-
|
47
|
-
SOLARIZED HEX ROLE
|
48
|
-
--------- -------- ------------------------------------------
|
49
|
-
base01 #586e75 body text / default code / primary content
|
50
|
-
base1 #93a1a1 comments / secondary content
|
51
|
-
base3 #fdf6e3 background
|
52
|
-
orange #cb4b16 constants
|
53
|
-
red #dc322f regex, special keywords
|
54
|
-
blue #22b3eb reserved keywords
|
55
|
-
cyan #2aa198 strings, numbers
|
56
|
-
green #859900 operators, other keywords
|
57
|
-
========================================================================== */
|
58
|
-
|
59
|
-
.highlight .c { color: #93a1a1 } /* Comment */
|
60
|
-
.highlight .err { color: #586e75 } /* Error */
|
61
|
-
.highlight .g { color: #586e75 } /* Generic */
|
62
|
-
.highlight .k { color: #859900 } /* Keyword */
|
63
|
-
.highlight .l { color: #586e75 } /* Literal */
|
64
|
-
.highlight .n { color: #586e75 } /* Name */
|
65
|
-
.highlight .o { color: #859900 } /* Operator */
|
66
|
-
.highlight .x { color: #cb4b16 } /* Other */
|
67
|
-
.highlight .p { color: #586e75 } /* Punctuation */
|
68
|
-
.highlight .cm { color: #93a1a1 } /* Comment.Multiline */
|
69
|
-
.highlight .cp { color: #859900 } /* Comment.Preproc */
|
70
|
-
.highlight .c1 { color: #93a1a1 } /* Comment.Single */
|
71
|
-
.highlight .cs { color: #859900 } /* Comment.Special */
|
72
|
-
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
|
73
|
-
.highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */
|
74
|
-
.highlight .gr { color: #dc322f } /* Generic.Error */
|
75
|
-
.highlight .gh { color: #cb4b16 } /* Generic.Heading */
|
76
|
-
.highlight .gi { color: #859900 } /* Generic.Inserted */
|
77
|
-
.highlight .go { color: #586e75 } /* Generic.Output */
|
78
|
-
.highlight .gp { color: #586e75 } /* Generic.Prompt */
|
79
|
-
.highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */
|
80
|
-
.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
|
81
|
-
.highlight .gt { color: #586e75 } /* Generic.Traceback */
|
82
|
-
.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
|
83
|
-
.highlight .kd { color: #22b3eb } /* Keyword.Declaration */
|
84
|
-
.highlight .kn { color: #859900 } /* Keyword.Namespace */
|
85
|
-
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
|
86
|
-
.highlight .kr { color: #22b3eb } /* Keyword.Reserved */
|
87
|
-
.highlight .kt { color: #dc322f } /* Keyword.Type */
|
88
|
-
.highlight .ld { color: #586e75 } /* Literal.Date */
|
89
|
-
.highlight .m { color: #2aa198 } /* Literal.Number */
|
90
|
-
.highlight .s { color: #2aa198 } /* Literal.String */
|
91
|
-
.highlight .na { color: #586e75 } /* Name.Attribute */
|
92
|
-
.highlight .nb { color: #B58900 } /* Name.Builtin */
|
93
|
-
.highlight .nc { color: #22b3eb } /* Name.Class */
|
94
|
-
.highlight .no { color: #cb4b16 } /* Name.Constant */
|
95
|
-
.highlight .nd { color: #22b3eb } /* Name.Decorator */
|
96
|
-
.highlight .ni { color: #cb4b16 } /* Name.Entity */
|
97
|
-
.highlight .ne { color: #cb4b16 } /* Name.Exception */
|
98
|
-
.highlight .nf { color: #22b3eb } /* Name.Function */
|
99
|
-
.highlight .nl { color: #586e75 } /* Name.Label */
|
100
|
-
.highlight .nn { color: #586e75 } /* Name.Namespace */
|
101
|
-
.highlight .nx { color: #586e75 } /* Name.Other */
|
102
|
-
.highlight .py { color: #586e75 } /* Name.Property */
|
103
|
-
.highlight .nt { color: #22b3eb } /* Name.Tag */
|
104
|
-
.highlight .nv { color: #22b3eb } /* Name.Variable */
|
105
|
-
.highlight .ow { color: #859900 } /* Operator.Word */
|
106
|
-
.highlight .w { color: #586e75 } /* Text.Whitespace */
|
107
|
-
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
|
108
|
-
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
|
109
|
-
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
|
110
|
-
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
|
111
|
-
.highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */
|
112
|
-
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
|
113
|
-
.highlight .sd { color: #586e75 } /* Literal.String.Doc */
|
114
|
-
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
|
115
|
-
.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
|
116
|
-
.highlight .sh { color: #586e75 } /* Literal.String.Heredoc */
|
117
|
-
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
|
118
|
-
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
|
119
|
-
.highlight .sr { color: #dc322f } /* Literal.String.Regex */
|
120
|
-
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
|
121
|
-
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
|
122
|
-
.highlight .bp { color: #22b3eb } /* Name.Builtin.Pseudo */
|
123
|
-
.highlight .vc { color: #22b3eb } /* Name.Variable.Class */
|
124
|
-
.highlight .vg { color: #22b3eb } /* Name.Variable.Global */
|
125
|
-
.highlight .vi { color: #22b3eb } /* Name.Variable.Instance */
|
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-6;
|
11
|
+
line-height: 1.8;
|
12
|
+
border: 1px solid $border-color;
|
13
|
+
border-radius: $border-radius;
|
14
|
+
background-color: $code-background-color;
|
15
|
+
|
16
|
+
.highlight {
|
17
|
+
margin: 0;
|
18
|
+
padding: 1em;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
figure.highlight {
|
23
|
+
padding-left: 1em;
|
24
|
+
padding-right: 1em;
|
25
|
+
}
|
26
|
+
|
27
|
+
.highlight table {
|
28
|
+
font-size: 1em;
|
29
|
+
border: 0;
|
30
|
+
|
31
|
+
td {
|
32
|
+
padding: 5px;
|
33
|
+
border: 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
pre {
|
37
|
+
margin: 0;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.highlight pre { width: 100%; }
|
42
|
+
|
43
|
+
/*
|
44
|
+
Solarized Light
|
45
|
+
http://ethanschoonover.com/solarized
|
46
|
+
|
47
|
+
SOLARIZED HEX ROLE
|
48
|
+
--------- -------- ------------------------------------------
|
49
|
+
base01 #586e75 body text / default code / primary content
|
50
|
+
base1 #93a1a1 comments / secondary content
|
51
|
+
base3 #fdf6e3 background
|
52
|
+
orange #cb4b16 constants
|
53
|
+
red #dc322f regex, special keywords
|
54
|
+
blue #22b3eb reserved keywords
|
55
|
+
cyan #2aa198 strings, numbers
|
56
|
+
green #859900 operators, other keywords
|
57
|
+
========================================================================== */
|
58
|
+
|
59
|
+
.highlight .c { color: #93a1a1 } /* Comment */
|
60
|
+
.highlight .err { color: #586e75 } /* Error */
|
61
|
+
.highlight .g { color: #586e75 } /* Generic */
|
62
|
+
.highlight .k { color: #859900 } /* Keyword */
|
63
|
+
.highlight .l { color: #586e75 } /* Literal */
|
64
|
+
.highlight .n { color: #586e75 } /* Name */
|
65
|
+
.highlight .o { color: #859900 } /* Operator */
|
66
|
+
.highlight .x { color: #cb4b16 } /* Other */
|
67
|
+
.highlight .p { color: #586e75 } /* Punctuation */
|
68
|
+
.highlight .cm { color: #93a1a1 } /* Comment.Multiline */
|
69
|
+
.highlight .cp { color: #859900 } /* Comment.Preproc */
|
70
|
+
.highlight .c1 { color: #93a1a1 } /* Comment.Single */
|
71
|
+
.highlight .cs { color: #859900 } /* Comment.Special */
|
72
|
+
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
|
73
|
+
.highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */
|
74
|
+
.highlight .gr { color: #dc322f } /* Generic.Error */
|
75
|
+
.highlight .gh { color: #cb4b16 } /* Generic.Heading */
|
76
|
+
.highlight .gi { color: #859900 } /* Generic.Inserted */
|
77
|
+
.highlight .go { color: #586e75 } /* Generic.Output */
|
78
|
+
.highlight .gp { color: #586e75 } /* Generic.Prompt */
|
79
|
+
.highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */
|
80
|
+
.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
|
81
|
+
.highlight .gt { color: #586e75 } /* Generic.Traceback */
|
82
|
+
.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
|
83
|
+
.highlight .kd { color: #22b3eb } /* Keyword.Declaration */
|
84
|
+
.highlight .kn { color: #859900 } /* Keyword.Namespace */
|
85
|
+
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
|
86
|
+
.highlight .kr { color: #22b3eb } /* Keyword.Reserved */
|
87
|
+
.highlight .kt { color: #dc322f } /* Keyword.Type */
|
88
|
+
.highlight .ld { color: #586e75 } /* Literal.Date */
|
89
|
+
.highlight .m { color: #2aa198 } /* Literal.Number */
|
90
|
+
.highlight .s { color: #2aa198 } /* Literal.String */
|
91
|
+
.highlight .na { color: #586e75 } /* Name.Attribute */
|
92
|
+
.highlight .nb { color: #B58900 } /* Name.Builtin */
|
93
|
+
.highlight .nc { color: #22b3eb } /* Name.Class */
|
94
|
+
.highlight .no { color: #cb4b16 } /* Name.Constant */
|
95
|
+
.highlight .nd { color: #22b3eb } /* Name.Decorator */
|
96
|
+
.highlight .ni { color: #cb4b16 } /* Name.Entity */
|
97
|
+
.highlight .ne { color: #cb4b16 } /* Name.Exception */
|
98
|
+
.highlight .nf { color: #22b3eb } /* Name.Function */
|
99
|
+
.highlight .nl { color: #586e75 } /* Name.Label */
|
100
|
+
.highlight .nn { color: #586e75 } /* Name.Namespace */
|
101
|
+
.highlight .nx { color: #586e75 } /* Name.Other */
|
102
|
+
.highlight .py { color: #586e75 } /* Name.Property */
|
103
|
+
.highlight .nt { color: #22b3eb } /* Name.Tag */
|
104
|
+
.highlight .nv { color: #22b3eb } /* Name.Variable */
|
105
|
+
.highlight .ow { color: #859900 } /* Operator.Word */
|
106
|
+
.highlight .w { color: #586e75 } /* Text.Whitespace */
|
107
|
+
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
|
108
|
+
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
|
109
|
+
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
|
110
|
+
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
|
111
|
+
.highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */
|
112
|
+
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
|
113
|
+
.highlight .sd { color: #586e75 } /* Literal.String.Doc */
|
114
|
+
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
|
115
|
+
.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
|
116
|
+
.highlight .sh { color: #586e75 } /* Literal.String.Heredoc */
|
117
|
+
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
|
118
|
+
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
|
119
|
+
.highlight .sr { color: #dc322f } /* Literal.String.Regex */
|
120
|
+
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
|
121
|
+
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
|
122
|
+
.highlight .bp { color: #22b3eb } /* Name.Builtin.Pseudo */
|
123
|
+
.highlight .vc { color: #22b3eb } /* Name.Variable.Class */
|
124
|
+
.highlight .vg { color: #22b3eb } /* Name.Variable.Global */
|
125
|
+
.highlight .vi { color: #22b3eb } /* Name.Variable.Instance */
|
126
126
|
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
|