jekyll-rtd-theme 1.1.8 → 2.0.0.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +23 -65
- data/_includes/addons/analytics.liquid +4 -4
- data/_includes/addons/github.liquid +7 -10
- data/_includes/breadcrumbs.liquid +27 -0
- data/_includes/extend/list.liquid +2 -2
- data/_includes/{reset → extend}/tabs.liquid +0 -0
- data/_includes/extend/toctree.liquid +6 -5
- data/_includes/footer.liquid +36 -0
- data/_includes/reset/defaults.liquid +25 -60
- data/_includes/reset/workdir.liquid +1 -0
- data/_includes/safe/shortcodes.liquid +9 -0
- data/_includes/shortcodes/danger.liquid +3 -2
- data/_includes/shortcodes/note.liquid +3 -2
- data/_includes/shortcodes/tip.liquid +3 -2
- data/_includes/shortcodes/warning.liquid +3 -2
- data/_includes/{class/_toctree.liquid → toctree.liquid} +2 -2
- data/_layouts/default.liquid +182 -23
- data/_layouts/plugins/extension.liquid +6 -8
- data/_sass/@primer/base/base.scss +90 -0
- data/_sass/@primer/base/index.scss +6 -0
- data/_sass/@primer/base/kbd.scss +21 -0
- data/_sass/@primer/base/normalize.scss +423 -0
- data/_sass/@primer/base/typography-base.scss +100 -0
- data/_sass/@primer/breadcrumb/breadcrumb.scss +28 -0
- data/_sass/@primer/breadcrumb/index.scss +3 -0
- data/_sass/@primer/buttons/button-group.scss +91 -0
- data/_sass/@primer/buttons/button.scss +296 -0
- data/_sass/@primer/buttons/index.scss +4 -0
- data/_sass/@primer/buttons/misc.scss +205 -0
- data/_sass/@primer/forms/form-control.scss +278 -0
- data/_sass/@primer/forms/form-group.scss +279 -0
- data/_sass/@primer/forms/form-select.scss +38 -0
- data/_sass/@primer/forms/form-validation.scss +369 -0
- data/_sass/@primer/forms/index.scss +7 -0
- data/_sass/@primer/forms/input-group.scss +53 -0
- data/_sass/@primer/forms/radio-group.scss +43 -0
- data/_sass/@primer/markdown/blob-csv.scss +31 -0
- data/_sass/@primer/markdown/code.scss +73 -0
- data/_sass/@primer/markdown/headings.scss +72 -0
- data/_sass/@primer/markdown/images.scss +131 -0
- data/_sass/@primer/markdown/index.scss +8 -0
- data/_sass/@primer/markdown/lists.scss +76 -0
- data/_sass/@primer/markdown/markdown-body.scss +99 -0
- data/_sass/@primer/markdown/tables.scss +38 -0
- data/_sass/@primer/support/index.scss +11 -0
- data/_sass/@primer/support/mixins/buttons.scss +184 -0
- data/_sass/@primer/support/mixins/layout.scss +55 -0
- data/_sass/@primer/support/mixins/misc.scss +32 -0
- data/_sass/@primer/support/mixins/typography.scss +88 -0
- data/_sass/@primer/support/variables/color-system.scss +243 -0
- data/_sass/@primer/support/variables/colors.scss +55 -0
- data/_sass/@primer/support/variables/layout.scss +149 -0
- data/_sass/@primer/support/variables/misc.scss +42 -0
- data/_sass/@primer/support/variables/typography.scss +43 -0
- data/_sass/@primer/utilities/animations.scss +187 -0
- data/_sass/@primer/utilities/borders.scss +184 -0
- data/_sass/@primer/utilities/box-shadow.scss +25 -0
- data/_sass/@primer/utilities/colors.scss +185 -0
- data/_sass/@primer/utilities/details.scss +34 -0
- data/_sass/@primer/utilities/flexbox.scss +121 -0
- data/_sass/@primer/utilities/index.scss +14 -0
- data/_sass/@primer/utilities/layout.scss +134 -0
- data/_sass/@primer/utilities/margin.scss +68 -0
- data/_sass/@primer/utilities/padding.scss +59 -0
- data/_sass/@primer/utilities/typography.scss +325 -0
- data/_sass/@primer/utilities/visibility-display.scss +82 -0
- data/_sass/_font-face.scss +65 -0
- data/_sass/_icons.scss +53 -0
- data/_sass/_layout.scss +76 -0
- data/_sass/_reset.scss +21 -0
- data/_sass/_root.scss +9 -0
- data/_sass/_variables.scss +29 -0
- data/_sass/class/addons-wrap.scss +39 -0
- data/_sass/class/container.scss +11 -0
- data/_sass/class/content-wrap.scss +4 -0
- data/_sass/class/header.scss +10 -0
- data/_sass/{highlight.scss → class/highlight.scss} +0 -0
- data/_sass/class/markdown-body.scss +49 -0
- data/_sass/class/sidebar-wrap.scss +72 -0
- data/_sass/class/title.scss +13 -0
- data/_sass/theme.scss +26 -12
- data/assets/404.liquid +1 -3
- data/assets/css/theme.min.css +1 -4
- data/assets/css/theme.scss +4 -0
- data/assets/js/mermaid.min.js +6 -5
- data/assets/js/search.js +90 -0
- data/assets/js/theme.js +55 -121
- data/assets/js/theme.min.js +1 -1
- data/assets/search.liquid +9 -1
- metadata +74 -25
- data/_includes/assets/custom.js +0 -0
- data/_includes/assets/custom.scss +0 -0
- data/_includes/class/_breadcrumbs.liquid +0 -28
- data/_includes/class/_footer.liquid +0 -38
- data/_includes/class/rst-versions.liquid +0 -22
- data/_includes/class/wy-nav-content.liquid +0 -15
- data/_includes/class/wy-nav-side.liquid +0 -18
- data/_includes/class/wy-nav-top.liquid +0 -8
- data/_includes/extra/footer.html +0 -0
- data/_includes/extra/head.html +0 -0
- data/_includes/node/links.liquid +0 -24
- data/_includes/node/metadata.liquid +0 -21
- data/_includes/node/script.extension.liquid +0 -29
- data/_includes/node/script.liquid +0 -20
- data/_includes/node/script.schema.liquid +0 -27
- data/_includes/node/title.liquid +0 -1
- data/_includes/reset/i18n.liquid +0 -1
@@ -0,0 +1,325 @@
|
|
1
|
+
// stylelint-disable block-closing-brace-space-before, comment-empty-line-before
|
2
|
+
|
3
|
+
// Type scale variables found in ../support/lib/variables.scss
|
4
|
+
// $h00-size-mobile: 40px;
|
5
|
+
// $h0-size-mobile: 32px;
|
6
|
+
// $h1-size-mobile: 26px;
|
7
|
+
// $h2-size-mobile: 22px;
|
8
|
+
// $h3-size-mobile: 18px;
|
9
|
+
// $h00-size: 48px;
|
10
|
+
// $h0-size: 40px;
|
11
|
+
// $h1-size: 32px;
|
12
|
+
// $h2-size: 24px;
|
13
|
+
// $h3-size: 20px;
|
14
|
+
// $h4-size: 16px;
|
15
|
+
// $h5-size: 14px;
|
16
|
+
// $h6-size: 12px;
|
17
|
+
|
18
|
+
/* Set the font size to 26px */
|
19
|
+
.h1 {
|
20
|
+
// stylelint-disable-next-line primer/typography
|
21
|
+
font-size: $h1-size-mobile !important;
|
22
|
+
|
23
|
+
@include breakpoint(md) {
|
24
|
+
font-size: $h1-size !important;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Set the font size to 22px */
|
29
|
+
.h2 {
|
30
|
+
// stylelint-disable-next-line primer/typography
|
31
|
+
font-size: $h2-size-mobile !important;
|
32
|
+
|
33
|
+
@include breakpoint(md) {
|
34
|
+
font-size: $h2-size !important;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
/* Set the font size to 18px */
|
39
|
+
.h3 {
|
40
|
+
// stylelint-disable-next-line primer/typography
|
41
|
+
font-size: $h3-size-mobile !important;
|
42
|
+
|
43
|
+
@include breakpoint(md) {
|
44
|
+
font-size: $h3-size !important;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
/* Set the font size to #{$h4-size} */
|
49
|
+
.h4 {
|
50
|
+
font-size: $h4-size !important;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* Set the font size to #{$h5-size} */
|
54
|
+
.h5 {
|
55
|
+
font-size: $h5-size !important;
|
56
|
+
}
|
57
|
+
|
58
|
+
// Does not include color property like typography base
|
59
|
+
// styles, color should be applied with color utilities.
|
60
|
+
/* Set the font size to #{$h6-size} */
|
61
|
+
.h6 {
|
62
|
+
font-size: $h6-size !important;
|
63
|
+
}
|
64
|
+
|
65
|
+
// Heading utilities
|
66
|
+
.h1,
|
67
|
+
.h2,
|
68
|
+
.h3,
|
69
|
+
.h4,
|
70
|
+
.h5,
|
71
|
+
.h6 {
|
72
|
+
font-weight: $font-weight-bold !important;
|
73
|
+
}
|
74
|
+
|
75
|
+
// Type utilities that match type sale
|
76
|
+
/* Set the font size to 26px */
|
77
|
+
.f1 {
|
78
|
+
// stylelint-disable-next-line primer/typography
|
79
|
+
font-size: $h1-size-mobile !important;
|
80
|
+
|
81
|
+
@include breakpoint(md) {
|
82
|
+
font-size: $h1-size !important;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
/* Set the font size to 22px */
|
87
|
+
.f2 {
|
88
|
+
// stylelint-disable-next-line primer/typography
|
89
|
+
font-size: $h2-size-mobile !important;
|
90
|
+
|
91
|
+
@include breakpoint(md) {
|
92
|
+
font-size: $h2-size !important;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
/* Set the font size to 18px */
|
97
|
+
.f3 {
|
98
|
+
// stylelint-disable-next-line primer/typography
|
99
|
+
font-size: $h3-size-mobile !important;
|
100
|
+
|
101
|
+
@include breakpoint(md) {
|
102
|
+
font-size: $h3-size !important;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
/* Set the font size to #{$h4-size} */
|
107
|
+
.f4 {
|
108
|
+
font-size: $h4-size !important;
|
109
|
+
|
110
|
+
@include breakpoint(md) {
|
111
|
+
font-size: $h4-size !important;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
/* Set the font size to #{$h5-size} */
|
116
|
+
.f5 {
|
117
|
+
font-size: $h5-size !important;
|
118
|
+
}
|
119
|
+
/* Set the font size to #{$h6-size} */
|
120
|
+
.f6 {
|
121
|
+
font-size: $h6-size !important;
|
122
|
+
}
|
123
|
+
|
124
|
+
// Type utils with light weight that match type scale
|
125
|
+
/* Set the font size to 40px and weight to light */
|
126
|
+
.f00-light {
|
127
|
+
// stylelint-disable-next-line primer/typography
|
128
|
+
font-size: $h00-size-mobile !important;
|
129
|
+
font-weight: $font-weight-light !important;
|
130
|
+
|
131
|
+
@include breakpoint(md) {
|
132
|
+
font-size: $h00-size !important;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
/* Set the font size to 32px and weight to light */
|
137
|
+
.f0-light {
|
138
|
+
// stylelint-disable-next-line primer/typography
|
139
|
+
font-size: $h0-size-mobile !important;
|
140
|
+
font-weight: $font-weight-light !important;
|
141
|
+
|
142
|
+
@include breakpoint(md) {
|
143
|
+
font-size: $h0-size !important;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
/* Set the font size to 26px and weight to light */
|
148
|
+
.f1-light {
|
149
|
+
// stylelint-disable-next-line primer/typography
|
150
|
+
font-size: $h1-size-mobile !important;
|
151
|
+
font-weight: $font-weight-light !important;
|
152
|
+
|
153
|
+
@include breakpoint(md) {
|
154
|
+
font-size: $h1-size !important;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
/* Set the font size to 22px and weight to light */
|
159
|
+
.f2-light {
|
160
|
+
// stylelint-disable-next-line primer/typography
|
161
|
+
font-size: $h2-size-mobile !important;
|
162
|
+
font-weight: $font-weight-light !important;
|
163
|
+
|
164
|
+
@include breakpoint(md) {
|
165
|
+
font-size: $h2-size !important;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
// Same size and weight as .lead but without color property
|
170
|
+
/* Set the font size to 18px and weight to light */
|
171
|
+
.f3-light {
|
172
|
+
// stylelint-disable-next-line primer/typography
|
173
|
+
font-size: $h3-size-mobile !important;
|
174
|
+
font-weight: $font-weight-light !important;
|
175
|
+
|
176
|
+
@include breakpoint(md) {
|
177
|
+
font-size: $h3-size !important;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
// Smallest text size
|
182
|
+
/* Set the font size to ${#h6-size} */
|
183
|
+
.text-small {
|
184
|
+
font-size: $h6-size !important;
|
185
|
+
} // 12px
|
186
|
+
|
187
|
+
/* Large leading paragraphs */
|
188
|
+
.lead {
|
189
|
+
// stylelint-disable-next-line primer/spacing
|
190
|
+
margin-bottom: 30px;
|
191
|
+
font-size: $h3-size;
|
192
|
+
font-weight: $font-weight-light;
|
193
|
+
color: $text-gray;
|
194
|
+
}
|
195
|
+
|
196
|
+
// Line-height variations
|
197
|
+
// Close to commonly used line-heights. Most line-heights
|
198
|
+
// combined with type size equate to whole pixels.
|
199
|
+
// Will be improved with future typography scale updates.
|
200
|
+
// Responsive line-height
|
201
|
+
@each $breakpoint, $variant in $responsive-variants {
|
202
|
+
@include breakpoint($breakpoint) {
|
203
|
+
/* Set the line height to ultra condensed */
|
204
|
+
.lh#{$variant}-condensed-ultra {
|
205
|
+
line-height: $lh-condensed-ultra !important;
|
206
|
+
}
|
207
|
+
/* Set the line height to condensed */
|
208
|
+
.lh#{$variant}-condensed {
|
209
|
+
line-height: $lh-condensed !important;
|
210
|
+
}
|
211
|
+
/* Set the line height to default */
|
212
|
+
.lh#{$variant}-default {
|
213
|
+
line-height: $lh-default !important;
|
214
|
+
}
|
215
|
+
/* Set the line height to zero */
|
216
|
+
.lh#{$variant}-0 {
|
217
|
+
line-height: 0 !important;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
}
|
221
|
+
|
222
|
+
// Text alignments
|
223
|
+
// Responsive text alignment
|
224
|
+
@each $breakpoint, $variant in $responsive-variants {
|
225
|
+
@include breakpoint($breakpoint) {
|
226
|
+
/* Text align to the right */
|
227
|
+
.text#{$variant}-right {
|
228
|
+
text-align: right !important;
|
229
|
+
}
|
230
|
+
/* Text align to the left */
|
231
|
+
.text#{$variant}-left {
|
232
|
+
text-align: left !important;
|
233
|
+
}
|
234
|
+
/* Text align to the center */
|
235
|
+
.text#{$variant}-center {
|
236
|
+
text-align: center !important;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
|
241
|
+
// Text styles
|
242
|
+
/* Set the font weight to normal */
|
243
|
+
.text-normal {
|
244
|
+
font-weight: $font-weight-normal !important;
|
245
|
+
}
|
246
|
+
/* Set the font weight to bold */
|
247
|
+
.text-bold {
|
248
|
+
font-weight: $font-weight-bold !important;
|
249
|
+
}
|
250
|
+
/* Set the font to italic */
|
251
|
+
.text-italic {
|
252
|
+
font-style: italic !important;
|
253
|
+
}
|
254
|
+
/* Make text uppercase */
|
255
|
+
.text-uppercase {
|
256
|
+
text-transform: uppercase !important;
|
257
|
+
}
|
258
|
+
/* Underline text */
|
259
|
+
.text-underline {
|
260
|
+
text-decoration: underline !important;
|
261
|
+
}
|
262
|
+
/* Don't underline text */
|
263
|
+
.no-underline {
|
264
|
+
text-decoration: none !important;
|
265
|
+
}
|
266
|
+
/* Don't wrap white space */
|
267
|
+
.no-wrap {
|
268
|
+
white-space: nowrap !important;
|
269
|
+
}
|
270
|
+
/* Normal white space */
|
271
|
+
.ws-normal {
|
272
|
+
white-space: normal !important;
|
273
|
+
}
|
274
|
+
|
275
|
+
/* Force long "words" to wrap if they exceed the width of the container */
|
276
|
+
.break-word {
|
277
|
+
word-break: break-word !important;
|
278
|
+
// this is for backwards compatibility with browsers that don't respect overflow-wrap
|
279
|
+
word-wrap: break-word !important;
|
280
|
+
overflow-wrap: break-word !important;
|
281
|
+
}
|
282
|
+
|
283
|
+
/*
|
284
|
+
* Specifically apply word-break: break-all; per MDN:
|
285
|
+
*
|
286
|
+
* > Note: In contrast to `word-break: break-word` and `overflow-wrap: break-word`,
|
287
|
+
* > `word-break: break-all` will create a break at the exact place where text would
|
288
|
+
* > otherwise overflow its container (even if putting an entire word on its own line
|
289
|
+
* > would negate the need for a break).
|
290
|
+
*
|
291
|
+
* see: https://developer.mozilla.org/en-US/docs/Web/CSS/word-break#Values
|
292
|
+
*/
|
293
|
+
.wb-break-all {
|
294
|
+
word-break: break-all !important;
|
295
|
+
}
|
296
|
+
|
297
|
+
.text-emphasized {
|
298
|
+
font-weight: $font-weight-bold;
|
299
|
+
color: $text-gray-dark;
|
300
|
+
}
|
301
|
+
|
302
|
+
// List styles
|
303
|
+
.list-style-none {
|
304
|
+
list-style: none !important;
|
305
|
+
}
|
306
|
+
|
307
|
+
// Text Shadows
|
308
|
+
/* Add a dark text shadow */
|
309
|
+
.text-shadow-dark {
|
310
|
+
text-shadow: 0 1px 1px rgba($black, 0.25), 0 1px 25px rgba($black, 0.75);
|
311
|
+
}
|
312
|
+
/* Add a light text shadow */
|
313
|
+
.text-shadow-light {
|
314
|
+
text-shadow: 0 1px 0 rgba($white, 0.5);
|
315
|
+
}
|
316
|
+
|
317
|
+
/* Set to monospace font */
|
318
|
+
.text-mono {
|
319
|
+
font-family: $mono-font !important;
|
320
|
+
}
|
321
|
+
|
322
|
+
/* Disallow user from selecting text */
|
323
|
+
.user-select-none {
|
324
|
+
user-select: none !important;
|
325
|
+
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
// Visibility and display utilities
|
2
|
+
|
3
|
+
// Responsive display utilities
|
4
|
+
@each $breakpoint, $variant in $responsive-variants {
|
5
|
+
@include breakpoint($breakpoint) {
|
6
|
+
@each $display in $display-values {
|
7
|
+
.d#{$variant}-#{$display} {
|
8
|
+
display: $display !important;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
.v-hidden {
|
15
|
+
visibility: hidden !important;
|
16
|
+
}
|
17
|
+
.v-visible {
|
18
|
+
visibility: visible !important;
|
19
|
+
}
|
20
|
+
|
21
|
+
// Hide utilities for each breakpoint
|
22
|
+
// Each hide utility only applies to one breakpoint range.
|
23
|
+
@media (max-width: $width-sm - 1px) {
|
24
|
+
.hide-sm {
|
25
|
+
display: none !important;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
@media (min-width: $width-sm) and (max-width: $width-md - 1px) {
|
30
|
+
.hide-md {
|
31
|
+
display: none !important;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
@media (min-width: $width-md) and (max-width: $width-lg - 1px) {
|
36
|
+
.hide-lg {
|
37
|
+
display: none !important;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
@media (min-width: $width-lg) {
|
42
|
+
.hide-xl {
|
43
|
+
display: none !important;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
/* Set the table-layout to fixed */
|
48
|
+
.table-fixed {
|
49
|
+
table-layout: fixed !important;
|
50
|
+
}
|
51
|
+
|
52
|
+
// Only display content to screen readers
|
53
|
+
//
|
54
|
+
// See: http://a11yproject.com/posts/how-to-hide-content/
|
55
|
+
.sr-only {
|
56
|
+
position: absolute;
|
57
|
+
width: 1px;
|
58
|
+
height: 1px;
|
59
|
+
padding: 0;
|
60
|
+
overflow: hidden;
|
61
|
+
clip: rect(0, 0, 0, 0);
|
62
|
+
// Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1241631
|
63
|
+
word-wrap: normal;
|
64
|
+
border: 0;
|
65
|
+
}
|
66
|
+
|
67
|
+
// Only display content on focus
|
68
|
+
.show-on-focus {
|
69
|
+
position: absolute;
|
70
|
+
width: 1px;
|
71
|
+
height: 1px;
|
72
|
+
margin: 0;
|
73
|
+
overflow: hidden;
|
74
|
+
clip: rect(1px, 1px, 1px, 1px);
|
75
|
+
|
76
|
+
&:focus {
|
77
|
+
z-index: 20;
|
78
|
+
width: auto;
|
79
|
+
height: auto;
|
80
|
+
clip: auto;
|
81
|
+
}
|
82
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: "Lato";
|
3
|
+
font-weight: $font-weight-normal;
|
4
|
+
font-style: normal;
|
5
|
+
font-display: block;
|
6
|
+
src: url("fonts/lato-normal.woff2") format("woff2"),
|
7
|
+
url("fonts/lato-normal.woff") format("woff");
|
8
|
+
}
|
9
|
+
|
10
|
+
@font-face {
|
11
|
+
font-family: "Lato";
|
12
|
+
font-weight: $font-weight-normal;
|
13
|
+
font-style: italic;
|
14
|
+
font-display: block;
|
15
|
+
src: url("fonts/lato-normal-italic.woff2") format("woff2"),
|
16
|
+
url("fonts/lato-normal-italic.woff") format("woff");
|
17
|
+
}
|
18
|
+
|
19
|
+
@font-face {
|
20
|
+
font-family: "Lato";
|
21
|
+
font-weight: $font-weight-bold;
|
22
|
+
font-style: normal;
|
23
|
+
font-display: block;
|
24
|
+
src: url("fonts/lato-bold.woff2") format("woff2"),
|
25
|
+
url("fonts/lato-bold.woff") format("woff");
|
26
|
+
}
|
27
|
+
|
28
|
+
@font-face {
|
29
|
+
font-family: "Lato";
|
30
|
+
font-weight: $font-weight-bold;
|
31
|
+
font-style: italic;
|
32
|
+
font-display: block;
|
33
|
+
src: url("fonts/lato-bold-italic.woff2") format("woff2"),
|
34
|
+
url("fonts/lato-bold-italic.woff") format("woff");
|
35
|
+
}
|
36
|
+
|
37
|
+
@font-face {
|
38
|
+
font-family: "Roboto-Slab";
|
39
|
+
src: url("fonts/Roboto-Slab-Regular.woff2") format("woff2"),
|
40
|
+
url("fonts/Roboto-Slab-Regular.woff") format("woff");
|
41
|
+
font-weight: $font-weight-normal;
|
42
|
+
font-style: normal;
|
43
|
+
font-display: block;
|
44
|
+
}
|
45
|
+
|
46
|
+
@font-face {
|
47
|
+
font-family: "Roboto-Slab";
|
48
|
+
src: url("fonts/Roboto-Slab-Bold.woff2") format("woff2"),
|
49
|
+
url("fonts/Roboto-Slab-Bold.woff") format("woff");
|
50
|
+
font-weight: $font-weight-bold;
|
51
|
+
font-style: normal;
|
52
|
+
font-display: block;
|
53
|
+
}
|
54
|
+
|
55
|
+
@font-face {
|
56
|
+
font-family: "FontAwesome";
|
57
|
+
src: url("fonts/fontawesome-webfont.eot");
|
58
|
+
src: url("fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"),
|
59
|
+
url("fonts/fontawesome-webfont.woff2") format("woff2"),
|
60
|
+
url("fonts/fontawesome-webfont.woff") format("woff"),
|
61
|
+
url("fonts/fontawesome-webfont.ttf") format("truetype"),
|
62
|
+
url("fonts/fontawesome-webfont.svg#fontawesomeregular") format("svg");
|
63
|
+
font-weight: normal;
|
64
|
+
font-style: normal;
|
65
|
+
}
|
data/_sass/_icons.scss
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
// header
|
2
|
+
.fa-home:before {
|
3
|
+
content: "\f015";
|
4
|
+
}
|
5
|
+
.fa-bars:before {
|
6
|
+
content: "\f0c9";
|
7
|
+
}
|
8
|
+
|
9
|
+
// toctree
|
10
|
+
.fa-plus-square-o:before {
|
11
|
+
content: "\f196";
|
12
|
+
}
|
13
|
+
|
14
|
+
.fa-minus-square-o:before {
|
15
|
+
content: "\f147";
|
16
|
+
}
|
17
|
+
|
18
|
+
// addons
|
19
|
+
.fa-book:before {
|
20
|
+
content: "\f02d";
|
21
|
+
}
|
22
|
+
|
23
|
+
.fa-caret-down:before {
|
24
|
+
content: "\f0d7";
|
25
|
+
}
|
26
|
+
.fa-github:before {
|
27
|
+
content: "\f09b";
|
28
|
+
}
|
29
|
+
|
30
|
+
.fa-question-circle-o:before {
|
31
|
+
content: "\f29c";
|
32
|
+
}
|
33
|
+
|
34
|
+
.fa-download:before {
|
35
|
+
content: "\f019";
|
36
|
+
}
|
37
|
+
|
38
|
+
// breadcrumb
|
39
|
+
.fa-edit:before {
|
40
|
+
content: "\f044";
|
41
|
+
}
|
42
|
+
|
43
|
+
// footer
|
44
|
+
.fa-arrow-circle-left:before {
|
45
|
+
content: "\f0a8";
|
46
|
+
}
|
47
|
+
|
48
|
+
.fa-arrow-circle-right:before {
|
49
|
+
content: "\f0a9";
|
50
|
+
}
|
51
|
+
.fa-copyright:before {
|
52
|
+
content: "\f1f9";
|
53
|
+
}
|
data/_sass/_layout.scss
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
.menu-sm {
|
2
|
+
position: fixed;
|
3
|
+
bottom: 0;
|
4
|
+
left: -85%;
|
5
|
+
width: 85%;
|
6
|
+
max-height: 100%;
|
7
|
+
|
8
|
+
&.shift {
|
9
|
+
left: 0;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
.sidebar-wrap {
|
14
|
+
top: 0;
|
15
|
+
|
16
|
+
@extend .menu-sm;
|
17
|
+
|
18
|
+
.sidebar > :last-child {
|
19
|
+
margin-bottom: 5em;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.addons-wrap {
|
24
|
+
@extend .menu-sm;
|
25
|
+
}
|
26
|
+
|
27
|
+
.content-wrap {
|
28
|
+
&.shift {
|
29
|
+
position: fixed;
|
30
|
+
top: 0;
|
31
|
+
bottom: 0;
|
32
|
+
left: 85%;
|
33
|
+
min-width: 100%;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
@media screen and (min-width: $width-md) {
|
38
|
+
.menu-md {
|
39
|
+
left: 0;
|
40
|
+
width: $theme-menu-width;
|
41
|
+
}
|
42
|
+
|
43
|
+
.sidebar-wrap {
|
44
|
+
@extend .menu-md;
|
45
|
+
|
46
|
+
.sidebar {
|
47
|
+
width: $theme-menu-width + 20px;
|
48
|
+
|
49
|
+
.header,
|
50
|
+
.toctree,
|
51
|
+
.embed-wrap {
|
52
|
+
width: $theme-menu-width;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.addons-wrap {
|
58
|
+
@extend .menu-md;
|
59
|
+
}
|
60
|
+
|
61
|
+
.content-wrap {
|
62
|
+
margin-left: $theme-menu-width;
|
63
|
+
|
64
|
+
&.shift {
|
65
|
+
position: relative;
|
66
|
+
left: 0;
|
67
|
+
min-width: 0;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
@media screen and (min-width: $width-xl) {
|
73
|
+
.content-wrap {
|
74
|
+
max-width: $width-xl - $theme-menu-width;
|
75
|
+
}
|
76
|
+
}
|
data/_sass/_reset.scss
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
a {
|
2
|
+
color: $theme-link;
|
3
|
+
|
4
|
+
&:hover {
|
5
|
+
color: $theme-link-hover;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
.fa {
|
10
|
+
display: inline-block;
|
11
|
+
font: normal normal normal 14px/1 "FontAwesome";
|
12
|
+
}
|
13
|
+
|
14
|
+
.breadcrumb-item {
|
15
|
+
margin: 0;
|
16
|
+
|
17
|
+
&::after {
|
18
|
+
padding-right: 3px;
|
19
|
+
padding-left: 3px;
|
20
|
+
}
|
21
|
+
}
|
data/_sass/_root.scss
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
/* fonts */
|
2
|
+
$body-font: "Lato", sans-serif;
|
3
|
+
$mono-font: monospace;
|
4
|
+
$head-font: "Roboto-Slab", sans-serif;
|
5
|
+
|
6
|
+
/* reset */
|
7
|
+
$box-shadow-focus: none;
|
8
|
+
|
9
|
+
/* theme color */
|
10
|
+
$theme-blue: #2980b9;
|
11
|
+
$theme-red: #e74c3c;
|
12
|
+
$theme-white: lighten($black, 99%);
|
13
|
+
$theme-black: lighten($black, 15%);
|
14
|
+
|
15
|
+
/* theme link */
|
16
|
+
$theme-link: $blue;
|
17
|
+
$theme-link-hover: lighten($blue, 10%);
|
18
|
+
$theme-link-visited: lighten($purple, 10%);
|
19
|
+
|
20
|
+
/* theme code */
|
21
|
+
|
22
|
+
/* theme mask */
|
23
|
+
$theme-mask-white: transparentize($theme-white, 0.9);
|
24
|
+
$theme-mask-black: transparentize($theme-black, 0.9);
|
25
|
+
|
26
|
+
/* theme menu */
|
27
|
+
$theme-menu-width: 300px;
|
28
|
+
$theme-menu-background: darken($theme-black, 10%);
|
29
|
+
$theme-menu-active-background: darken($theme-blue, 20%);
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.addons-wrap {
|
2
|
+
background-color: darken($theme-menu-background, 8%);
|
3
|
+
|
4
|
+
.status {
|
5
|
+
cursor: pointer;
|
6
|
+
background-color: darken($theme-menu-background, 5%);
|
7
|
+
|
8
|
+
.branch {
|
9
|
+
.fa {
|
10
|
+
color: $theme-white;
|
11
|
+
}
|
12
|
+
|
13
|
+
.name {
|
14
|
+
color: $green;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
&:active {
|
18
|
+
background: $theme-menu-active-background;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.addons {
|
23
|
+
color: grey;
|
24
|
+
|
25
|
+
dl {
|
26
|
+
margin: 0;
|
27
|
+
}
|
28
|
+
|
29
|
+
dd {
|
30
|
+
display: inline-block;
|
31
|
+
|
32
|
+
a {
|
33
|
+
display: inline-block;
|
34
|
+
padding: 6px;
|
35
|
+
color: $theme-white;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|