jekyll-bonsai 0.0.3 → 0.0.4
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 +4 -4
- data/LICENSE +676 -0
- data/README.md +2 -6
- data/_config.yml +173 -76
- data/_data/emoji.yml +45 -0
- data/_data/themes.yml +145 -0
- data/_includes/anchor-headings.html +5 -1
- data/_includes/btn_state.html +14 -0
- data/_includes/connect.html +11 -9
- data/_includes/cookie-consent.html +79 -0
- data/_includes/dates.html +22 -0
- data/_includes/hp-tooltip.html +106 -0
- data/_includes/img/bullet-net-web.svg +1 -1
- data/_includes/img/bullet-tree.svg +1 -1
- data/_includes/img/pencil-filter.svg +17 -0
- data/_includes/share.html +10 -8
- data/_includes/site-nav.html +83 -37
- 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 +49 -0
- data/_layouts/entry.html +221 -93
- data/_layouts/home.html +96 -0
- data/_layouts/post.html +40 -22
- data/_layouts/privacy.html +15 -0
- data/_layouts/recent.html +65 -0
- data/_layouts/state.html +54 -43
- data/_sass/base/_code.scss +133 -0
- data/_sass/base/_layout.scss +30 -29
- data/_sass/base/_link.scss +105 -0
- data/_sass/base/_main.scss +19 -126
- data/_sass/base/_markdown.scss +281 -0
- data/_sass/base/_typography.scss +81 -67
- 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 +26 -150
- 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 +140 -0
- data/_sass/layouts/_home.scss +75 -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 +72 -0
- data/_sass/{support → util}/_functions.scss +0 -0
- data/_sass/{support → util}/_variables.scss +21 -87
- data/_sass/{support → util}/mixins/_buttons.scss +0 -0
- data/_sass/util/mixins/_layout.scss +81 -0
- data/_sass/{support → util}/mixins/_typography.scss +0 -0
- data/assets/css/styles.scss +29 -6
- data/assets/img/bonsai-star.png +0 -0
- data/assets/img/bonsai-star.svg +1 -0
- data/assets/img/nav-base-star.svg +1 -0
- data/assets/img/nav-bonsai-star.svg +1 -0
- data/assets/js/entry.js +33 -5
- data/assets/js/graph.js +21 -509
- data/assets/js/scripts.js +41 -57
- data/assets/js/search.js +164 -0
- data/assets/js/site-nav.js +99 -99
- data/assets/js/theme-colors.js +23 -37
- 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 +143 -150
- data/_entries/digital-garden.bonsai.md +0 -36
- data/_entries/digital-garden.field-logs.md +0 -10
- data/_entries/digital-garden.fork.md +0 -10
- data/_entries/digital-garden.md +0 -17
- data/_entries/digital-garden.path.md +0 -11
- data/_entries/digital-garden.plants.md +0 -12
- data/_entries/digital-garden.pollinate.md +0 -10
- data/_entries/digital-garden.steps.md +0 -10
- data/_entries/digital-garden.stream.md +0 -12
- data/_entries/digital-garden.sweep.md +0 -12
- data/_entries/digital-garden.weather.md +0 -12
- data/_entries/features.md +0 -10
- data/_entries/features.notes.hover-preview.md +0 -10
- data/_entries/features.notes.md +0 -12
- data/_entries/features.notes.note-body.md +0 -12
- data/_entries/features.notes.note-body.share.md +0 -10
- data/_entries/features.notes.note-body.sidenotes.md +0 -52
- data/_entries/features.notes.note-foot.links.md +0 -10
- data/_entries/features.notes.note-foot.md +0 -11
- data/_entries/features.notes.note-foot.posts.md +0 -10
- data/_entries/features.notes.note-foot.webmentions.md +0 -10
- data/_entries/features.notes.note-head.md +0 -10
- data/_entries/features.pages.field-blogs.md +0 -10
- data/_entries/features.pages.md +0 -12
- data/_entries/features.pages.recent.md +0 -10
- data/_entries/features.pages.status-tags.md +0 -10
- data/_entries/features.site-nav.graph.links.md +0 -10
- data/_entries/features.site-nav.graph.links.namespacing.md +0 -14
- data/_entries/features.site-nav.graph.links.wikilinks.md +0 -25
- data/_entries/features.site-nav.graph.md +0 -12
- data/_entries/features.site-nav.graph.nodes.current-note.md +0 -10
- data/_entries/features.site-nav.graph.nodes.md +0 -12
- data/_entries/features.site-nav.graph.nodes.mia.missing-note.md +0 -20
- data/_entries/features.site-nav.graph.nodes.visited-status.md +0 -10
- data/_entries/features.site-nav.graph.toggle-graph.md +0 -13
- data/_entries/features.site-nav.graph.type.md +0 -16
- data/_entries/features.site-nav.graph.type.net-web.md +0 -10
- data/_entries/features.site-nav.graph.type.tree.md +0 -12
- data/_entries/features.site-nav.md +0 -10
- data/_entries/features.site-nav.visited.md +0 -14
- data/_entries/features.tags.md +0 -13
- data/_entries/features.themes.dark.md +0 -12
- data/_entries/features.themes.light.md +0 -10
- data/_entries/features.themes.md +0 -12
- data/_entries/features.visited.delete-data.md +0 -10
- data/_entries/features.visited.md +0 -12
- data/_entries/features.visitor-preferences.md +0 -27
- data/_entries/feedback.md +0 -10
- data/_entries/people.creator.md +0 -12
- data/_entries/people.md +0 -13
- data/_entries/people.visitors.md +0 -12
- data/_entries/plugins.jekyll-wikilinks.md +0 -10
- data/_entries/plugins.md +0 -10
- data/_entries/root.md +0 -26
- data/_includes/entry-attrs.html +0 -27
- data/_includes/head.html +0 -23
- data/_includes/hover-preview.html +0 -84
- data/_includes/metrics.html +0 -10
- data/_includes/styles.scss.liquid +0 -3
- data/_layouts/default.html +0 -39
- data/_pages/about.md +0 -7
- data/_pages/posts.html +0 -19
- data/_pages/recent.html +0 -48
- data/_plugins/doc_filters.rb +0 -44
- data/_plugins/prep_entry.rb +0 -43
- data/_plugins/sidenote.rb +0 -123
- data/_plugins/tags.rb +0 -52
- data/_sass/base/base.scss +0 -3
- data/_sass/color/dark.scss +0 -58
- data/_sass/color/light.scss +0 -58
- data/_sass/includes/_btn.scss +0 -106
- data/_sass/includes/_graph.scss +0 -69
- data/_sass/includes/_nav.scss +0 -89
- data/_sass/includes/_tooltip.scss +0 -29
- data/_sass/includes/includes.scss +0 -9
- data/_sass/markdown/_code.scss +0 -340
- data/_sass/markdown/_content.scss +0 -400
- data/_sass/markdown/_tables.scss +0 -60
- data/_sass/markdown/markdown.scss +0 -7
- data/_sass/modules.scss +0 -14
- data/_sass/pages/_index.scss +0 -72
- data/_sass/pages/_posts.scss +0 -17
- data/_sass/pages/_recent.scss +0 -26
- data/_sass/pages/_state.scss +0 -72
- data/_sass/pages/pages.scss +0 -4
- data/_sass/support/mixins/_layout.scss +0 -56
- data/_sass/support/mixins/mixins.scss +0 -3
- data/_sass/support/support.scss +0 -3
- data/_states/bamboo.md +0 -8
- data/_states/berry.md +0 -8
- data/_states/bloom.md +0 -8
- data/_states/bud.md +0 -6
- data/_states/fruit.md +0 -8
- data/_states/melon.md +0 -8
- data/_states/pot-bamboo.md +0 -8
- data/_states/seed.md +0 -8
- data/_states/sprout.md +0 -8
- data/_states/tags.md +0 -8
- data/_states/tea.md +0 -8
- data/assets/css/styles-dark.scss +0 -3
- data/assets/css/styles-light.scss +0 -3
- data/assets/img/nav-dot-dark.svg +0 -1
- data/assets/img/nav-dot-light.svg +0 -1
- data/assets/img/nav-wiki-links-dark.svg +0 -1
- data/assets/img/nav-wiki-links-light.svg +0 -1
- data/index.html +0 -82
data/_sass/base/_main.scss
CHANGED
@@ -8,8 +8,7 @@
|
|
8
8
|
}
|
9
9
|
|
10
10
|
::selection {
|
11
|
-
|
12
|
-
background: #E6E09E;
|
11
|
+
background: var(--selection-color);
|
13
12
|
}
|
14
13
|
|
15
14
|
html {
|
@@ -21,8 +20,8 @@ body {
|
|
21
20
|
font-family: $body-font-family;
|
22
21
|
font-size: inherit;
|
23
22
|
line-height: $body-line-height;
|
24
|
-
color:
|
25
|
-
background-color:
|
23
|
+
color: var(--body-text-color);
|
24
|
+
background-color: var(--body-background-color);
|
26
25
|
}
|
27
26
|
|
28
27
|
ol,
|
@@ -46,11 +45,11 @@ h3,
|
|
46
45
|
h4,
|
47
46
|
h5,
|
48
47
|
h6 {
|
49
|
-
margin-top: 0;
|
50
|
-
margin-bottom: 1em;
|
48
|
+
// margin-top: 0;
|
49
|
+
// margin-bottom: 1em;
|
51
50
|
font-weight: 500;
|
52
51
|
line-height: $body-heading-line-height;
|
53
|
-
color:
|
52
|
+
color: var(--small-heading-color);
|
54
53
|
}
|
55
54
|
|
56
55
|
p {
|
@@ -58,27 +57,6 @@ p {
|
|
58
57
|
margin-bottom: 1em;
|
59
58
|
}
|
60
59
|
|
61
|
-
a {
|
62
|
-
color: $link-color;
|
63
|
-
text-decoration: none;
|
64
|
-
}
|
65
|
-
|
66
|
-
a:not([class]) {
|
67
|
-
text-decoration: none;
|
68
|
-
background-image: linear-gradient($border-color 0%, $border-color 100%);
|
69
|
-
background-repeat: repeat-x;
|
70
|
-
background-position: 0 100%;
|
71
|
-
background-size: 1px 1px;
|
72
|
-
|
73
|
-
&:hover {
|
74
|
-
background-image: linear-gradient(
|
75
|
-
rgba($link-color, 0.45) 0%,
|
76
|
-
rgba($link-color, 0.45) 100%
|
77
|
-
);
|
78
|
-
background-size: 1px 1px;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
60
|
code {
|
83
61
|
font-family: $mono-font-family;
|
84
62
|
font-size: 0.75em;
|
@@ -90,8 +68,18 @@ pre {
|
|
90
68
|
margin: 0;
|
91
69
|
}
|
92
70
|
|
93
|
-
|
94
|
-
margin: 0
|
71
|
+
ul {
|
72
|
+
margin-bottom: 0;
|
73
|
+
padding: $sp-2;
|
74
|
+
|
75
|
+
li {
|
76
|
+
padding: $sp-1;
|
77
|
+
list-style-type: none !important;
|
78
|
+
|
79
|
+
&::before {
|
80
|
+
content: "" !important;
|
81
|
+
}
|
82
|
+
}
|
95
83
|
}
|
96
84
|
|
97
85
|
img {
|
@@ -103,101 +91,6 @@ hr {
|
|
103
91
|
height: 1px;
|
104
92
|
padding: 0;
|
105
93
|
margin: $sp-6 0;
|
106
|
-
background-color:
|
94
|
+
background-color: var(--accent-light-color);
|
107
95
|
border: 0;
|
108
96
|
}
|
109
|
-
|
110
|
-
// wiki-link classes
|
111
|
-
|
112
|
-
.invalid-wiki-link {
|
113
|
-
color: $grey-dk-000;
|
114
|
-
background: $invalid-wiki-link-color;
|
115
|
-
cursor: help;
|
116
|
-
}
|
117
|
-
|
118
|
-
.wiki-link {
|
119
|
-
color: $wiki-link-color;
|
120
|
-
}
|
121
|
-
|
122
|
-
.wiki-link-embed {
|
123
|
-
position: relative;
|
124
|
-
border: 1px solid $separator-color;
|
125
|
-
border-radius: 15px;
|
126
|
-
padding: $sp-3;
|
127
|
-
|
128
|
-
.wiki-link-embed-title {
|
129
|
-
@include fs-6;
|
130
|
-
padding-top: $sp-3;
|
131
|
-
padding-left: $sp-3;
|
132
|
-
}
|
133
|
-
|
134
|
-
.wiki-link-embed-content {
|
135
|
-
padding: $sp-3;
|
136
|
-
}
|
137
|
-
|
138
|
-
.wiki-link-embed-link {
|
139
|
-
position: absolute;
|
140
|
-
top: 1em;
|
141
|
-
right: 1em;
|
142
|
-
|
143
|
-
&::before {
|
144
|
-
content: "🥾";
|
145
|
-
}
|
146
|
-
|
147
|
-
&:hover {
|
148
|
-
filter: drop-shadow(0 0 0.8mm $drop-shadow-brown);
|
149
|
-
}
|
150
|
-
}
|
151
|
-
}
|
152
|
-
|
153
|
-
.wiki-link-img {
|
154
|
-
width: 50px;
|
155
|
-
height: 50px;
|
156
|
-
}
|
157
|
-
|
158
|
-
.sem-tag {
|
159
|
-
@include fs-2;
|
160
|
-
padding: $sp-2;
|
161
|
-
border: 1px solid $separator-color;
|
162
|
-
border-radius: 15px;
|
163
|
-
color: $wiki-link-color;
|
164
|
-
|
165
|
-
&:hover {
|
166
|
-
background-color: $base-button-color;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
|
170
|
-
.stat-tag {
|
171
|
-
filter: drop-shadow(0 0 0.2mm $drop-shadow-green);
|
172
|
-
}
|
173
|
-
|
174
|
-
.infobox {
|
175
|
-
@include fs-2;
|
176
|
-
float: right;
|
177
|
-
margin-left: $sp-2;
|
178
|
-
margin-right: $sp-2;
|
179
|
-
padding-left: $sp-3;
|
180
|
-
padding-right: $sp-3;
|
181
|
-
padding-top: $sp-3;
|
182
|
-
border: 1px solid $separator-color;
|
183
|
-
border-radius: 15px;
|
184
|
-
|
185
|
-
.title {
|
186
|
-
text-align: center;
|
187
|
-
margin-top: 0;
|
188
|
-
}
|
189
|
-
|
190
|
-
ul {
|
191
|
-
padding: 0 !important;
|
192
|
-
padding-left: $sp-2 !important;
|
193
|
-
padding-right: $sp-2 !important;
|
194
|
-
|
195
|
-
li {
|
196
|
-
list-style-type: none !important;
|
197
|
-
|
198
|
-
&::before {
|
199
|
-
content: "" !important;
|
200
|
-
}
|
201
|
-
}
|
202
|
-
}
|
203
|
-
}
|
@@ -0,0 +1,281 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
//
|
4
|
+
// Styles for rendered markdown in the .main-content container
|
5
|
+
//
|
6
|
+
// stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type
|
7
|
+
|
8
|
+
.markdown {
|
9
|
+
line-height: $content-line-height;
|
10
|
+
|
11
|
+
ol,
|
12
|
+
ul,
|
13
|
+
dl,
|
14
|
+
pre,
|
15
|
+
address,
|
16
|
+
blockquote,
|
17
|
+
.table-wrapper {
|
18
|
+
margin-top: 0.5em;
|
19
|
+
}
|
20
|
+
|
21
|
+
a {
|
22
|
+
overflow: hidden;
|
23
|
+
text-overflow: ellipsis;
|
24
|
+
white-space: nowrap;
|
25
|
+
|
26
|
+
&.web-link:after {
|
27
|
+
@include fs-3;
|
28
|
+
font-family: $mono-font-family;
|
29
|
+
position: relative;
|
30
|
+
top: -0.5em; // sass variable not working here
|
31
|
+
content: "↗";
|
32
|
+
color: #aaaaaa;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
ul,
|
37
|
+
ol {
|
38
|
+
padding-left: 1.5em;
|
39
|
+
}
|
40
|
+
|
41
|
+
li {
|
42
|
+
.highlight {
|
43
|
+
margin-top: $sp-1;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
ol {
|
48
|
+
list-style-type: none;
|
49
|
+
counter-reset: step-counter;
|
50
|
+
|
51
|
+
> li {
|
52
|
+
position: relative;
|
53
|
+
|
54
|
+
&::before {
|
55
|
+
position: absolute;
|
56
|
+
top: 0.2em;
|
57
|
+
left: -1.6em;
|
58
|
+
color: $accent-txt-color;
|
59
|
+
content: counter(step-counter);
|
60
|
+
counter-increment: step-counter;
|
61
|
+
@include fs-3;
|
62
|
+
|
63
|
+
@include mq(sm) {
|
64
|
+
top: 0.11em;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
ol {
|
69
|
+
counter-reset: sub-counter;
|
70
|
+
|
71
|
+
li {
|
72
|
+
&::before {
|
73
|
+
content: counter(sub-counter, lower-alpha);
|
74
|
+
counter-increment: sub-counter;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
ul {
|
82
|
+
margin-top: 0;
|
83
|
+
list-style: none !important;
|
84
|
+
|
85
|
+
> li {
|
86
|
+
&::before {
|
87
|
+
position: absolute;
|
88
|
+
margin-left: -1.4em;
|
89
|
+
color: $accent-txt-color;
|
90
|
+
content: "•" !important;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.task-list {
|
96
|
+
padding-left: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
.task-list-item {
|
100
|
+
display: flex;
|
101
|
+
align-items: center;
|
102
|
+
|
103
|
+
&::before {
|
104
|
+
content: "";
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
.task-list-item-checkbox {
|
109
|
+
margin-right: 0.6em;
|
110
|
+
}
|
111
|
+
|
112
|
+
hr {
|
113
|
+
background-color: var(--accent-light-color);
|
114
|
+
|
115
|
+
+ * {
|
116
|
+
margin-top: 0;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
dl {
|
121
|
+
display: grid;
|
122
|
+
grid-template: auto / 10em 1fr;
|
123
|
+
}
|
124
|
+
|
125
|
+
dt,
|
126
|
+
dd {
|
127
|
+
margin: 0.25em 0;
|
128
|
+
}
|
129
|
+
|
130
|
+
dt {
|
131
|
+
grid-column: 1;
|
132
|
+
font-weight: 500;
|
133
|
+
text-align: right;
|
134
|
+
&::after {
|
135
|
+
content: ":";
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
dd {
|
140
|
+
grid-column: 2;
|
141
|
+
margin-bottom: 0;
|
142
|
+
margin-left: 1em;
|
143
|
+
blockquote,
|
144
|
+
div,
|
145
|
+
dl,
|
146
|
+
dt,
|
147
|
+
h1,
|
148
|
+
h2,
|
149
|
+
h3,
|
150
|
+
h4,
|
151
|
+
h5,
|
152
|
+
h6,
|
153
|
+
li,
|
154
|
+
ol,
|
155
|
+
p,
|
156
|
+
pre,
|
157
|
+
table,
|
158
|
+
ul,
|
159
|
+
.table-wrapper {
|
160
|
+
&:first-child {
|
161
|
+
margin-top: 0;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
dd,
|
167
|
+
ol,
|
168
|
+
ul {
|
169
|
+
dl:first-child {
|
170
|
+
dt:first-child,
|
171
|
+
dd:nth-child(2) {
|
172
|
+
margin-top: 0;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
summary {
|
178
|
+
cursor: pointer;
|
179
|
+
}
|
180
|
+
|
181
|
+
h1,
|
182
|
+
h2,
|
183
|
+
h3,
|
184
|
+
h4,
|
185
|
+
h5,
|
186
|
+
h6 {
|
187
|
+
position: relative;
|
188
|
+
margin-top: 0.25em;
|
189
|
+
margin-bottom: 0.25em;
|
190
|
+
|
191
|
+
// &:first-child {
|
192
|
+
// margin-top: $sp-2;
|
193
|
+
// }
|
194
|
+
|
195
|
+
+ table,
|
196
|
+
+ .table-wrapper,
|
197
|
+
+ .code-example,
|
198
|
+
+ .highlighter-rouge {
|
199
|
+
margin-top: 1em;
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
// from:
|
204
|
+
// - https://codepen.io/jimmycow/pen/LmjVaz
|
205
|
+
// - https://codepen.io/JoeHastings/pen/MOdRVm
|
206
|
+
blockquote {
|
207
|
+
@include fs-3;
|
208
|
+
margin: 0;
|
209
|
+
padding: $sp-2;
|
210
|
+
|
211
|
+
border-left: $sp-1 solid var(--accent-light-color);
|
212
|
+
|
213
|
+
& p {
|
214
|
+
padding-left: $sp-6;
|
215
|
+
}
|
216
|
+
|
217
|
+
&:before {
|
218
|
+
@include fs-10;
|
219
|
+
font-family: 'Special Elite', cursive;
|
220
|
+
position: absolute;
|
221
|
+
color: var(--accent-light-color);
|
222
|
+
width: 4rem;
|
223
|
+
height: 4rem;
|
224
|
+
|
225
|
+
content: '“';
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
.footnotes {
|
230
|
+
border-top: double var(--accent-light-color);
|
231
|
+
}
|
232
|
+
|
233
|
+
.footnote, .reversefootnote {
|
234
|
+
color: var(--wiki-link-color);
|
235
|
+
}
|
236
|
+
|
237
|
+
// tables
|
238
|
+
table {
|
239
|
+
display: table;
|
240
|
+
width: 100%;
|
241
|
+
border-collapse: separate;
|
242
|
+
}
|
243
|
+
|
244
|
+
th,
|
245
|
+
td {
|
246
|
+
@include fs-3;
|
247
|
+
min-width: 120px;
|
248
|
+
padding-top: $sp-2;
|
249
|
+
padding-bottom: $sp-2;
|
250
|
+
padding-right: $sp-3;
|
251
|
+
padding-left: $sp-3;
|
252
|
+
background-color: var(--accent-dark-color);
|
253
|
+
border-bottom: $border rgba(var(--accent-light-color), 0.5);
|
254
|
+
border-left: $border var(--accent-light-color);
|
255
|
+
|
256
|
+
&:first-of-type {
|
257
|
+
border-left: 0;
|
258
|
+
}
|
259
|
+
}
|
260
|
+
|
261
|
+
tbody {
|
262
|
+
tr {
|
263
|
+
&:last-of-type {
|
264
|
+
th,
|
265
|
+
td {
|
266
|
+
border-bottom: 0;
|
267
|
+
}
|
268
|
+
|
269
|
+
td {
|
270
|
+
padding-bottom: $sp-3;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
}
|
274
|
+
}
|
275
|
+
|
276
|
+
thead {
|
277
|
+
th {
|
278
|
+
border-bottom: $border var(--accent-light-color);
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
data/_sass/base/_typography.scss
CHANGED
@@ -1,75 +1,89 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
4
|
-
//
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
// font-weight: 400;
|
26
|
-
// text-transform: uppercase;
|
27
|
-
// letter-spacing: 0.1em;
|
28
|
-
// }
|
29
|
-
|
30
|
-
// h4 code {
|
31
|
-
// text-transform: none;
|
32
|
-
// }
|
33
|
-
|
34
|
-
// h5,
|
35
|
-
// .text-epsilon {
|
36
|
-
// @include fs-3;
|
37
|
-
// color: $grey-dk-200;
|
38
|
-
// }
|
39
|
-
|
40
|
-
// h6,
|
41
|
-
// .text-zeta {
|
42
|
-
// @include fs-2;
|
43
|
-
// color: $grey-dk-200;
|
44
|
-
// }
|
45
|
-
|
46
|
-
.missing-entry-txt {
|
47
|
-
@include fs-2;
|
48
|
-
color: $grey-dk-000 !important;
|
49
|
-
pointer-events: none;
|
1
|
+
//
|
2
|
+
// Typography
|
3
|
+
//
|
4
|
+
// stylelint-disable primer/selector-no-utility, primer/no-override, selector-no-type, selector-max-type
|
5
|
+
|
6
|
+
body {
|
7
|
+
line-height: $content-line-height;
|
8
|
+
}
|
9
|
+
|
10
|
+
h1,
|
11
|
+
h2,
|
12
|
+
h3,
|
13
|
+
h4,
|
14
|
+
h5,
|
15
|
+
h6 {
|
16
|
+
position: relative;
|
17
|
+
margin-top: 0.25em;
|
18
|
+
margin-bottom: 0.25em;
|
19
|
+
padding-top: $sp-2;
|
20
|
+
}
|
21
|
+
|
22
|
+
h1,
|
23
|
+
.text-alpha {
|
24
|
+
@include fs-10;
|
50
25
|
}
|
51
26
|
|
52
|
-
|
53
|
-
|
54
|
-
|
27
|
+
h2,
|
28
|
+
.text-beta {
|
29
|
+
@include fs-8;
|
55
30
|
}
|
56
31
|
|
57
|
-
|
58
|
-
|
59
|
-
|
32
|
+
h3,
|
33
|
+
.text-gamma {
|
34
|
+
@include fs-7;
|
35
|
+
}
|
60
36
|
|
61
|
-
|
62
|
-
|
63
|
-
|
37
|
+
h4,
|
38
|
+
.text-delta {
|
39
|
+
@include fs-6;
|
40
|
+
}
|
64
41
|
|
65
|
-
|
66
|
-
|
67
|
-
|
42
|
+
h4 code {
|
43
|
+
text-transform: none;
|
44
|
+
}
|
68
45
|
|
69
|
-
|
70
|
-
|
71
|
-
|
46
|
+
h5,
|
47
|
+
.text-epsilon {
|
48
|
+
@include fs-5;
|
49
|
+
color: $accent-txt-color;
|
50
|
+
}
|
72
51
|
|
73
|
-
|
74
|
-
|
75
|
-
|
52
|
+
h6,
|
53
|
+
.text-zeta {
|
54
|
+
@include fs-4;
|
55
|
+
color: $accent-txt-color;
|
56
|
+
}
|
57
|
+
|
58
|
+
.text {
|
59
|
+
|
60
|
+
&--center {
|
61
|
+
text-align: center !important;
|
62
|
+
}
|
63
|
+
|
64
|
+
&--date {
|
65
|
+
@include fs-4;
|
66
|
+
color: $accent-txt-color;
|
67
|
+
}
|
68
|
+
|
69
|
+
&--small {
|
70
|
+
@include fs-2;
|
71
|
+
color: $accent-txt-color;
|
72
|
+
}
|
73
|
+
|
74
|
+
// &--left {
|
75
|
+
// text-align: left !important;
|
76
|
+
// }
|
77
|
+
|
78
|
+
// &--mono {
|
79
|
+
// font-family: $mono-font-family !important;
|
80
|
+
// }
|
81
|
+
|
82
|
+
&--no-point {
|
83
|
+
pointer-events: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
// &--right {
|
87
|
+
// text-align: right !important;
|
88
|
+
// }
|
89
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
// gruvbox
|
2
|
+
|
3
|
+
.highlight {
|
4
|
+
|
5
|
+
table td { padding: 5px; }
|
6
|
+
table pre { margin: 0; }
|
7
|
+
.w {
|
8
|
+
color: #fbf1c7;
|
9
|
+
// background-color: #282828;
|
10
|
+
}
|
11
|
+
.err {
|
12
|
+
color: #fb4934;
|
13
|
+
// background-color: #282828;
|
14
|
+
font-weight: bold;
|
15
|
+
}
|
16
|
+
.c, .ch, .cd, .cm, .cpf, .c1, .cs {
|
17
|
+
color: #928374;
|
18
|
+
font-style: italic;
|
19
|
+
}
|
20
|
+
.cp {
|
21
|
+
color: #8ec07c;
|
22
|
+
}
|
23
|
+
.nt {
|
24
|
+
color: #fb4934;
|
25
|
+
}
|
26
|
+
.o, .ow {
|
27
|
+
color: #fbf1c7;
|
28
|
+
}
|
29
|
+
.p, .pi {
|
30
|
+
color: #fbf1c7;
|
31
|
+
}
|
32
|
+
.gi {
|
33
|
+
color: #b8bb26;
|
34
|
+
background-color: #282828;
|
35
|
+
}
|
36
|
+
.gd {
|
37
|
+
color: #fb4934;
|
38
|
+
background-color: #282828;
|
39
|
+
}
|
40
|
+
.gh {
|
41
|
+
color: #b8bb26;
|
42
|
+
font-weight: bold;
|
43
|
+
}
|
44
|
+
.k, .kn, .kp, .kr, .kv {
|
45
|
+
color: #fb4934;
|
46
|
+
}
|
47
|
+
.kc {
|
48
|
+
color: #d3869b;
|
49
|
+
}
|
50
|
+
.kt {
|
51
|
+
color: #fabd2f;
|
52
|
+
}
|
53
|
+
.kd {
|
54
|
+
color: #fe8019;
|
55
|
+
}
|
56
|
+
.s, .sb, .sc, .dl, .sd, .s2, .sh, .sx, .s1 {
|
57
|
+
color: #b8bb26;
|
58
|
+
font-style: italic;
|
59
|
+
}
|
60
|
+
.si {
|
61
|
+
color: #b8bb26;
|
62
|
+
font-style: italic;
|
63
|
+
}
|
64
|
+
.sr {
|
65
|
+
color: #b8bb26;
|
66
|
+
font-style: italic;
|
67
|
+
}
|
68
|
+
.sa {
|
69
|
+
color: #fb4934;
|
70
|
+
}
|
71
|
+
.se {
|
72
|
+
color: #fe8019;
|
73
|
+
}
|
74
|
+
.nn {
|
75
|
+
color: #8ec07c;
|
76
|
+
}
|
77
|
+
.nc {
|
78
|
+
color: #8ec07c;
|
79
|
+
}
|
80
|
+
.no {
|
81
|
+
color: #d3869b;
|
82
|
+
}
|
83
|
+
.na {
|
84
|
+
color: #b8bb26;
|
85
|
+
}
|
86
|
+
.m, .mb, .mf, .mh, .mi, .il, .mo, .mx {
|
87
|
+
color: #d3869b;
|
88
|
+
}
|
89
|
+
.ss {
|
90
|
+
color: #83a598;
|
91
|
+
}
|
92
|
+
}
|