jekyll-bonsai 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +676 -0
  3. data/README.md +2 -6
  4. data/_config.yml +173 -76
  5. data/_data/emoji.yml +45 -0
  6. data/_data/themes.yml +145 -0
  7. data/_includes/anchor-headings.html +5 -1
  8. data/_includes/btn_state.html +14 -0
  9. data/_includes/connect.html +11 -9
  10. data/_includes/cookie-consent.html +79 -0
  11. data/_includes/dates.html +22 -0
  12. data/_includes/hp-tooltip.html +106 -0
  13. data/_includes/img/bullet-net-web.svg +1 -1
  14. data/_includes/img/bullet-tree.svg +1 -1
  15. data/_includes/img/pencil-filter.svg +17 -0
  16. data/_includes/share.html +10 -8
  17. data/_includes/site-nav.html +83 -37
  18. data/_includes/themes.scss.liquid +80 -0
  19. data/_includes/toc.html +187 -0
  20. data/_layouts/404.html +10 -0
  21. data/_layouts/about.html +14 -0
  22. data/_layouts/archive.html +77 -0
  23. data/_layouts/base.html +68 -0
  24. data/_layouts/book.html +49 -0
  25. data/_layouts/entry.html +221 -93
  26. data/_layouts/home.html +96 -0
  27. data/_layouts/post.html +40 -22
  28. data/_layouts/privacy.html +15 -0
  29. data/_layouts/recent.html +65 -0
  30. data/_layouts/state.html +54 -43
  31. data/_sass/base/_code.scss +133 -0
  32. data/_sass/base/_layout.scss +30 -29
  33. data/_sass/base/_link.scss +105 -0
  34. data/_sass/base/_main.scss +19 -126
  35. data/_sass/base/_markdown.scss +281 -0
  36. data/_sass/base/_typography.scss +81 -67
  37. data/_sass/base/code_themes/_gruvbox.scss +92 -0
  38. data/_sass/base/code_themes/_monokai.scss +217 -0
  39. data/_sass/base/code_themes/_solarized.scss +84 -0
  40. data/_sass/components/_btn.scss +95 -0
  41. data/_sass/components/_infobox.scss +48 -0
  42. data/_sass/components/_item.scss +28 -0
  43. data/_sass/components/_search.scss +61 -0
  44. data/_sass/components/_tag_pills.scss +24 -0
  45. data/_sass/components/_visited.scss +42 -0
  46. data/_sass/includes/_anchor_headings.scss +36 -0
  47. data/_sass/includes/_connect.scss +8 -0
  48. data/_sass/includes/_cookie_consent.scss +46 -0
  49. data/_sass/includes/_dates.scss +6 -0
  50. data/_sass/includes/_hp_tooltip.scss +41 -0
  51. data/_sass/includes/_share.scss +10 -0
  52. data/_sass/includes/_site_nav.scss +26 -150
  53. data/_sass/includes/_svg.scss +89 -0
  54. data/_sass/includes/_toc.scss +38 -0
  55. data/_sass/layouts/_404.scss +3 -0
  56. data/_sass/layouts/_about.scss +3 -0
  57. data/_sass/layouts/_archive.scss +26 -0
  58. data/_sass/layouts/_book.scss +17 -0
  59. data/_sass/layouts/_entry.scss +140 -0
  60. data/_sass/layouts/_home.scss +75 -0
  61. data/_sass/layouts/_post.scss +17 -0
  62. data/_sass/layouts/_privacy.scss +3 -0
  63. data/_sass/layouts/_recent.scss +77 -0
  64. data/_sass/layouts/_state.scss +98 -0
  65. data/_sass/main.scss +72 -0
  66. data/_sass/{support → util}/_functions.scss +0 -0
  67. data/_sass/{support → util}/_variables.scss +21 -87
  68. data/_sass/{support → util}/mixins/_buttons.scss +0 -0
  69. data/_sass/util/mixins/_layout.scss +81 -0
  70. data/_sass/{support → util}/mixins/_typography.scss +0 -0
  71. data/assets/css/styles.scss +29 -6
  72. data/assets/img/bonsai-star.png +0 -0
  73. data/assets/img/bonsai-star.svg +1 -0
  74. data/assets/img/nav-base-star.svg +1 -0
  75. data/assets/img/nav-bonsai-star.svg +1 -0
  76. data/assets/js/entry.js +33 -5
  77. data/assets/js/graph.js +21 -509
  78. data/assets/js/scripts.js +41 -57
  79. data/assets/js/search.js +164 -0
  80. data/assets/js/site-nav.js +99 -99
  81. data/assets/js/theme-colors.js +23 -37
  82. data/assets/js/vendor/lunr.js +3475 -0
  83. data/assets/js/vendor/lunr.min.js +6 -0
  84. data/assets/js/visited-nav.js +65 -0
  85. metadata +143 -150
  86. data/_entries/digital-garden.bonsai.md +0 -36
  87. data/_entries/digital-garden.field-logs.md +0 -10
  88. data/_entries/digital-garden.fork.md +0 -10
  89. data/_entries/digital-garden.md +0 -17
  90. data/_entries/digital-garden.path.md +0 -11
  91. data/_entries/digital-garden.plants.md +0 -12
  92. data/_entries/digital-garden.pollinate.md +0 -10
  93. data/_entries/digital-garden.steps.md +0 -10
  94. data/_entries/digital-garden.stream.md +0 -12
  95. data/_entries/digital-garden.sweep.md +0 -12
  96. data/_entries/digital-garden.weather.md +0 -12
  97. data/_entries/features.md +0 -10
  98. data/_entries/features.notes.hover-preview.md +0 -10
  99. data/_entries/features.notes.md +0 -12
  100. data/_entries/features.notes.note-body.md +0 -12
  101. data/_entries/features.notes.note-body.share.md +0 -10
  102. data/_entries/features.notes.note-body.sidenotes.md +0 -52
  103. data/_entries/features.notes.note-foot.links.md +0 -10
  104. data/_entries/features.notes.note-foot.md +0 -11
  105. data/_entries/features.notes.note-foot.posts.md +0 -10
  106. data/_entries/features.notes.note-foot.webmentions.md +0 -10
  107. data/_entries/features.notes.note-head.md +0 -10
  108. data/_entries/features.pages.field-blogs.md +0 -10
  109. data/_entries/features.pages.md +0 -12
  110. data/_entries/features.pages.recent.md +0 -10
  111. data/_entries/features.pages.status-tags.md +0 -10
  112. data/_entries/features.site-nav.graph.links.md +0 -10
  113. data/_entries/features.site-nav.graph.links.namespacing.md +0 -14
  114. data/_entries/features.site-nav.graph.links.wikilinks.md +0 -25
  115. data/_entries/features.site-nav.graph.md +0 -12
  116. data/_entries/features.site-nav.graph.nodes.current-note.md +0 -10
  117. data/_entries/features.site-nav.graph.nodes.md +0 -12
  118. data/_entries/features.site-nav.graph.nodes.mia.missing-note.md +0 -20
  119. data/_entries/features.site-nav.graph.nodes.visited-status.md +0 -10
  120. data/_entries/features.site-nav.graph.toggle-graph.md +0 -13
  121. data/_entries/features.site-nav.graph.type.md +0 -16
  122. data/_entries/features.site-nav.graph.type.net-web.md +0 -10
  123. data/_entries/features.site-nav.graph.type.tree.md +0 -12
  124. data/_entries/features.site-nav.md +0 -10
  125. data/_entries/features.site-nav.visited.md +0 -14
  126. data/_entries/features.tags.md +0 -13
  127. data/_entries/features.themes.dark.md +0 -12
  128. data/_entries/features.themes.light.md +0 -10
  129. data/_entries/features.themes.md +0 -12
  130. data/_entries/features.visited.delete-data.md +0 -10
  131. data/_entries/features.visited.md +0 -12
  132. data/_entries/features.visitor-preferences.md +0 -27
  133. data/_entries/feedback.md +0 -10
  134. data/_entries/people.creator.md +0 -12
  135. data/_entries/people.md +0 -13
  136. data/_entries/people.visitors.md +0 -12
  137. data/_entries/plugins.jekyll-wikilinks.md +0 -10
  138. data/_entries/plugins.md +0 -10
  139. data/_entries/root.md +0 -26
  140. data/_includes/entry-attrs.html +0 -27
  141. data/_includes/head.html +0 -23
  142. data/_includes/hover-preview.html +0 -84
  143. data/_includes/metrics.html +0 -10
  144. data/_includes/styles.scss.liquid +0 -3
  145. data/_layouts/default.html +0 -39
  146. data/_pages/about.md +0 -7
  147. data/_pages/posts.html +0 -19
  148. data/_pages/recent.html +0 -48
  149. data/_plugins/doc_filters.rb +0 -44
  150. data/_plugins/prep_entry.rb +0 -43
  151. data/_plugins/sidenote.rb +0 -123
  152. data/_plugins/tags.rb +0 -52
  153. data/_sass/base/base.scss +0 -3
  154. data/_sass/color/dark.scss +0 -58
  155. data/_sass/color/light.scss +0 -58
  156. data/_sass/includes/_btn.scss +0 -106
  157. data/_sass/includes/_graph.scss +0 -69
  158. data/_sass/includes/_nav.scss +0 -89
  159. data/_sass/includes/_tooltip.scss +0 -29
  160. data/_sass/includes/includes.scss +0 -9
  161. data/_sass/markdown/_code.scss +0 -340
  162. data/_sass/markdown/_content.scss +0 -400
  163. data/_sass/markdown/_tables.scss +0 -60
  164. data/_sass/markdown/markdown.scss +0 -7
  165. data/_sass/modules.scss +0 -14
  166. data/_sass/pages/_index.scss +0 -72
  167. data/_sass/pages/_posts.scss +0 -17
  168. data/_sass/pages/_recent.scss +0 -26
  169. data/_sass/pages/_state.scss +0 -72
  170. data/_sass/pages/pages.scss +0 -4
  171. data/_sass/support/mixins/_layout.scss +0 -56
  172. data/_sass/support/mixins/mixins.scss +0 -3
  173. data/_sass/support/support.scss +0 -3
  174. data/_states/bamboo.md +0 -8
  175. data/_states/berry.md +0 -8
  176. data/_states/bloom.md +0 -8
  177. data/_states/bud.md +0 -6
  178. data/_states/fruit.md +0 -8
  179. data/_states/melon.md +0 -8
  180. data/_states/pot-bamboo.md +0 -8
  181. data/_states/seed.md +0 -8
  182. data/_states/sprout.md +0 -8
  183. data/_states/tags.md +0 -8
  184. data/_states/tea.md +0 -8
  185. data/assets/css/styles-dark.scss +0 -3
  186. data/assets/css/styles-light.scss +0 -3
  187. data/assets/img/nav-dot-dark.svg +0 -1
  188. data/assets/img/nav-dot-light.svg +0 -1
  189. data/assets/img/nav-wiki-links-dark.svg +0 -1
  190. data/assets/img/nav-wiki-links-light.svg +0 -1
  191. data/index.html +0 -82
@@ -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,8 @@
1
+ .connect-bar{
2
+ text-align: left;
3
+ padding-left: $sp-3;
4
+
5
+ & .connect-icon {
6
+ user-select: none;
7
+ }
8
+ }
@@ -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
+ }
@@ -0,0 +1,6 @@
1
+ .dates {
2
+ display: flex;
3
+ flex-direction: column;
4
+ text-align: center;
5
+ margin: $sp-2;
6
+ }