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.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +690 -0
  3. data/{LICENSE → LICENSE.txt} +5 -5
  4. data/README.md +128 -19
  5. data/_includes/analytics-providers/custom.html +3 -0
  6. data/_includes/analytics-providers/google-universal.html +9 -0
  7. data/_includes/analytics-providers/google.html +11 -0
  8. data/_includes/analytics.html +12 -0
  9. data/_includes/archive-single.html +38 -0
  10. data/_includes/author-profile-custom-links.html +7 -0
  11. data/_includes/author-profile.html +241 -0
  12. data/_includes/base_path +5 -0
  13. data/_includes/breadcrumbs.html +39 -0
  14. data/_includes/browser-upgrade.html +3 -0
  15. data/_includes/category-list.html +26 -0
  16. data/_includes/comment.html +22 -0
  17. data/_includes/comments-providers/custom.html +3 -0
  18. data/_includes/comments-providers/discourse.html +13 -0
  19. data/_includes/comments-providers/disqus.html +22 -0
  20. data/_includes/comments-providers/facebook.html +8 -0
  21. data/_includes/comments-providers/google-plus.html +2 -0
  22. data/_includes/comments-providers/scripts.html +18 -0
  23. data/_includes/comments-providers/staticman.html +42 -0
  24. data/_includes/comments.html +80 -0
  25. data/_includes/feature_row +50 -0
  26. data/_includes/figure +12 -0
  27. data/_includes/footer.html +22 -0
  28. data/_includes/footer/custom.html +3 -0
  29. data/_includes/gallery +47 -0
  30. data/_includes/group-by-array +47 -0
  31. data/_includes/head.html +19 -9
  32. data/_includes/head/custom.html +5 -0
  33. data/_includes/masthead.html +21 -0
  34. data/_includes/nav_list +47 -0
  35. data/_includes/page__hero.html +53 -0
  36. data/_includes/page__taxonomy.html +7 -0
  37. data/_includes/paginator.html +68 -0
  38. data/_includes/post_pagination.html +14 -0
  39. data/_includes/read-time.html +15 -0
  40. data/_includes/scripts.html +4 -0
  41. data/_includes/seo.html +145 -0
  42. data/_includes/sidebar.html +23 -0
  43. data/_includes/social-share.html +13 -0
  44. data/_includes/tag-list.html +26 -0
  45. data/_includes/toc +7 -0
  46. data/_layouts/archive-taxonomy.html +15 -0
  47. data/_layouts/archive.html +24 -0
  48. data/_layouts/compress.html +10 -0
  49. data/_layouts/default.html +25 -5
  50. data/_layouts/home.html +11 -0
  51. data/_layouts/single.html +74 -0
  52. data/_layouts/splash.html +20 -0
  53. data/_sass/_animations.scss +21 -0
  54. data/_sass/_archive.scss +238 -0
  55. data/_sass/_base.scss +315 -0
  56. data/_sass/_buttons.scss +153 -0
  57. data/_sass/_footer.scss +80 -0
  58. data/_sass/_forms.scss +391 -0
  59. data/_sass/_masthead.scss +53 -0
  60. data/_sass/_mixins.scss +53 -0
  61. data/_sass/_navigation.scss +544 -0
  62. data/_sass/_notices.scss +99 -0
  63. data/_sass/_page.scss +401 -0
  64. data/_sass/_print.scss +18 -0
  65. data/_sass/_reset.scss +187 -0
  66. data/_sass/_sidebar.scss +231 -0
  67. data/_sass/_syntax.scss +146 -0
  68. data/_sass/_tables.scss +38 -0
  69. data/_sass/_utilities.scss +470 -0
  70. data/_sass/_variables.scss +128 -0
  71. data/_sass/vendor/breakpoint/_breakpoint.scss +114 -0
  72. data/_sass/vendor/breakpoint/_context.scss +95 -0
  73. data/_sass/vendor/breakpoint/_helpers.scss +151 -0
  74. data/_sass/vendor/breakpoint/_legacy-settings.scss +50 -0
  75. data/_sass/vendor/breakpoint/_no-query.scss +15 -0
  76. data/_sass/vendor/breakpoint/_parsers.scss +215 -0
  77. data/_sass/vendor/breakpoint/_respond-to.scss +82 -0
  78. data/_sass/vendor/breakpoint/_settings.scss +71 -0
  79. data/_sass/vendor/breakpoint/parsers/_double.scss +33 -0
  80. data/_sass/vendor/breakpoint/parsers/_query.scss +82 -0
  81. data/_sass/vendor/breakpoint/parsers/_resolution.scss +31 -0
  82. data/_sass/vendor/breakpoint/parsers/_single.scss +26 -0
  83. data/_sass/vendor/breakpoint/parsers/_triple.scss +36 -0
  84. data/_sass/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
  85. data/_sass/vendor/breakpoint/parsers/double/_default.scss +22 -0
  86. data/_sass/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
  87. data/_sass/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
  88. data/_sass/vendor/breakpoint/parsers/single/_default.scss +13 -0
  89. data/_sass/vendor/breakpoint/parsers/triple/_default.scss +18 -0
  90. data/_sass/vendor/font-awesome/_animated.scss +34 -0
  91. data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -0
  92. data/_sass/vendor/font-awesome/_core.scss +12 -0
  93. data/_sass/vendor/font-awesome/_fixed-width.scss +6 -0
  94. data/_sass/vendor/font-awesome/_font-awesome.scss +18 -0
  95. data/_sass/vendor/font-awesome/_icons.scss +789 -0
  96. data/_sass/vendor/font-awesome/_larger.scss +13 -0
  97. data/_sass/vendor/font-awesome/_list.scss +19 -0
  98. data/_sass/vendor/font-awesome/_mixins.scss +60 -0
  99. data/_sass/vendor/font-awesome/_path.scss +15 -0
  100. data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -0
  101. data/_sass/vendor/font-awesome/_screen-reader.scss +5 -0
  102. data/_sass/vendor/font-awesome/_stacked.scss +20 -0
  103. data/_sass/vendor/font-awesome/_variables.scss +800 -0
  104. data/_sass/vendor/magnific-popup/_magnific-popup.scss +649 -0
  105. data/_sass/vendor/magnific-popup/_settings.scss +46 -0
  106. data/_sass/vendor/susy/_su.scss +4 -0
  107. data/_sass/vendor/susy/_susy.scss +4 -0
  108. data/_sass/vendor/susy/_susyone.scss +4 -0
  109. data/_sass/vendor/susy/susy/_su.scss +7 -0
  110. data/_sass/vendor/susy/susy/language/_susy.scss +24 -0
  111. data/_sass/vendor/susy/susy/language/_susyone.scss +13 -0
  112. data/_sass/vendor/susy/susy/language/susy/_background.scss +385 -0
  113. data/_sass/vendor/susy/susy/language/susy/_bleed.scss +200 -0
  114. data/_sass/vendor/susy/susy/language/susy/_box-sizing.scss +47 -0
  115. data/_sass/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -0
  116. data/_sass/vendor/susy/susy/language/susy/_container.scss +81 -0
  117. data/_sass/vendor/susy/susy/language/susy/_context.scss +36 -0
  118. data/_sass/vendor/susy/susy/language/susy/_gallery.scss +94 -0
  119. data/_sass/vendor/susy/susy/language/susy/_grids.scss +64 -0
  120. data/_sass/vendor/susy/susy/language/susy/_gutters.scss +154 -0
  121. data/_sass/vendor/susy/susy/language/susy/_isolate.scss +77 -0
  122. data/_sass/vendor/susy/susy/language/susy/_margins.scss +94 -0
  123. data/_sass/vendor/susy/susy/language/susy/_padding.scss +74 -0
  124. data/_sass/vendor/susy/susy/language/susy/_rows.scss +138 -0
  125. data/_sass/vendor/susy/susy/language/susy/_settings.scss +216 -0
  126. data/_sass/vendor/susy/susy/language/susy/_span.scss +163 -0
  127. data/_sass/vendor/susy/susy/language/susy/_validation.scss +16 -0
  128. data/_sass/vendor/susy/susy/language/susyone/_background.scss +18 -0
  129. data/_sass/vendor/susy/susy/language/susyone/_functions.scss +377 -0
  130. data/_sass/vendor/susy/susy/language/susyone/_grid.scss +312 -0
  131. data/_sass/vendor/susy/susy/language/susyone/_isolation.scss +51 -0
  132. data/_sass/vendor/susy/susy/language/susyone/_margin.scss +93 -0
  133. data/_sass/vendor/susy/susy/language/susyone/_media.scss +105 -0
  134. data/_sass/vendor/susy/susy/language/susyone/_padding.scss +92 -0
  135. data/_sass/vendor/susy/susy/language/susyone/_settings.scss +60 -0
  136. data/_sass/vendor/susy/susy/output/_float.scss +9 -0
  137. data/_sass/vendor/susy/susy/output/_shared.scss +15 -0
  138. data/_sass/vendor/susy/susy/output/_support.scss +9 -0
  139. data/_sass/vendor/susy/susy/output/float/_container.scss +16 -0
  140. data/_sass/vendor/susy/susy/output/float/_end.scss +40 -0
  141. data/_sass/vendor/susy/susy/output/float/_isolate.scss +22 -0
  142. data/_sass/vendor/susy/susy/output/float/_span.scss +35 -0
  143. data/_sass/vendor/susy/susy/output/shared/_background.scss +26 -0
  144. data/_sass/vendor/susy/susy/output/shared/_container.scss +21 -0
  145. data/_sass/vendor/susy/susy/output/shared/_direction.scss +42 -0
  146. data/_sass/vendor/susy/susy/output/shared/_inspect.scss +25 -0
  147. data/_sass/vendor/susy/susy/output/shared/_margins.scss +23 -0
  148. data/_sass/vendor/susy/susy/output/shared/_output.scss +14 -0
  149. data/_sass/vendor/susy/susy/output/shared/_padding.scss +23 -0
  150. data/_sass/vendor/susy/susy/output/support/_background.scss +58 -0
  151. data/_sass/vendor/susy/susy/output/support/_box-sizing.scss +19 -0
  152. data/_sass/vendor/susy/susy/output/support/_clearfix.scss +18 -0
  153. data/_sass/vendor/susy/susy/output/support/_prefix.scss +19 -0
  154. data/_sass/vendor/susy/susy/output/support/_rem.scss +22 -0
  155. data/_sass/vendor/susy/susy/output/support/_support.scss +85 -0
  156. data/_sass/vendor/susy/susy/su/_grid.scss +103 -0
  157. data/_sass/vendor/susy/susy/su/_settings.scss +73 -0
  158. data/_sass/vendor/susy/susy/su/_utilities.scss +111 -0
  159. data/_sass/vendor/susy/susy/su/_validation.scss +57 -0
  160. data/assets/css/main.scss +79 -0
  161. data/assets/fonts/FontAwesome.otf +0 -0
  162. data/assets/fonts/fontawesome-webfont.eot +0 -0
  163. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  164. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  165. data/assets/fonts/fontawesome-webfont.woff +0 -0
  166. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  167. data/assets/js/_main.js +100 -0
  168. data/assets/js/main.min.js +5 -0
  169. data/assets/js/plugins/jquery.fitvids.js +82 -0
  170. data/assets/js/plugins/jquery.greedy-navigation.js +72 -0
  171. data/assets/js/plugins/jquery.magnific-popup.js +2049 -0
  172. data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -0
  173. data/assets/js/plugins/stickyfill.min.js +8 -0
  174. data/assets/js/vendor/jquery/jquery-1.12.4.min.js +5 -0
  175. metadata +243 -16
  176. data/_includes/header.html +0 -0
  177. data/_layouts/page.html +0 -5
  178. data/_layouts/post.html +0 -9
  179. data/_sass/woforo.scss +0 -24
@@ -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
+ }
@@ -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
+ }
@@ -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
+ }
@@ -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 */