just-the-hm-docs 1.0.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +24 -0
- data/Rakefile +1 -0
- data/_includes/components/aux_nav.html +15 -0
- data/_includes/components/breadcrumbs.html +15 -0
- data/_includes/components/children_nav.html +9 -0
- data/_includes/components/footer.html +34 -0
- data/_includes/components/header.html +11 -0
- data/_includes/components/mermaid.html +5 -0
- data/_includes/components/search_footer.html +7 -0
- data/_includes/components/search_header.html +9 -0
- data/_includes/components/sidebar.html +69 -0
- data/_includes/css/callouts.scss.liquid +93 -0
- data/_includes/css/custom.scss.liquid +1 -0
- data/_includes/css/just-the-docs.scss.liquid +10 -0
- data/_includes/fix_linenos.html +65 -0
- data/_includes/footer_custom.html +3 -0
- data/_includes/head.html +46 -0
- data/_includes/head_custom.html +4 -0
- data/_includes/header_custom.html +0 -0
- data/_includes/icons/code_copy.html +15 -0
- data/_includes/icons/document.html +6 -0
- data/_includes/icons/expand.html +6 -0
- data/_includes/icons/external_link.html +5 -0
- data/_includes/icons/icons.html +13 -0
- data/_includes/icons/link.html +6 -0
- data/_includes/icons/menu.html +6 -0
- data/_includes/icons/search.html +6 -0
- data/_includes/js/custom.js +0 -0
- data/_includes/lunr/custom-data.json +0 -0
- data/_includes/lunr/custom-index.js +0 -0
- data/_includes/mermaid_config.js +1 -0
- data/_includes/nav.html +251 -0
- data/_includes/nav_footer_custom.html +0 -0
- data/_includes/search_placeholder_custom.html +1 -0
- data/_includes/title.html +5 -0
- data/_includes/toc_heading_custom.html +1 -0
- data/_includes/vendor/anchor_headings.html +172 -0
- data/_layouts/about.html +5 -0
- data/_layouts/default.html +41 -0
- data/_layouts/home.html +5 -0
- data/_layouts/minimal.html +60 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_layouts/table_wrappers.html +7 -0
- data/_layouts/vendor/compress.html +10 -0
- data/_sass/base.scss +114 -0
- data/_sass/buttons.scss +113 -0
- data/_sass/code.scss +210 -0
- data/_sass/color_schemes/dark.scss +28 -0
- data/_sass/color_schemes/hm.scss +26 -0
- data/_sass/color_schemes/light.scss +208 -0
- data/_sass/content.scss +239 -0
- data/_sass/custom/custom.scss +30 -0
- data/_sass/custom/hm-branding.scss +259 -0
- data/_sass/custom/hm-code.scss +153 -0
- data/_sass/custom/hm-colors.scss +15 -0
- data/_sass/custom/hm-notes.scss +38 -0
- data/_sass/custom/setup.scss +160 -0
- data/_sass/labels.scss +33 -0
- data/_sass/layout.scss +206 -0
- data/_sass/modules.scss +17 -0
- data/_sass/navigation.scss +235 -0
- data/_sass/print.scss +40 -0
- data/_sass/search.scss +311 -0
- data/_sass/skiptomain.scss +30 -0
- data/_sass/support/_functions.scss +11 -0
- data/_sass/support/_variables.scss +129 -0
- data/_sass/support/mixins/_buttons.scss +27 -0
- data/_sass/support/mixins/_layout.scss +34 -0
- data/_sass/support/mixins/_typography.scss +84 -0
- data/_sass/support/mixins/mixins.scss +3 -0
- data/_sass/support/support.scss +3 -0
- data/_sass/tables.scss +54 -0
- data/_sass/typography.scss +63 -0
- data/_sass/utilities/_colors.scss +237 -0
- data/_sass/utilities/_layout.scss +101 -0
- data/_sass/utilities/_lists.scss +15 -0
- data/_sass/utilities/_spacing.scss +162 -0
- data/_sass/utilities/_typography.scss +85 -0
- data/_sass/utilities/utilities.scss +5 -0
- data/_sass/vendor/OneDarkJekyll/LICENSE +21 -0
- data/_sass/vendor/OneDarkJekyll/README.md +25 -0
- data/_sass/vendor/OneDarkJekyll/colors.less +30 -0
- data/_sass/vendor/OneDarkJekyll/syntax-firewatch-green.scss +200 -0
- data/_sass/vendor/OneDarkJekyll/syntax-firewatch.scss +200 -0
- data/_sass/vendor/OneDarkJekyll/syntax-one-dark-vivid.scss +200 -0
- data/_sass/vendor/OneDarkJekyll/syntax-one-dark.scss +200 -0
- data/_sass/vendor/OneDarkJekyll/syntax-variables.less +56 -0
- data/_sass/vendor/OneDarkJekyll/syntax.less +93 -0
- data/_sass/vendor/normalize.scss/README.md +7 -0
- data/_sass/vendor/normalize.scss/normalize.scss +351 -0
- data/assets/css/just-the-docs-dark.scss +3 -0
- data/assets/css/just-the-docs-default.scss +8 -0
- data/assets/css/just-the-docs-light.scss +3 -0
- data/assets/favicon/android-chrome-192x192.png +0 -0
- data/assets/favicon/android-chrome-512x512.png +0 -0
- data/assets/favicon/apple-touch-icon.png +0 -0
- data/assets/favicon/favicon-16x16.png +0 -0
- data/assets/favicon/favicon-32x32.png +0 -0
- data/assets/favicon/favicon.ico +0 -0
- data/assets/favicon/site.webmanifest +1 -0
- data/assets/images/.gitkeep +0 -0
- data/assets/images/hm-logo.svg +1 -0
- data/assets/images/search.svg +1 -0
- data/assets/js/just-the-docs.js +528 -0
- data/assets/js/vendor/lunr.min.js +61 -0
- data/assets/js/zzzz-search-data.json +74 -0
- data/bin/just-the-hm-docs +16 -0
- data/changelog.md +17 -0
- data/favicon.ico +0 -0
- data/lib/tasks/search.rake +88 -0
- metadata +217 -0
data/_sass/content.scss
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
3
|
+
// Styles for rendered markdown in the .main-content container
|
|
4
|
+
// stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type, selector-max-specificity, selector-max-id
|
|
5
|
+
|
|
6
|
+
.main-content {
|
|
7
|
+
line-height: $content-line-height;
|
|
8
|
+
|
|
9
|
+
ol,
|
|
10
|
+
ul,
|
|
11
|
+
dl,
|
|
12
|
+
pre,
|
|
13
|
+
address,
|
|
14
|
+
blockquote,
|
|
15
|
+
.table-wrapper {
|
|
16
|
+
margin-top: 0.5em;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
a {
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
text-overflow: ellipsis;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
ul,
|
|
25
|
+
ol {
|
|
26
|
+
padding-left: 1.5em;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
li {
|
|
30
|
+
.highlight {
|
|
31
|
+
margin-top: $sp-1;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
ol {
|
|
36
|
+
list-style-type: none;
|
|
37
|
+
counter-reset: step-counter;
|
|
38
|
+
|
|
39
|
+
> li {
|
|
40
|
+
position: relative;
|
|
41
|
+
|
|
42
|
+
&::before {
|
|
43
|
+
position: absolute;
|
|
44
|
+
top: 0.2em;
|
|
45
|
+
left: -1.6em;
|
|
46
|
+
color: $grey-dk-000;
|
|
47
|
+
content: counter(step-counter);
|
|
48
|
+
counter-increment: step-counter;
|
|
49
|
+
@include fs-3;
|
|
50
|
+
|
|
51
|
+
@include mq(sm) {
|
|
52
|
+
top: 0.11em;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
ol {
|
|
57
|
+
counter-reset: sub-counter;
|
|
58
|
+
|
|
59
|
+
> li {
|
|
60
|
+
&::before {
|
|
61
|
+
content: counter(sub-counter, lower-alpha);
|
|
62
|
+
counter-increment: sub-counter;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
ul {
|
|
70
|
+
list-style: none;
|
|
71
|
+
|
|
72
|
+
> li {
|
|
73
|
+
&::before {
|
|
74
|
+
position: absolute;
|
|
75
|
+
margin-left: -1.4em;
|
|
76
|
+
color: $grey-dk-000;
|
|
77
|
+
content: "•";
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.task-list-item {
|
|
83
|
+
&::before {
|
|
84
|
+
content: "";
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.task-list-item-checkbox {
|
|
89
|
+
margin-right: 0.6em;
|
|
90
|
+
margin-left: -1.4em;
|
|
91
|
+
|
|
92
|
+
// The same margin-left is used above for ul > li::before
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
hr + * {
|
|
96
|
+
margin-top: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
h1:first-of-type {
|
|
100
|
+
margin-top: 0.5em;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
dl {
|
|
104
|
+
display: grid;
|
|
105
|
+
grid-template: auto / 10em 1fr;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
dt,
|
|
109
|
+
dd {
|
|
110
|
+
margin: 0.25em 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
dt {
|
|
114
|
+
grid-column: 1;
|
|
115
|
+
font-weight: 500;
|
|
116
|
+
text-align: right;
|
|
117
|
+
|
|
118
|
+
&::after {
|
|
119
|
+
content: ":";
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
dd {
|
|
124
|
+
grid-column: 2;
|
|
125
|
+
margin-bottom: 0;
|
|
126
|
+
margin-left: 1em;
|
|
127
|
+
|
|
128
|
+
blockquote,
|
|
129
|
+
div,
|
|
130
|
+
dl,
|
|
131
|
+
dt,
|
|
132
|
+
h1,
|
|
133
|
+
h2,
|
|
134
|
+
h3,
|
|
135
|
+
h4,
|
|
136
|
+
h5,
|
|
137
|
+
h6,
|
|
138
|
+
li,
|
|
139
|
+
ol,
|
|
140
|
+
p,
|
|
141
|
+
pre,
|
|
142
|
+
table,
|
|
143
|
+
ul,
|
|
144
|
+
.table-wrapper {
|
|
145
|
+
&:first-child {
|
|
146
|
+
margin-top: 0;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
dd,
|
|
152
|
+
ol,
|
|
153
|
+
ul {
|
|
154
|
+
dl:first-child {
|
|
155
|
+
dt:first-child,
|
|
156
|
+
dd:nth-child(2) {
|
|
157
|
+
margin-top: 0;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.anchor-heading {
|
|
163
|
+
position: absolute;
|
|
164
|
+
right: -$sp-4;
|
|
165
|
+
width: $sp-5;
|
|
166
|
+
height: 100%;
|
|
167
|
+
padding-right: $sp-1;
|
|
168
|
+
padding-left: $sp-1;
|
|
169
|
+
overflow: visible;
|
|
170
|
+
|
|
171
|
+
@include mq(md) {
|
|
172
|
+
right: auto;
|
|
173
|
+
left: -$sp-5;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
svg {
|
|
177
|
+
display: inline-block;
|
|
178
|
+
width: 100%;
|
|
179
|
+
height: 100%;
|
|
180
|
+
color: $link-color;
|
|
181
|
+
visibility: hidden;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.anchor-heading:hover,
|
|
186
|
+
.anchor-heading:focus,
|
|
187
|
+
h1:hover > .anchor-heading,
|
|
188
|
+
h2:hover > .anchor-heading,
|
|
189
|
+
h3:hover > .anchor-heading,
|
|
190
|
+
h4:hover > .anchor-heading,
|
|
191
|
+
h5:hover > .anchor-heading,
|
|
192
|
+
h6:hover > .anchor-heading {
|
|
193
|
+
svg {
|
|
194
|
+
visibility: visible;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
summary {
|
|
199
|
+
cursor: pointer;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
h1,
|
|
203
|
+
h2,
|
|
204
|
+
h3,
|
|
205
|
+
h4,
|
|
206
|
+
h5,
|
|
207
|
+
h6,
|
|
208
|
+
#toctitle {
|
|
209
|
+
position: relative;
|
|
210
|
+
margin-top: 1.5em;
|
|
211
|
+
margin-bottom: 0.25em;
|
|
212
|
+
|
|
213
|
+
+ table,
|
|
214
|
+
+ .table-wrapper,
|
|
215
|
+
+ .code-example,
|
|
216
|
+
+ .highlighter-rouge,
|
|
217
|
+
+ .sectionbody .listingblock {
|
|
218
|
+
margin-top: 1em;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
+ p:not(.label) {
|
|
222
|
+
margin-top: 0;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
> h1:first-child,
|
|
227
|
+
> h2:first-child,
|
|
228
|
+
> h3:first-child,
|
|
229
|
+
> h4:first-child,
|
|
230
|
+
> h5:first-child,
|
|
231
|
+
> h6:first-child,
|
|
232
|
+
> .sect1:first-child > h2,
|
|
233
|
+
> .sect2:first-child > h3,
|
|
234
|
+
> .sect3:first-child > h4,
|
|
235
|
+
> .sect4:first-child > h5,
|
|
236
|
+
> .sect5:first-child > h6 {
|
|
237
|
+
margin-top: $sp-2;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// stylelint-disable scss/at-extend-no-missing-placeholder
|
|
2
|
+
// Just the HM Docs styles
|
|
3
|
+
@import "hm-branding";
|
|
4
|
+
@import "hm-code";
|
|
5
|
+
@import "hm-colors";
|
|
6
|
+
@import "hm-notes";
|
|
7
|
+
|
|
8
|
+
// Overrides
|
|
9
|
+
iframe {
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
details {
|
|
14
|
+
@extend .mb-4;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.main-content {
|
|
18
|
+
dl {
|
|
19
|
+
display: block;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
dt {
|
|
23
|
+
font-weight: 700;
|
|
24
|
+
text-align: start;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
dd + dt {
|
|
28
|
+
margin-top: 1em;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
html {
|
|
2
|
+
font-size: $font-size-5 !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
a {
|
|
6
|
+
outline-color: $link-color;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
a:not([class]) {
|
|
10
|
+
text-decoration-color: $link-color;
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
background: $base-button-color-hover;
|
|
14
|
+
color: darken($link-color, 10%);
|
|
15
|
+
text-decoration-color: darken($link-color, 10%);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
input::placeholder,
|
|
20
|
+
.search-label .search-icon {
|
|
21
|
+
color: $link-color;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
input::placeholder {
|
|
25
|
+
@include fs-4;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
hr {
|
|
29
|
+
margin: $sp-7 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
h1,
|
|
33
|
+
h2,
|
|
34
|
+
h3,
|
|
35
|
+
h5,
|
|
36
|
+
h6 {
|
|
37
|
+
font-weight: 700;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
h1 {
|
|
41
|
+
@include fs-9;
|
|
42
|
+
|
|
43
|
+
.main-content & {
|
|
44
|
+
margin-bottom: $sp-3;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
h2 {
|
|
49
|
+
@include fs-7;
|
|
50
|
+
|
|
51
|
+
.main-content & {
|
|
52
|
+
margin-bottom: $sp-5;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
h3 {
|
|
57
|
+
@include fs-6;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
h4 {
|
|
61
|
+
@include fs-5;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
h5 {
|
|
65
|
+
@include fs-5;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
h6 {
|
|
69
|
+
@include fs-4;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.btn {
|
|
73
|
+
background-image: none;
|
|
74
|
+
border-radius: 3rem;
|
|
75
|
+
box-shadow: none;
|
|
76
|
+
align-items: center;
|
|
77
|
+
display: inline-flex;
|
|
78
|
+
font-weight: 700;
|
|
79
|
+
padding: $sp-3 $sp-4;
|
|
80
|
+
|
|
81
|
+
&:not(.btn-primary, .btn-purple, .btn-blue, .btn-green, .btn-outline) {
|
|
82
|
+
box-shadow: inset 0 0 0 2px $link-color;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&::after {
|
|
86
|
+
content: "\2192";
|
|
87
|
+
font-size: 144%;
|
|
88
|
+
font-weight: 400;
|
|
89
|
+
line-height: 0.8;
|
|
90
|
+
margin-left: $sp-2;
|
|
91
|
+
transition: transform ease 200ms;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
&:not(.btn-primary, .btn-purple, .btn-blue, .btn-green) {
|
|
96
|
+
background: $base-button-color-hover;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&::after {
|
|
100
|
+
transform: translateX($sp-1);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&:focus,
|
|
105
|
+
&:focus:hover,
|
|
106
|
+
&.selected:focus {
|
|
107
|
+
box-shadow: 0 0 0 3px rgba($link-color, 0.4);
|
|
108
|
+
|
|
109
|
+
&:not(.btn-primary, .btn-purple, .btn-blue, .btn-green, .btn-outline) {
|
|
110
|
+
box-shadow: inset 0 0 0 2px $link-color, 0 0 0 3px rgba($link-color, 0.4);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.btn-primary:hover {
|
|
116
|
+
background: $btn-primary-color-hover;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.btn-outline {
|
|
120
|
+
&,
|
|
121
|
+
&:hover {
|
|
122
|
+
box-shadow: inset 0 0 0 2px $body-heading-color;
|
|
123
|
+
color: $body-heading-color;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&:focus,
|
|
127
|
+
&:focus:hover,
|
|
128
|
+
&.selected:focus {
|
|
129
|
+
box-shadow: inset 0 0 0 2px $body-heading-color,
|
|
130
|
+
0 0 0 3px rgba($link-color, 0.4);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.label {
|
|
135
|
+
padding: $sp-1 $sp-2;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.site-title,
|
|
139
|
+
.site-button {
|
|
140
|
+
outline-offset: -1px;
|
|
141
|
+
|
|
142
|
+
&:hover {
|
|
143
|
+
background: $sidebar-color;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.site-header,
|
|
148
|
+
.main-header,
|
|
149
|
+
.side-bar {
|
|
150
|
+
border-color: $border-color-lt;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.side-bar {
|
|
154
|
+
background-color: $white;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.site-title,
|
|
158
|
+
.nav-list .nav-list-item .nav-list-link,
|
|
159
|
+
.site-footer {
|
|
160
|
+
@include mq(md) {
|
|
161
|
+
padding-left: $gutter-spacing-sm;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.site-title {
|
|
166
|
+
@include mq(md) {
|
|
167
|
+
font-size: rem(21px) !important;
|
|
168
|
+
padding-bottom: $gutter-spacing-sm;
|
|
169
|
+
padding-top: $gutter-spacing-sm;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.site-logo {
|
|
174
|
+
align-items: center;
|
|
175
|
+
display: flex;
|
|
176
|
+
font-weight: 700;
|
|
177
|
+
|
|
178
|
+
&::after {
|
|
179
|
+
content: "Documentation";
|
|
180
|
+
padding-left: rem(62px);
|
|
181
|
+
|
|
182
|
+
@include mq(md) {
|
|
183
|
+
padding-left: rem(53px);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.site-nav {
|
|
189
|
+
margin-bottom: $gutter-spacing-sm;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.nav-list .nav-list-item {
|
|
193
|
+
font-size: $font-size-5 !important;
|
|
194
|
+
|
|
195
|
+
.nav-list-expander,
|
|
196
|
+
.nav-list-link {
|
|
197
|
+
color: $nav-child-link-color;
|
|
198
|
+
|
|
199
|
+
&:hover,
|
|
200
|
+
&.active {
|
|
201
|
+
background: $sidebar-color;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.nav-list-link {
|
|
206
|
+
outline-offset: -1px;
|
|
207
|
+
text-decoration: underline;
|
|
208
|
+
text-underline-offset: rem(3px);
|
|
209
|
+
|
|
210
|
+
.nav-list .nav-list-item > &:hover,
|
|
211
|
+
&:hover,
|
|
212
|
+
&.active {
|
|
213
|
+
color: $link-color;
|
|
214
|
+
text-decoration: underline;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
&.active {
|
|
218
|
+
font-weight: 700;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&.external {
|
|
222
|
+
padding-right: 1rem;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.search {
|
|
228
|
+
padding: $gutter-spacing-sm;
|
|
229
|
+
padding-bottom: 0;
|
|
230
|
+
|
|
231
|
+
@include mq(md) {
|
|
232
|
+
padding: 0;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.search-input {
|
|
237
|
+
padding-left: #{$gutter-spacing-sm + $sp-6};
|
|
238
|
+
|
|
239
|
+
html:not(.search-active) &:focus-visible {
|
|
240
|
+
box-shadow: inset 0 0 1em $grey-lt-100;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
@include mq(md) {
|
|
244
|
+
padding-left: #{$gutter-spacing + $sp-6};
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.search-label .search-icon {
|
|
249
|
+
height: rem(22px);
|
|
250
|
+
width: rem(22px);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.search-result {
|
|
254
|
+
outline-offset: -1px;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.aux-nav {
|
|
258
|
+
@include fs-4;
|
|
259
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
// HM styling just for code blocks and snippets.
|
|
2
|
+
:not(pre, figure) > code {
|
|
3
|
+
padding: $sp-1 $sp-2;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
div.highlighter-rouge,
|
|
7
|
+
div.listingblock > div.content,
|
|
8
|
+
figure.highlight,
|
|
9
|
+
.highlight .table-wrapper td,
|
|
10
|
+
.highlight .table-wrapper pre {
|
|
11
|
+
background-color: $code-block-background-color;
|
|
12
|
+
color: $code-block-color;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
code,
|
|
16
|
+
.highlight .table-wrapper td,
|
|
17
|
+
.highlight .table-wrapper pre {
|
|
18
|
+
font-size: $font-size-4 !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
div.highlighter-rouge,
|
|
22
|
+
div.listingblock {
|
|
23
|
+
div.highlight {
|
|
24
|
+
padding: $sp-5;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Mostly taken from OneDarkJekyll - Vivid.
|
|
29
|
+
// https://github.com/mgyongyosi/OneDarkJekyll/blob/master/syntax-one-dark-vivid.css
|
|
30
|
+
.highlight {
|
|
31
|
+
.c, // comment
|
|
32
|
+
.cm, // comment.multiline
|
|
33
|
+
.cp, // comment.preproc
|
|
34
|
+
.c1, // comment.single
|
|
35
|
+
.cs, // comment.special
|
|
36
|
+
.gu // generic.subheading
|
|
37
|
+
{
|
|
38
|
+
color: #989fae;
|
|
39
|
+
font-style: italic;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.err // error
|
|
43
|
+
{
|
|
44
|
+
color: #960050;
|
|
45
|
+
background-color: #1e0010;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.k, // keyword
|
|
49
|
+
.kc, // keyword.constant
|
|
50
|
+
.kd, // keyword.declaration
|
|
51
|
+
.kn, // keyword.namespace
|
|
52
|
+
.kp, // keyword.pseudo
|
|
53
|
+
.kr, // keyword.reserved
|
|
54
|
+
.kt // keyword.type
|
|
55
|
+
{
|
|
56
|
+
color: #e19ef5;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.l, // literal
|
|
60
|
+
.ld, // literal.date
|
|
61
|
+
.s, // literal.string
|
|
62
|
+
.sb, // literal.string.backtick
|
|
63
|
+
.sc, // literal.string.char
|
|
64
|
+
.sd, // literal.string.doc
|
|
65
|
+
.s1, // literal.string.single
|
|
66
|
+
.s2, // literal.string.double
|
|
67
|
+
.se, // literal.string.escape
|
|
68
|
+
.sh, // literal.string.heredoc
|
|
69
|
+
.si, // literal.string.interpol
|
|
70
|
+
.sx // literal.string.other
|
|
71
|
+
{
|
|
72
|
+
color: #a3eea0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.n, // name
|
|
76
|
+
.nf, // name.function
|
|
77
|
+
.nn, // name.namespace
|
|
78
|
+
.nx, // name.other
|
|
79
|
+
.o, // operator
|
|
80
|
+
.p // punctuation
|
|
81
|
+
{
|
|
82
|
+
color: #dee2f7;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ge // generic.emph
|
|
86
|
+
{
|
|
87
|
+
font-style: italic;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.gs // generic.strong
|
|
91
|
+
{
|
|
92
|
+
font-weight: 700;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.m, // literal.number
|
|
96
|
+
.il, // literal.number.integer.long
|
|
97
|
+
.mf, // literal.number.float
|
|
98
|
+
.mh, // literal.number.hex
|
|
99
|
+
.mi, // literal.number.integer
|
|
100
|
+
.mo, // literal.number.oct
|
|
101
|
+
.na // name.attribute
|
|
102
|
+
{
|
|
103
|
+
color: #eddc96;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.bp, // name.builtin.pseudo
|
|
107
|
+
.nb, // name.builtin
|
|
108
|
+
.nc, // name.class
|
|
109
|
+
.no, // name.constant
|
|
110
|
+
.nd, // name.decorator
|
|
111
|
+
.ni, // name.entity
|
|
112
|
+
.ne, // name.exception
|
|
113
|
+
.nl, // name.label
|
|
114
|
+
.nv, // name.variable
|
|
115
|
+
.py, // name.property
|
|
116
|
+
.vc, // name.variable.class
|
|
117
|
+
.vg // name.variable.global
|
|
118
|
+
{
|
|
119
|
+
color: #fdce68;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.nt, // name.tag
|
|
123
|
+
.vi // name.variable.instance
|
|
124
|
+
{
|
|
125
|
+
color: #f9867b;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.ow // operator.word
|
|
129
|
+
{
|
|
130
|
+
font-weight: 700;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.w // text.whitespace
|
|
134
|
+
{
|
|
135
|
+
color: #f8f8f2;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.sr, // literal.string.regex
|
|
139
|
+
.ss // literal.string.symbol
|
|
140
|
+
{
|
|
141
|
+
color: #7be2f9;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.gd // generic.deleted
|
|
145
|
+
{
|
|
146
|
+
color: #f92672;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.gi // generic.inserted
|
|
150
|
+
{
|
|
151
|
+
color: #a6e22e;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Utility classes for HM colors.
|
|
2
|
+
|
|
3
|
+
// Text colors
|
|
4
|
+
@each $name, $color in $hm-colors {
|
|
5
|
+
.text-#{$name} {
|
|
6
|
+
color: $color !important;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Background colors
|
|
11
|
+
@each $name, $color in $hm-colors {
|
|
12
|
+
.bg-#{$name} {
|
|
13
|
+
background-color: $color !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// HM styling just for callouts, notes, and warnings.
|
|
2
|
+
blockquote {
|
|
3
|
+
border-left: 0 none;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
p,
|
|
7
|
+
blockquote {
|
|
8
|
+
&.highlight,
|
|
9
|
+
&.important,
|
|
10
|
+
&.important-title,
|
|
11
|
+
&.new,
|
|
12
|
+
&.note,
|
|
13
|
+
&.note-title,
|
|
14
|
+
&.warning {
|
|
15
|
+
border-left: 0 none;
|
|
16
|
+
box-shadow: none;
|
|
17
|
+
margin-bottom: $sp-7;
|
|
18
|
+
margin-top: $sp-7;
|
|
19
|
+
padding: $sp-5;
|
|
20
|
+
|
|
21
|
+
& > &,
|
|
22
|
+
& > div.opaque > & {
|
|
23
|
+
margin-bottom: $sp-4;
|
|
24
|
+
margin-top: $sp-4;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&::before,
|
|
28
|
+
&:is(.important-title) > p:first-child,
|
|
29
|
+
&:is(.note-title) > p:first-child {
|
|
30
|
+
@include fs-3;
|
|
31
|
+
letter-spacing: 1px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
div.opaque {
|
|
37
|
+
border-radius: $border-radius;
|
|
38
|
+
}
|