jekyll-wikibonsai 0.0.8 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +57 -0
- data/_config.yml +269 -0
- data/_data/emoji.yml +46 -0
- data/_data/themes.yml +145 -0
- data/_includes/anchor-headings.html +156 -0
- data/_includes/branch.html +18 -0
- data/_includes/btn_state.html +14 -0
- data/_includes/connect.html +46 -0
- data/_includes/cookie-consent.html +79 -0
- data/_includes/dates.html +22 -0
- data/_includes/hp-tooltip.html +106 -0
- data/_includes/img/bullet-ancestor.svg +5 -0
- data/_includes/img/bullet-branch.svg +7 -0
- data/_includes/img/bullet-net-web.svg +9 -0
- data/_includes/img/bullet-tree.svg +9 -0
- data/_includes/img/pencil-filter.svg +17 -0
- data/_includes/share.html +47 -0
- data/_includes/site-nav.html +100 -0
- data/_includes/tags.html +49 -0
- data/_includes/themes.scss.liquid +80 -0
- data/_includes/toc.html +187 -0
- data/_layouts/404.html +10 -0
- data/_layouts/about.html +14 -0
- data/_layouts/archive.html +77 -0
- data/_layouts/base.html +68 -0
- data/_layouts/book.html +40 -0
- data/_layouts/entry.html +269 -0
- data/_layouts/home.html +96 -0
- data/_layouts/map.html +17 -0
- data/_layouts/post.html +37 -0
- data/_layouts/privacy.html +15 -0
- data/_layouts/recent.html +66 -0
- data/_layouts/state.html +70 -0
- data/_layouts/table-wrappers.html +7 -0
- data/_layouts/vendor/compress.html +10 -0
- data/_sass/base/_code.scss +133 -0
- data/_sass/base/_layout.scss +55 -0
- data/_sass/base/_link.scss +105 -0
- data/_sass/base/_main.scss +96 -0
- data/_sass/base/_markdown.scss +281 -0
- data/_sass/base/_typography.scss +89 -0
- data/_sass/base/code_themes/_gruvbox.scss +92 -0
- data/_sass/base/code_themes/_monokai.scss +217 -0
- data/_sass/base/code_themes/_solarized.scss +84 -0
- data/_sass/components/_btn.scss +95 -0
- data/_sass/components/_infobox.scss +48 -0
- data/_sass/components/_item.scss +28 -0
- data/_sass/components/_search.scss +61 -0
- data/_sass/components/_tag_pills.scss +24 -0
- data/_sass/components/_visited.scss +42 -0
- data/_sass/includes/_anchor_headings.scss +36 -0
- data/_sass/includes/_connect.scss +8 -0
- data/_sass/includes/_cookie_consent.scss +46 -0
- data/_sass/includes/_dates.scss +6 -0
- data/_sass/includes/_hp_tooltip.scss +41 -0
- data/_sass/includes/_share.scss +10 -0
- data/_sass/includes/_site_nav.scss +97 -0
- data/_sass/includes/_svg.scss +89 -0
- data/_sass/includes/_toc.scss +38 -0
- data/_sass/layouts/_404.scss +3 -0
- data/_sass/layouts/_about.scss +3 -0
- data/_sass/layouts/_archive.scss +26 -0
- data/_sass/layouts/_book.scss +17 -0
- data/_sass/layouts/_entry.scss +156 -0
- data/_sass/layouts/_home.scss +75 -0
- data/_sass/layouts/_map.scss +3 -0
- data/_sass/layouts/_post.scss +17 -0
- data/_sass/layouts/_privacy.scss +3 -0
- data/_sass/layouts/_recent.scss +77 -0
- data/_sass/layouts/_state.scss +98 -0
- data/_sass/main.scss +73 -0
- data/_sass/util/_functions.scss +9 -0
- data/_sass/util/_variables.scss +113 -0
- data/_sass/util/mixins/_buttons.scss +27 -0
- data/_sass/util/mixins/_layout.scss +81 -0
- data/_sass/util/mixins/_typography.scss +84 -0
- data/_sass/vendor/normalize.scss/README.md +7 -0
- data/_sass/vendor/normalize.scss/normalize.scss +349 -0
- data/assets/css/styles.scss +31 -0
- data/assets/font/Cutive_Mono/CutiveMono-Regular.ttf +0 -0
- data/assets/font/Cutive_Mono/OFL.txt +93 -0
- data/assets/font/Old_Standard_TT/OFL.txt +93 -0
- data/assets/font/Old_Standard_TT/OldStandardTT-Bold.ttf +0 -0
- data/assets/font/Old_Standard_TT/OldStandardTT-Italic.ttf +0 -0
- data/assets/font/Old_Standard_TT/OldStandardTT-Regular.ttf +0 -0
- data/assets/font/exo2/Exo2-Italic-VariableFont_wght.ttf +0 -0
- data/assets/font/exo2/Exo2-VariableFont_wght.ttf +0 -0
- data/assets/font/exo2/OFL.txt +93 -0
- data/assets/font/exo2/README.txt +81 -0
- data/assets/font/exo2/static/Exo2-Black.ttf +0 -0
- data/assets/font/exo2/static/Exo2-BlackItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Bold.ttf +0 -0
- data/assets/font/exo2/static/Exo2-BoldItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraBold.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraBoldItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraLight.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ExtraLightItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Italic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Light.ttf +0 -0
- data/assets/font/exo2/static/Exo2-LightItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Medium.ttf +0 -0
- data/assets/font/exo2/static/Exo2-MediumItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Regular.ttf +0 -0
- data/assets/font/exo2/static/Exo2-SemiBold.ttf +0 -0
- data/assets/font/exo2/static/Exo2-SemiBoldItalic.ttf +0 -0
- data/assets/font/exo2/static/Exo2-Thin.ttf +0 -0
- data/assets/font/exo2/static/Exo2-ThinItalic.ttf +0 -0
- data/assets/img/bonsai-dark.png +0 -0
- data/assets/img/bonsai-dark.svg +106 -0
- data/assets/img/bonsai-light.png +0 -0
- data/assets/img/bonsai-light.svg +81 -0
- data/assets/img/bonsai-star.png +0 -0
- data/assets/img/bonsai-star.svg +1 -0
- data/assets/img/books/the-ancient-art-of-bonsai.png +0 -0
- data/assets/img/favicon-dark.png +0 -0
- data/assets/img/favicon-light.png +0 -0
- data/assets/img/nav-base-dark.svg +1 -0
- data/assets/img/nav-base-light.svg +1 -0
- data/assets/img/nav-base-star.svg +1 -0
- data/assets/img/nav-bonsai-dark.svg +1 -0
- data/assets/img/nav-bonsai-light.svg +1 -0
- data/assets/img/nav-bonsai-star.svg +1 -0
- data/assets/js/entry.js +130 -0
- data/assets/js/graph.js +64 -0
- data/assets/js/scripts.js +64 -0
- data/assets/js/search.js +165 -0
- data/assets/js/site-nav.js +132 -0
- data/assets/js/theme-colors.js +57 -0
- data/assets/js/vendor/lunr.js +3475 -0
- data/assets/js/vendor/lunr.min.js +6 -0
- data/assets/js/visited-nav.js +65 -0
- metadata +289 -4
- data/lib/jekyll-wikibonsai/version.rb +0 -9
- data/lib/jekyll-wikibonsai.rb +0 -10
@@ -0,0 +1,217 @@
|
|
1
|
+
// monokai
|
2
|
+
|
3
|
+
.highlight {
|
4
|
+
color: #f8f8f2;
|
5
|
+
// background-color: #49483e;
|
6
|
+
|
7
|
+
table td { padding: 5px; }
|
8
|
+
table pre { margin: 0; }
|
9
|
+
.c, .ch, .cd, .cpf {
|
10
|
+
color: #75715e;
|
11
|
+
font-style: italic;
|
12
|
+
}
|
13
|
+
.cm {
|
14
|
+
color: #75715e;
|
15
|
+
font-style: italic;
|
16
|
+
}
|
17
|
+
.c1 {
|
18
|
+
color: #75715e;
|
19
|
+
font-style: italic;
|
20
|
+
}
|
21
|
+
.cp {
|
22
|
+
color: #75715e;
|
23
|
+
font-weight: bold;
|
24
|
+
}
|
25
|
+
.cs {
|
26
|
+
color: #75715e;
|
27
|
+
font-weight: bold;
|
28
|
+
font-style: italic;
|
29
|
+
}
|
30
|
+
.err {
|
31
|
+
color: #960050;
|
32
|
+
background-color: #1e0010;
|
33
|
+
}
|
34
|
+
.gi {
|
35
|
+
color: #ffffff;
|
36
|
+
background-color: #324932;
|
37
|
+
}
|
38
|
+
.gd {
|
39
|
+
color: #ffffff;
|
40
|
+
// background-color: #493131;
|
41
|
+
}
|
42
|
+
.ge {
|
43
|
+
color: #000000;
|
44
|
+
font-style: italic;
|
45
|
+
}
|
46
|
+
.gr {
|
47
|
+
color: #aa0000;
|
48
|
+
}
|
49
|
+
.gt {
|
50
|
+
color: #aa0000;
|
51
|
+
}
|
52
|
+
.gh {
|
53
|
+
color: #999999;
|
54
|
+
}
|
55
|
+
.go {
|
56
|
+
color: #888888;
|
57
|
+
}
|
58
|
+
.gp {
|
59
|
+
color: #555555;
|
60
|
+
}
|
61
|
+
.gs {
|
62
|
+
font-weight: bold;
|
63
|
+
}
|
64
|
+
.gu {
|
65
|
+
color: #aaaaaa;
|
66
|
+
}
|
67
|
+
.k, .kv {
|
68
|
+
color: #66d9ef;
|
69
|
+
font-weight: bold;
|
70
|
+
}
|
71
|
+
.kc {
|
72
|
+
color: #66d9ef;
|
73
|
+
font-weight: bold;
|
74
|
+
}
|
75
|
+
.kd {
|
76
|
+
color: #66d9ef;
|
77
|
+
font-weight: bold;
|
78
|
+
}
|
79
|
+
.kp {
|
80
|
+
color: #66d9ef;
|
81
|
+
font-weight: bold;
|
82
|
+
}
|
83
|
+
.kr {
|
84
|
+
color: #66d9ef;
|
85
|
+
font-weight: bold;
|
86
|
+
}
|
87
|
+
.kt {
|
88
|
+
color: #66d9ef;
|
89
|
+
font-weight: bold;
|
90
|
+
}
|
91
|
+
.kn {
|
92
|
+
color: #f92672;
|
93
|
+
font-weight: bold;
|
94
|
+
}
|
95
|
+
.ow {
|
96
|
+
color: #f92672;
|
97
|
+
font-weight: bold;
|
98
|
+
}
|
99
|
+
.o {
|
100
|
+
color: #f92672;
|
101
|
+
font-weight: bold;
|
102
|
+
}
|
103
|
+
.mf {
|
104
|
+
color: #ae81ff;
|
105
|
+
}
|
106
|
+
.mh {
|
107
|
+
color: #ae81ff;
|
108
|
+
}
|
109
|
+
.il {
|
110
|
+
color: #ae81ff;
|
111
|
+
}
|
112
|
+
.mi {
|
113
|
+
color: #ae81ff;
|
114
|
+
}
|
115
|
+
.mo {
|
116
|
+
color: #ae81ff;
|
117
|
+
}
|
118
|
+
.m, .mb, .mx {
|
119
|
+
color: #ae81ff;
|
120
|
+
}
|
121
|
+
.se {
|
122
|
+
color: #ae81ff;
|
123
|
+
}
|
124
|
+
.sa {
|
125
|
+
color: #66d9ef;
|
126
|
+
font-weight: bold;
|
127
|
+
}
|
128
|
+
.sb {
|
129
|
+
color: #e6db74;
|
130
|
+
}
|
131
|
+
.sc {
|
132
|
+
color: #e6db74;
|
133
|
+
}
|
134
|
+
.sd {
|
135
|
+
color: #e6db74;
|
136
|
+
}
|
137
|
+
.s2 {
|
138
|
+
color: #e6db74;
|
139
|
+
}
|
140
|
+
.sh {
|
141
|
+
color: #e6db74;
|
142
|
+
}
|
143
|
+
.si {
|
144
|
+
color: #e6db74;
|
145
|
+
}
|
146
|
+
.sx {
|
147
|
+
color: #e6db74;
|
148
|
+
}
|
149
|
+
.sr {
|
150
|
+
color: #e6db74;
|
151
|
+
}
|
152
|
+
.s1 {
|
153
|
+
color: #e6db74;
|
154
|
+
}
|
155
|
+
.ss {
|
156
|
+
color: #e6db74;
|
157
|
+
}
|
158
|
+
.s, .dl {
|
159
|
+
color: #e6db74;
|
160
|
+
}
|
161
|
+
.na {
|
162
|
+
color: #a6e22e;
|
163
|
+
}
|
164
|
+
.nc {
|
165
|
+
color: #a6e22e;
|
166
|
+
font-weight: bold;
|
167
|
+
}
|
168
|
+
.nd {
|
169
|
+
color: #a6e22e;
|
170
|
+
font-weight: bold;
|
171
|
+
}
|
172
|
+
.ne {
|
173
|
+
color: #a6e22e;
|
174
|
+
font-weight: bold;
|
175
|
+
}
|
176
|
+
.nf, .fm {
|
177
|
+
color: #a6e22e;
|
178
|
+
font-weight: bold;
|
179
|
+
}
|
180
|
+
.no {
|
181
|
+
color: #66d9ef;
|
182
|
+
}
|
183
|
+
.bp {
|
184
|
+
color: #f8f8f2;
|
185
|
+
}
|
186
|
+
.nb {
|
187
|
+
color: #f8f8f2;
|
188
|
+
}
|
189
|
+
.ni {
|
190
|
+
color: #f8f8f2;
|
191
|
+
}
|
192
|
+
.nn {
|
193
|
+
color: #f8f8f2;
|
194
|
+
}
|
195
|
+
.vc {
|
196
|
+
color: #f8f8f2;
|
197
|
+
}
|
198
|
+
.vg {
|
199
|
+
color: #f8f8f2;
|
200
|
+
}
|
201
|
+
.vi {
|
202
|
+
color: #f8f8f2;
|
203
|
+
}
|
204
|
+
.nv, .vm {
|
205
|
+
color: #f8f8f2;
|
206
|
+
}
|
207
|
+
.w {
|
208
|
+
color: #f8f8f2;
|
209
|
+
}
|
210
|
+
.nl {
|
211
|
+
color: #f8f8f2;
|
212
|
+
font-weight: bold;
|
213
|
+
}
|
214
|
+
.nt {
|
215
|
+
color: #f92672;
|
216
|
+
}
|
217
|
+
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
// solarized
|
2
|
+
|
3
|
+
.highlight {
|
4
|
+
table td { padding: 5px; }
|
5
|
+
table pre { margin: 0; }
|
6
|
+
.w {
|
7
|
+
color: #586e75;
|
8
|
+
}
|
9
|
+
.err {
|
10
|
+
color: #002b36;
|
11
|
+
background-color: #dc322f;
|
12
|
+
}
|
13
|
+
.c, .ch, .cd, .cm, .cpf, .c1, .cs {
|
14
|
+
color: #657b83;
|
15
|
+
}
|
16
|
+
.cp {
|
17
|
+
color: #b58900;
|
18
|
+
}
|
19
|
+
.nt {
|
20
|
+
color: #b58900;
|
21
|
+
}
|
22
|
+
.o, .ow {
|
23
|
+
color: #93a1a1;
|
24
|
+
}
|
25
|
+
.p, .pi {
|
26
|
+
color: #93a1a1;
|
27
|
+
}
|
28
|
+
.gi {
|
29
|
+
color: #859900;
|
30
|
+
}
|
31
|
+
.gd {
|
32
|
+
color: #dc322f;
|
33
|
+
}
|
34
|
+
.gh {
|
35
|
+
color: #268bd2;
|
36
|
+
// background-color: #002b36;
|
37
|
+
font-weight: bold;
|
38
|
+
}
|
39
|
+
.k, .kn, .kp, .kr, .kv {
|
40
|
+
color: #6c71c4;
|
41
|
+
}
|
42
|
+
.kc {
|
43
|
+
color: #cb4b16;
|
44
|
+
}
|
45
|
+
.kt {
|
46
|
+
color: #cb4b16;
|
47
|
+
}
|
48
|
+
.kd {
|
49
|
+
color: #cb4b16;
|
50
|
+
}
|
51
|
+
.s, .sb, .sc, .dl, .sd, .s2, .sh, .sx, .s1 {
|
52
|
+
color: #859900;
|
53
|
+
}
|
54
|
+
.sa {
|
55
|
+
color: #6c71c4;
|
56
|
+
}
|
57
|
+
.sr {
|
58
|
+
color: #2aa198;
|
59
|
+
}
|
60
|
+
.si {
|
61
|
+
color: #d33682;
|
62
|
+
}
|
63
|
+
.se {
|
64
|
+
color: #d33682;
|
65
|
+
}
|
66
|
+
.nn {
|
67
|
+
color: #b58900;
|
68
|
+
}
|
69
|
+
.nc {
|
70
|
+
color: #b58900;
|
71
|
+
}
|
72
|
+
.no {
|
73
|
+
color: #b58900;
|
74
|
+
}
|
75
|
+
.na {
|
76
|
+
color: #268bd2;
|
77
|
+
}
|
78
|
+
.m, .mb, .mf, .mh, .mi, .il, .mo, .mx {
|
79
|
+
color: #859900;
|
80
|
+
}
|
81
|
+
.ss {
|
82
|
+
color: #859900;
|
83
|
+
}
|
84
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
//
|
2
|
+
// Buttons and things that look like buttons
|
3
|
+
//
|
4
|
+
|
5
|
+
.btn {
|
6
|
+
@include fs-6;
|
7
|
+
display: flex; // transform animation breaks without this on theme-colors and graph-type...
|
8
|
+
cursor: pointer;
|
9
|
+
user-select: none;
|
10
|
+
padding: $sp-2;
|
11
|
+
transition: all .2s ease-in-out;
|
12
|
+
|
13
|
+
// suppress default html button attributes
|
14
|
+
border: none;
|
15
|
+
background: none;
|
16
|
+
|
17
|
+
&:hover {
|
18
|
+
transform: scale(1.5);
|
19
|
+
}
|
20
|
+
|
21
|
+
/* Hide the browser's default checkbox */
|
22
|
+
input {
|
23
|
+
opacity: 0;
|
24
|
+
height: 0;
|
25
|
+
width: 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
&--small {
|
29
|
+
@include fs-5;
|
30
|
+
}
|
31
|
+
|
32
|
+
&--blue {
|
33
|
+
filter: drop-shadow(0 0 0.8mm $drop-shadow-blue);
|
34
|
+
}
|
35
|
+
|
36
|
+
&--brown {
|
37
|
+
filter: drop-shadow(0 0 0.8mm $drop-shadow-brown);
|
38
|
+
}
|
39
|
+
|
40
|
+
&--green {
|
41
|
+
filter: drop-shadow(0 0 0.8mm $drop-shadow-green);
|
42
|
+
}
|
43
|
+
|
44
|
+
&--orange {
|
45
|
+
filter: drop-shadow(0 0 0.8mm $drop-shadow-orange);
|
46
|
+
}
|
47
|
+
|
48
|
+
&--purple {
|
49
|
+
filter: drop-shadow(0 0 0.8mm $drop-shadow-purple);
|
50
|
+
}
|
51
|
+
|
52
|
+
&--red {
|
53
|
+
filter: drop-shadow(0 0 0.8mm $drop-shadow-red);
|
54
|
+
}
|
55
|
+
|
56
|
+
&--yellow {
|
57
|
+
filter: drop-shadow(0 0 0.8mm $drop-shadow-yellow);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.bonsai-burger-nav {
|
62
|
+
// fix in corner
|
63
|
+
position: fixed;
|
64
|
+
z-index: $z-burger;
|
65
|
+
right: $sp-2;
|
66
|
+
bottom: $sp-4;
|
67
|
+
// flex contents
|
68
|
+
display: flex;
|
69
|
+
flex-direction: column;
|
70
|
+
// interaction
|
71
|
+
cursor: pointer;
|
72
|
+
user-select: none;
|
73
|
+
filter: drop-shadow(0 0 0.7mm $drop-shadow-green);
|
74
|
+
|
75
|
+
/* Hide the browser's default checkbox */
|
76
|
+
input {
|
77
|
+
opacity: 0;
|
78
|
+
height: 0;
|
79
|
+
width: 0;
|
80
|
+
}
|
81
|
+
|
82
|
+
#nav-bonsai {
|
83
|
+
margin-left: 5px;
|
84
|
+
}
|
85
|
+
|
86
|
+
#nav-base {
|
87
|
+
margin-left: 20px;
|
88
|
+
margin-right: 20px;
|
89
|
+
transition: all .2s ease-in-out;
|
90
|
+
|
91
|
+
&:hover {
|
92
|
+
transform: scale(1.25);
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
// infobox styles
|
2
|
+
// the infobox is meant to be placed inside of a container of the
|
3
|
+
// parent layout. (often named &__infobox)
|
4
|
+
//
|
5
|
+
// appears in:
|
6
|
+
// - entry
|
7
|
+
// - post
|
8
|
+
|
9
|
+
.infobox {
|
10
|
+
display: flex;
|
11
|
+
flex-direction: column;
|
12
|
+
// todo: separate scroll for infobox...
|
13
|
+
// ...but it didn't feel quite right...
|
14
|
+
// ...commenting out for now.
|
15
|
+
// max-height: 100vh;
|
16
|
+
// overflow-y: scroll;
|
17
|
+
|
18
|
+
&__img {
|
19
|
+
align-self: center;
|
20
|
+
padding: $sp-3;
|
21
|
+
height: 70%;
|
22
|
+
width: 70%;
|
23
|
+
|
24
|
+
&--cover {
|
25
|
+
align-self: center;
|
26
|
+
padding: $sp-3;
|
27
|
+
height: 300px;
|
28
|
+
width: 200px;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
&__bar {
|
33
|
+
display: flex;
|
34
|
+
justify-content: center;
|
35
|
+
align-items: center;
|
36
|
+
}
|
37
|
+
|
38
|
+
&__link-nav {
|
39
|
+
width: 100%;
|
40
|
+
}
|
41
|
+
|
42
|
+
&__sem-tags {
|
43
|
+
display: flex;
|
44
|
+
justify-content: center;
|
45
|
+
flex-wrap: wrap;
|
46
|
+
padding: $sp-2;
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
// complex list item styles
|
2
|
+
|
3
|
+
.item {
|
4
|
+
display: flex;
|
5
|
+
justify-content: space-between;
|
6
|
+
padding: $sp-2;
|
7
|
+
|
8
|
+
&__status {
|
9
|
+
@include fs-3;
|
10
|
+
display: flex;
|
11
|
+
justify-content: center;
|
12
|
+
width: 15%;
|
13
|
+
}
|
14
|
+
|
15
|
+
&__text {
|
16
|
+
// is a flex item
|
17
|
+
flex-grow: 1;
|
18
|
+
align-items: center;
|
19
|
+
// is a flex container
|
20
|
+
display: flex;
|
21
|
+
justify-content: space-between;
|
22
|
+
|
23
|
+
&--big {
|
24
|
+
@include fs-5;
|
25
|
+
padding-left: $sp-3;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
//
|
2
|
+
// Search
|
3
|
+
//
|
4
|
+
|
5
|
+
.search {
|
6
|
+
display: none;
|
7
|
+
position: absolute;
|
8
|
+
z-index: $z-nav-search;
|
9
|
+
height: 100vh;
|
10
|
+
width: 100%;
|
11
|
+
padding-top: $sp-10;
|
12
|
+
|
13
|
+
&__input {
|
14
|
+
position: absolute;
|
15
|
+
z-index: $z-nav-search;
|
16
|
+
height: 35px;
|
17
|
+
width: 100%;
|
18
|
+
margin-left: $sp-2;
|
19
|
+
margin-right: $sp-2;
|
20
|
+
margin-top: $sp-10;
|
21
|
+
margin-bottom: $sp-10;
|
22
|
+
}
|
23
|
+
|
24
|
+
&__results {
|
25
|
+
position: relative;
|
26
|
+
height: 100vh;
|
27
|
+
overflow-y: scroll;
|
28
|
+
width: 100%;
|
29
|
+
padding-top: $sp-8;
|
30
|
+
color: var(--body-text-color);
|
31
|
+
background-color: transparent;
|
32
|
+
|
33
|
+
a {
|
34
|
+
color: var(--body-text-color);
|
35
|
+
text-decoration: none;
|
36
|
+
&:hover {
|
37
|
+
color: var(--body-text-color-hover);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
ul {
|
42
|
+
display: absolute;
|
43
|
+
padding-top: $sp-10;
|
44
|
+
padding-bottom: $sp-10;
|
45
|
+
background-color: transparent;
|
46
|
+
|
47
|
+
li {
|
48
|
+
@include fs-2;
|
49
|
+
padding: $sp-1;
|
50
|
+
margin: $sp-2;
|
51
|
+
border-radius: $sp-2;
|
52
|
+
cursor: pointer;
|
53
|
+
user-select: none;
|
54
|
+
|
55
|
+
&:hover {
|
56
|
+
background: var(--accent-light-color);
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
// tag pill styles
|
2
|
+
// (for semantic tags)
|
3
|
+
|
4
|
+
.tag-pill {
|
5
|
+
white-space: nowrap;
|
6
|
+
padding: $sp-2;
|
7
|
+
margin: $sp-2;
|
8
|
+
border-radius: 15px;
|
9
|
+
color: var(--wiki-link-color);
|
10
|
+
background-color: $transparent;
|
11
|
+
border: 1px solid var(--accent-light-color);
|
12
|
+
|
13
|
+
&:hover {
|
14
|
+
background-color: var(--accent-light-color);
|
15
|
+
}
|
16
|
+
|
17
|
+
&.disabled {
|
18
|
+
color: var(--tag-disabled-color);
|
19
|
+
|
20
|
+
&:hover {
|
21
|
+
background-color: var(--accent-dark-color);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
//
|
2
|
+
// Visited Nav
|
3
|
+
//
|
4
|
+
|
5
|
+
// visited nav (user-steps)
|
6
|
+
|
7
|
+
.visited-nav {
|
8
|
+
position: relative;
|
9
|
+
z-index: $z-nav-content;
|
10
|
+
height: 100vh;
|
11
|
+
width: 100%;
|
12
|
+
padding-top: $sp-10;
|
13
|
+
padding-bottom: $sp-10;
|
14
|
+
overflow-y: scroll;
|
15
|
+
|
16
|
+
ul {
|
17
|
+
|
18
|
+
li {
|
19
|
+
@include fs-5;
|
20
|
+
padding-left: $sp-4;
|
21
|
+
padding-left: $sp-4;
|
22
|
+
margin-top: $sp-3;
|
23
|
+
margin-bottom: $sp-3;
|
24
|
+
margin-left: auto;
|
25
|
+
margin-right: auto;
|
26
|
+
// both animation and transform rely on this transition setting (according to: https://stackoverflow.com/a/20903041)
|
27
|
+
transition: all 0.15s ease-in-out;
|
28
|
+
width: 40%;
|
29
|
+
|
30
|
+
&:hover {
|
31
|
+
transform: scale(1.1);
|
32
|
+
}
|
33
|
+
|
34
|
+
@include mq(md) {
|
35
|
+
width: 80%;
|
36
|
+
}
|
37
|
+
// button {
|
38
|
+
// justify-content: flex-end;
|
39
|
+
// }
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
// anchor heading styles
|
2
|
+
|
3
|
+
.anchor-heading {
|
4
|
+
position: absolute;
|
5
|
+
width: $sp-5;
|
6
|
+
height: 100%;
|
7
|
+
padding-right: $sp-1;
|
8
|
+
padding-left: $sp-2;
|
9
|
+
overflow: visible;
|
10
|
+
|
11
|
+
@include mq(md) {
|
12
|
+
padding-left: $sp-2;
|
13
|
+
}
|
14
|
+
|
15
|
+
.anchor-tag {
|
16
|
+
@include fs-3;
|
17
|
+
display: flex;
|
18
|
+
opacity: 0;
|
19
|
+
|
20
|
+
&:hover {
|
21
|
+
filter: drop-shadow(0 0 0.7mm $drop-shadow-yellow);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.anchor-heading:hover,
|
27
|
+
h1:hover > .anchor-heading,
|
28
|
+
h2:hover > .anchor-heading,
|
29
|
+
h3:hover > .anchor-heading,
|
30
|
+
h4:hover > .anchor-heading,
|
31
|
+
h5:hover > .anchor-heading,
|
32
|
+
h6:hover > .anchor-heading {
|
33
|
+
.anchor-tag {
|
34
|
+
opacity: 1;
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
//
|
2
|
+
// scss for cookie-consent -related things
|
3
|
+
//
|
4
|
+
|
5
|
+
#cookie-consent {
|
6
|
+
display: none;
|
7
|
+
align-items: center;
|
8
|
+
position: fixed;
|
9
|
+
bottom: 0;
|
10
|
+
z-index: $z-modal;
|
11
|
+
width: 80%;
|
12
|
+
padding: $sp-4;
|
13
|
+
margin: $sp-3;
|
14
|
+
text-align: center;
|
15
|
+
color: var(--body-text-color);
|
16
|
+
background: var(--accent-dark-color);
|
17
|
+
border-radius: $sp-3;
|
18
|
+
box-shadow: 0 1px 2px rgba(var(--box-shadow-color), 0.12), 0 3px 10px rgba(var(--box-shadow-color), 0.08);
|
19
|
+
|
20
|
+
@include mq(md) {
|
21
|
+
max-width: 60%;
|
22
|
+
margin-left: $nav-width-md;
|
23
|
+
}
|
24
|
+
|
25
|
+
@include mq(lg) {
|
26
|
+
max-width: $content-width;
|
27
|
+
margin-left: $nav-width-lg;
|
28
|
+
}
|
29
|
+
|
30
|
+
& a {
|
31
|
+
display: inline-block;
|
32
|
+
cursor: pointer;
|
33
|
+
}
|
34
|
+
|
35
|
+
#cookie-consent-response-accept {
|
36
|
+
@include fs-6;
|
37
|
+
}
|
38
|
+
|
39
|
+
#cookie-consent-hmm {
|
40
|
+
@include fs-8;
|
41
|
+
}
|
42
|
+
|
43
|
+
#cookie-consent-response-reject {
|
44
|
+
@include fs-2;
|
45
|
+
}
|
46
|
+
}
|