jekyll-bonsai 0.0.3 → 0.0.7
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 +3 -5
- 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/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 +238 -93
- data/_layouts/home.html +96 -0
- data/_layouts/post.html +30 -22
- data/_layouts/privacy.html +15 -0
- data/_layouts/recent.html +66 -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/books/the-ancient-art-of-bonsai.png +0 -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 +165 -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 +145 -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
@@ -0,0 +1,41 @@
|
|
1
|
+
// "hover-preview tooltip"
|
2
|
+
|
3
|
+
.hp-tooltip {
|
4
|
+
@include fs-2;
|
5
|
+
display: none;
|
6
|
+
overflow: hidden;
|
7
|
+
position: absolute;
|
8
|
+
width: 400px;
|
9
|
+
height: 250px;
|
10
|
+
z-index: $z-tooltip;
|
11
|
+
padding: 2em; // don't use sass spacing variables -- it makes hover preview buggy.
|
12
|
+
border: 1px solid var(--accent-light-color);
|
13
|
+
border-radius: 15px;
|
14
|
+
background: var(--body-background-color);
|
15
|
+
opacity: 0;
|
16
|
+
box-shadow: 0 1px 2px rgba(var(--box-shadow-color), 0.12), 0 3px 10px rgba(var(--box-shadow-color), 0.08);
|
17
|
+
|
18
|
+
h1, h2, h3, h4, h5, h6 {
|
19
|
+
@include fs-7;
|
20
|
+
margin-top: 0;
|
21
|
+
margin-bottom: 0;
|
22
|
+
}
|
23
|
+
|
24
|
+
&:after {
|
25
|
+
content: "";
|
26
|
+
position: absolute;
|
27
|
+
bottom: 0;
|
28
|
+
left: 0;
|
29
|
+
width: 100%;
|
30
|
+
height: 75px;
|
31
|
+
z-index: 5;
|
32
|
+
pointer-events: none;
|
33
|
+
background-image: linear-gradient(to bottom, rgba(0,0,0,0), var(--body-background-color) 90%);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
#hp-iframe {
|
38
|
+
display: none;
|
39
|
+
height: 0;
|
40
|
+
width: 0;
|
41
|
+
}
|
@@ -1,186 +1,62 @@
|
|
1
|
-
// site (bonsai/garden)
|
1
|
+
// site nav (bonsai/garden) -- which houses the 'jekyll-graph'
|
2
2
|
|
3
3
|
.site-nav {
|
4
|
-
display: none;
|
5
|
-
width: 100%;
|
6
|
-
|
7
|
-
&.nav-open {
|
8
|
-
display: flex;
|
9
|
-
height: 100vh;
|
10
|
-
width: 100vw;
|
11
|
-
}
|
12
|
-
|
13
|
-
@include mq(md) {
|
14
|
-
display: block;
|
15
|
-
flex: 1 1 auto;
|
16
|
-
}
|
17
4
|
|
18
5
|
header {
|
19
|
-
@include fs-5;
|
20
|
-
display: flex;
|
21
|
-
justify-content: flex-start;
|
22
6
|
position: absolute;
|
7
|
+
z-index: $z-nav-component;
|
23
8
|
top: 0;
|
24
|
-
width: 100%;
|
25
|
-
z-index: 4;
|
26
9
|
padding: $sp-2;
|
27
|
-
|
10
|
+
@include fs-5;
|
11
|
+
display: flex;
|
12
|
+
justify-content: flex-start;
|
28
13
|
cursor: pointer;
|
29
14
|
user-select: none;
|
30
15
|
}
|
31
16
|
|
32
17
|
footer {
|
33
18
|
position: absolute;
|
34
|
-
|
35
|
-
z-index: 4;
|
19
|
+
z-index: $z-nav-component;
|
36
20
|
bottom: 0;
|
37
21
|
left: 0;
|
38
22
|
padding: $sp-3;
|
39
23
|
}
|
40
24
|
}
|
41
25
|
|
42
|
-
|
43
|
-
border: none;
|
44
|
-
background: none;
|
45
|
-
}
|
26
|
+
// site-nav components
|
46
27
|
|
47
|
-
.dropdown
|
48
|
-
display: flex;
|
49
|
-
flex-direction: column;
|
50
|
-
}
|
51
|
-
|
52
|
-
.dropdown-content {
|
53
|
-
display: none;
|
54
|
-
}
|
55
|
-
|
56
|
-
.dropdown-btn {
|
57
|
-
@include fs-6;
|
58
|
-
display: flex;
|
59
|
-
cursor: pointer;
|
60
|
-
user-select: none;
|
61
|
-
padding: $sp-2;
|
28
|
+
.dropdown {
|
62
29
|
border: none;
|
63
30
|
background: none;
|
64
|
-
display: table-cell;
|
65
|
-
vertical-align: middle;
|
66
|
-
filter: drop-shadow(0 0 0.8mm $drop-shadow-blue);
|
67
|
-
}
|
68
31
|
|
69
|
-
.dropbtn {
|
70
|
-
@include fs-6;
|
71
|
-
cursor: pointer;
|
72
|
-
user-select: none;
|
73
|
-
padding: $sp-2;
|
74
|
-
transition: all .2s ease-in-out;
|
75
|
-
border: none;
|
76
|
-
background: none;
|
77
|
-
display: table-cell;
|
78
|
-
vertical-align: middle;
|
79
|
-
transition: all .2s ease-in-out;
|
80
|
-
|
81
32
|
&:hover {
|
82
|
-
|
83
|
-
|
33
|
+
display: flex;
|
34
|
+
flex-direction: column;
|
84
35
|
|
85
|
-
|
86
|
-
|
36
|
+
.dropdown__content {
|
37
|
+
display: flex;
|
38
|
+
flex-direction: column;
|
39
|
+
}
|
87
40
|
}
|
88
41
|
|
89
|
-
|
42
|
+
&__btn {
|
43
|
+
@include fs-6;
|
44
|
+
cursor: pointer;
|
45
|
+
user-select: none;
|
46
|
+
padding: $sp-2;
|
47
|
+
|
48
|
+
// suppress default html button attributes
|
49
|
+
border: none;
|
50
|
+
background: none;
|
51
|
+
|
90
52
|
filter: drop-shadow(0 0 0.8mm $drop-shadow-blue);
|
91
53
|
}
|
92
|
-
|
93
|
-
#stat-tags-emoji-span {
|
94
|
-
filter: drop-shadow(0 0 0.8mm $drop-shadow-brown);
|
95
|
-
}
|
96
|
-
}
|
97
|
-
|
98
|
-
.site-nav-btn {
|
99
|
-
@include fs-6;
|
100
|
-
display: flex;
|
101
|
-
cursor: pointer;
|
102
|
-
user-select: none;
|
103
|
-
padding: $sp-2;
|
104
|
-
transition: all .2s ease-in-out;
|
105
|
-
border: none;
|
106
|
-
background: none;
|
107
|
-
display: table-cell;
|
108
|
-
vertical-align: middle;
|
109
|
-
|
110
|
-
&:hover {
|
111
|
-
transform: scale(1.5);
|
112
|
-
}
|
113
|
-
|
114
|
-
#search-emoji-span {
|
115
|
-
filter: drop-shadow(0 0 0.8mm $drop-shadow-brown);
|
116
|
-
}
|
117
|
-
|
118
|
-
#visited-emoji-span {
|
119
|
-
filter: drop-shadow(0 0 0.8mm $drop-shadow-orange);
|
120
|
-
}
|
121
|
-
}
|
122
|
-
|
123
|
-
.delete-btn {
|
124
|
-
@include fs-3;
|
125
|
-
display: flex;
|
126
|
-
cursor: pointer;
|
127
|
-
user-select: none;
|
128
|
-
transition: all .2s ease-in-out;
|
129
|
-
border: none;
|
130
|
-
background: none;
|
131
|
-
display: table-cell;
|
132
|
-
vertical-align: middle;
|
133
54
|
|
134
|
-
|
135
|
-
|
136
|
-
}
|
137
|
-
|
138
|
-
#delete-emoji-span {
|
139
|
-
filter: drop-shadow(0 0 0.8mm $drop-shadow-red);
|
55
|
+
&__content {
|
56
|
+
display: none;
|
140
57
|
}
|
141
58
|
}
|
142
59
|
|
143
|
-
// visited nav (user-path)
|
144
|
-
|
145
|
-
.visited-nav {
|
146
|
-
z-index: 3;
|
147
|
-
position:relative;
|
148
|
-
height: 100%;
|
149
|
-
width: 100%;
|
150
|
-
padding-top: $sp-10;
|
151
|
-
padding-bottom: $sp-10;
|
152
|
-
overflow-y: scroll;
|
153
|
-
|
154
|
-
.visited-nav-list {
|
155
|
-
padding-left: $sp-1 !important;
|
156
|
-
list-style: none;
|
157
|
-
|
158
|
-
.visited-nav-list-item {
|
159
|
-
@include fs-4;
|
160
|
-
display: flex;
|
161
|
-
width: 80%;
|
162
|
-
padding: $sp-2;
|
163
|
-
margin-top: $sp-2;
|
164
|
-
margin-bottom: $sp-2;
|
165
|
-
border-radius: 16px;
|
166
|
-
// both animation and transform rely on this transition setting (according to: https://stackoverflow.com/a/20903041)
|
167
|
-
transition: all 0.15s ease-in-out;
|
168
|
-
|
169
|
-
&:hover {
|
170
|
-
transform: scale(1.1);
|
171
|
-
}
|
172
|
-
|
173
|
-
&::before {
|
174
|
-
content: "🥾";
|
175
|
-
}
|
176
|
-
|
177
|
-
button {
|
178
|
-
justify-content: flex-end;
|
179
|
-
}
|
180
|
-
}
|
181
|
-
}
|
182
|
-
}
|
183
|
-
|
184
60
|
.hide {
|
185
61
|
position: absolute !important;
|
186
62
|
top: -9999px !important;
|
@@ -0,0 +1,89 @@
|
|
1
|
+
//
|
2
|
+
// svg imgs
|
3
|
+
//
|
4
|
+
|
5
|
+
// bullet icons
|
6
|
+
|
7
|
+
.bullet-link {
|
8
|
+
stroke: var(--bullet-link);
|
9
|
+
}
|
10
|
+
|
11
|
+
.bullet-node {
|
12
|
+
fill: var(--bullet-node);
|
13
|
+
}
|
14
|
+
|
15
|
+
// pencil textured svgs
|
16
|
+
|
17
|
+
.pencil-yellow,
|
18
|
+
.pencil-blue,
|
19
|
+
.pencil-green {
|
20
|
+
fill: none;
|
21
|
+
stroke-miterlimit: 10;
|
22
|
+
stroke-width: 10px;
|
23
|
+
}
|
24
|
+
|
25
|
+
// fill
|
26
|
+
|
27
|
+
.pencil-fill-default {
|
28
|
+
fill: var(--pencil-fill-default);
|
29
|
+
}
|
30
|
+
|
31
|
+
.pencil-fill-default {
|
32
|
+
fill: var(--pencil-fill-default);
|
33
|
+
}
|
34
|
+
|
35
|
+
.pencil-fill-blue {
|
36
|
+
fill: var(--pencil-fill-blue);
|
37
|
+
}
|
38
|
+
|
39
|
+
.pencil-fill-green {
|
40
|
+
fill: var(--pencil-fill-green);
|
41
|
+
}
|
42
|
+
|
43
|
+
.pencil-fill-red {
|
44
|
+
fill: var(--pencil-fill-red);
|
45
|
+
}
|
46
|
+
|
47
|
+
.pencil-fill-yellow {
|
48
|
+
fill: var(--pencil-fill-yellow);
|
49
|
+
}
|
50
|
+
|
51
|
+
// stroke
|
52
|
+
.pencil-stroke {
|
53
|
+
fill: none;
|
54
|
+
stroke-miterlimit: 10;
|
55
|
+
stroke-width: 10px;
|
56
|
+
}
|
57
|
+
|
58
|
+
.pencil-stroke-dash {
|
59
|
+
stroke-dasharray: 12.50 12.50;
|
60
|
+
}
|
61
|
+
|
62
|
+
.pencil-stroke-default {
|
63
|
+
stroke: var(--pencil-stroke-default);
|
64
|
+
}
|
65
|
+
|
66
|
+
.pencil-stroke-blue {
|
67
|
+
stroke: var(--pencil-stroke-blue);
|
68
|
+
}
|
69
|
+
|
70
|
+
.pencil-stroke-green {
|
71
|
+
stroke: var(--pencil-stroke-green);
|
72
|
+
}
|
73
|
+
|
74
|
+
.pencil-stroke-red {
|
75
|
+
stroke: var(--pencil-stroke-red);
|
76
|
+
}
|
77
|
+
|
78
|
+
.pencil-stroke-yellow {
|
79
|
+
stroke: var(--pencil-stroke-yellow);
|
80
|
+
}
|
81
|
+
|
82
|
+
.pencil-txt {
|
83
|
+
font-family: BradleyHandITCTT-Bold, Bradley Hand;
|
84
|
+
font-size: 52px;
|
85
|
+
}
|
86
|
+
|
87
|
+
.pencil-txt-sm {
|
88
|
+
font-size: 27px;
|
89
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
// table-of-contents styles
|
2
|
+
// (not nesting due to include's format)
|
3
|
+
|
4
|
+
.toc {
|
5
|
+
display: flex;
|
6
|
+
justify-content: center;
|
7
|
+
padding: $sp-3;
|
8
|
+
|
9
|
+
&__list {
|
10
|
+
margin-bottom: 0;
|
11
|
+
}
|
12
|
+
|
13
|
+
&__list-item {
|
14
|
+
@include fs-4;
|
15
|
+
|
16
|
+
&::before {
|
17
|
+
content: "•" !important;
|
18
|
+
padding-right: $sp-3;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
&__anchor {
|
23
|
+
color: var(--wiki-link-color);
|
24
|
+
text-decoration: none;
|
25
|
+
background-image: linear-gradient(var(--wiki-link-underline-color) 0%, var(--wiki-link-underline-color) 100%);
|
26
|
+
background-repeat: repeat-x;
|
27
|
+
background-position: 0 100%;
|
28
|
+
background-size: 1px 1px;
|
29
|
+
|
30
|
+
&:hover {
|
31
|
+
background-image: linear-gradient(
|
32
|
+
rgba(var(--wiki-link-color), 0.45) 0%,
|
33
|
+
rgba(var(--wiki-link-color), 0.45) 100%
|
34
|
+
);
|
35
|
+
background-size: 1px 1px;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
//
|
2
|
+
// scss for posts page
|
3
|
+
//
|
4
|
+
|
5
|
+
.archive {
|
6
|
+
@include container-narrow;
|
7
|
+
|
8
|
+
&__title {
|
9
|
+
display: flex;
|
10
|
+
justify-content: space-around;
|
11
|
+
padding: $sp-3;
|
12
|
+
// text-align: center;
|
13
|
+
}
|
14
|
+
|
15
|
+
&__list {
|
16
|
+
padding-bottom: $sp-3;
|
17
|
+
padding-top: $sp-3;
|
18
|
+
padding-left: $sp-6;
|
19
|
+
padding-right: $sp-6;
|
20
|
+
}
|
21
|
+
|
22
|
+
&__item {
|
23
|
+
display: flex;
|
24
|
+
justify-content: space-between;
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,140 @@
|
|
1
|
+
// entry page styles
|
2
|
+
|
3
|
+
.entry {
|
4
|
+
|
5
|
+
&__header {
|
6
|
+
width: 100%;
|
7
|
+
display: flex;
|
8
|
+
align-items: center;
|
9
|
+
|
10
|
+
&--fix-hrz-scroll {
|
11
|
+
// fixes horizontal scroll
|
12
|
+
// from: https://stackoverflow.com/questions/45280943/horizontal-scroll-breaks-when-using-css-flexbox
|
13
|
+
overflow:hidden;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
// this container duplication is necessary so the infobox behavior works
|
18
|
+
// (...i think)
|
19
|
+
|
20
|
+
&__title {
|
21
|
+
@include container-narrow;
|
22
|
+
margin-bottom: $sp-2;
|
23
|
+
}
|
24
|
+
|
25
|
+
&__infobox {
|
26
|
+
@include infobox-container;
|
27
|
+
padding: $sp-3;
|
28
|
+
margin-bottom: $sp-3;
|
29
|
+
}
|
30
|
+
|
31
|
+
&__body {
|
32
|
+
@include container-narrow;
|
33
|
+
}
|
34
|
+
|
35
|
+
&__footer {
|
36
|
+
@include container-narrow;
|
37
|
+
}
|
38
|
+
|
39
|
+
&__section-wrapper { // specifically for the footer sections...
|
40
|
+
margin-top: $sp-6;
|
41
|
+
margin-bottom: $sp-6;
|
42
|
+
display: flex;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
// header
|
47
|
+
|
48
|
+
.breadcrumb {
|
49
|
+
align-self: center;
|
50
|
+
// horizontal scroll on overflow
|
51
|
+
overflow-x: scroll;
|
52
|
+
white-space: nowrap;
|
53
|
+
|
54
|
+
ol {
|
55
|
+
display: flex;
|
56
|
+
// remove 'ol' defaults
|
57
|
+
padding-left: 0;
|
58
|
+
margin-bottom: 0;
|
59
|
+
margin-top: 0;
|
60
|
+
list-style: none;
|
61
|
+
|
62
|
+
li {
|
63
|
+
@include fs-2;
|
64
|
+
display: flex;
|
65
|
+
padding-left: $sp-1;
|
66
|
+
padding-right: $sp-1;
|
67
|
+
|
68
|
+
&::before {
|
69
|
+
display: none;
|
70
|
+
}
|
71
|
+
|
72
|
+
.stat-tag {
|
73
|
+
padding-right: $sp-1;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
// aside
|
80
|
+
|
81
|
+
.link-map {
|
82
|
+
display: flex;
|
83
|
+
flex-direction: column;
|
84
|
+
text-align: center;
|
85
|
+
|
86
|
+
&__type {
|
87
|
+
text-align: center;
|
88
|
+
}
|
89
|
+
|
90
|
+
&__wrapper {
|
91
|
+
display: grid;
|
92
|
+
}
|
93
|
+
|
94
|
+
&__key {
|
95
|
+
grid-column-start: 1;
|
96
|
+
align-self: center;
|
97
|
+
text-align: right;
|
98
|
+
}
|
99
|
+
|
100
|
+
&__value {
|
101
|
+
grid-column-start: 2;
|
102
|
+
align-self: center;
|
103
|
+
text-align: left;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
// footer
|
108
|
+
|
109
|
+
.link-box {
|
110
|
+
width: 100%;
|
111
|
+
|
112
|
+
&__partition {
|
113
|
+
width: 100%;
|
114
|
+
padding-left: $sp-2;
|
115
|
+
padding-right: $sp-2;
|
116
|
+
}
|
117
|
+
|
118
|
+
&__type {
|
119
|
+
@include fs-6;
|
120
|
+
display: inline-block;
|
121
|
+
width: 100%;
|
122
|
+
text-align: center;
|
123
|
+
}
|
124
|
+
|
125
|
+
ul {
|
126
|
+
display: block; // columns require block
|
127
|
+
column-count: 2;
|
128
|
+
column-width: $content-width / 6;
|
129
|
+
padding-left: 0;
|
130
|
+
|
131
|
+
li {
|
132
|
+
padding: $sp-1;
|
133
|
+
max-width: $content-width / 4;
|
134
|
+
// hide overflowing text
|
135
|
+
overflow: hidden;
|
136
|
+
white-space: nowrap;
|
137
|
+
text-overflow: ellipsis;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
//
|
2
|
+
// scss for index
|
3
|
+
//
|
4
|
+
|
5
|
+
.home {
|
6
|
+
@include container-narrow;
|
7
|
+
padding: $sp-5;
|
8
|
+
|
9
|
+
.lead {
|
10
|
+
padding: $sp-2;
|
11
|
+
|
12
|
+
&__img {
|
13
|
+
text-align: center;
|
14
|
+
padding: $sp-6;
|
15
|
+
|
16
|
+
&--size {
|
17
|
+
height: 45%;
|
18
|
+
width: 45%;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
&__title {
|
23
|
+
text-align: center;
|
24
|
+
padding: $sp-1;
|
25
|
+
}
|
26
|
+
|
27
|
+
&__content {
|
28
|
+
text-align: left;
|
29
|
+
padding: $sp-4;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.featured-wrap {
|
34
|
+
|
35
|
+
@include mq(md) {
|
36
|
+
display: flex;
|
37
|
+
}
|
38
|
+
|
39
|
+
& > * {
|
40
|
+
margin: $sp-1;
|
41
|
+
|
42
|
+
@include mq(md) {
|
43
|
+
flex-basis: 100%;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.featured {
|
50
|
+
@include mq(md) {
|
51
|
+
display: flex;
|
52
|
+
flex-direction: column;
|
53
|
+
}
|
54
|
+
|
55
|
+
&__header {
|
56
|
+
text-align: left;
|
57
|
+
padding-left: $sp-3;
|
58
|
+
}
|
59
|
+
|
60
|
+
&__content {
|
61
|
+
padding: $sp-2;
|
62
|
+
}
|
63
|
+
|
64
|
+
&__footer {
|
65
|
+
@include fs-2;
|
66
|
+
color: $accent-txt-color;
|
67
|
+
text-align: right;
|
68
|
+
padding-bottom: $sp-3;
|
69
|
+
|
70
|
+
@include mq(md) {
|
71
|
+
text-align: center;
|
72
|
+
margin-top: auto;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|