jekyll-wikibonsai 0.0.9 → 0.0.11
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-tree.svg +9 -0
- data/_includes/img/bullet-web.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 +152 -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 +84 -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/img/wikibonsai-way.png +0 -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 +139 -5
@@ -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
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
// site nav (bonsai/garden) -- which houses the 'jekyll-graph'
|
2
|
+
|
3
|
+
.site-nav {
|
4
|
+
|
5
|
+
header {
|
6
|
+
position: absolute;
|
7
|
+
z-index: $z-nav-component;
|
8
|
+
top: 0;
|
9
|
+
padding: $sp-2;
|
10
|
+
@include fs-5;
|
11
|
+
display: flex;
|
12
|
+
justify-content: flex-start;
|
13
|
+
cursor: pointer;
|
14
|
+
user-select: none;
|
15
|
+
}
|
16
|
+
|
17
|
+
footer {
|
18
|
+
position: absolute;
|
19
|
+
z-index: $z-nav-component;
|
20
|
+
bottom: 0;
|
21
|
+
left: 0;
|
22
|
+
padding: $sp-3;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
// site-nav components
|
27
|
+
|
28
|
+
.dropdown {
|
29
|
+
border: none;
|
30
|
+
background: none;
|
31
|
+
|
32
|
+
&:hover {
|
33
|
+
display: flex;
|
34
|
+
flex-direction: column;
|
35
|
+
|
36
|
+
.dropdown__content {
|
37
|
+
display: flex;
|
38
|
+
flex-direction: column;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
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
|
+
|
52
|
+
filter: drop-shadow(0 0 0.8mm $drop-shadow-blue);
|
53
|
+
}
|
54
|
+
|
55
|
+
&__content {
|
56
|
+
display: none;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
.hide {
|
61
|
+
position: absolute !important;
|
62
|
+
top: -9999px !important;
|
63
|
+
left: -9999px !important;
|
64
|
+
|
65
|
+
// animation-name: animateShow;
|
66
|
+
// animation-duration: 100ms;
|
67
|
+
// animation-timing-function: ease-in-out;
|
68
|
+
}
|
69
|
+
|
70
|
+
// @keyframes animateHide {
|
71
|
+
// 0% {
|
72
|
+
// opacity: 1;
|
73
|
+
// }
|
74
|
+
|
75
|
+
// 100% {
|
76
|
+
// opacity: 0;
|
77
|
+
// }
|
78
|
+
// }
|
79
|
+
|
80
|
+
// .show {
|
81
|
+
// animation-name: animateShow;
|
82
|
+
// animation-duration: 250ms;
|
83
|
+
// animation-delay: calc(var(--animation-show-order) * 100ms);
|
84
|
+
// animation-fill-mode: both;
|
85
|
+
// animation-timing-function: ease-in-out;
|
86
|
+
// }
|
87
|
+
|
88
|
+
// // from: https://css-tricks.com/different-approaches-for-creating-a-staggered-animation/#how-about-custom-properties
|
89
|
+
// @keyframes animateShow {
|
90
|
+
// 0% {
|
91
|
+
// opacity: 0;
|
92
|
+
// }
|
93
|
+
|
94
|
+
// 100% {
|
95
|
+
// opacity: 1;
|
96
|
+
// }
|
97
|
+
// }
|
@@ -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,152 @@
|
|
1
|
+
// entry page styles
|
2
|
+
|
3
|
+
.entry {
|
4
|
+
|
5
|
+
@include mq(md) {
|
6
|
+
}
|
7
|
+
|
8
|
+
@include mq(lg) {
|
9
|
+
display: grid;
|
10
|
+
grid-template-areas:
|
11
|
+
"header header header"
|
12
|
+
"title title title"
|
13
|
+
"body body infobox"
|
14
|
+
". . infobox"
|
15
|
+
"footer footer footer";
|
16
|
+
grid-template-columns: 1fr auto;
|
17
|
+
}
|
18
|
+
|
19
|
+
&__header {
|
20
|
+
grid-area: header;
|
21
|
+
display: flex;
|
22
|
+
align-items: center;
|
23
|
+
|
24
|
+
&--fix-hrz-scroll {
|
25
|
+
// fixes horizontal scroll
|
26
|
+
// from: https://stackoverflow.com/questions/45280943/horizontal-scroll-breaks-when-using-css-flexbox
|
27
|
+
overflow: hidden;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
&__title {
|
32
|
+
grid-area: title;
|
33
|
+
}
|
34
|
+
|
35
|
+
&__infobox {
|
36
|
+
grid-area: infobox;
|
37
|
+
|
38
|
+
@include infobox-container;
|
39
|
+
padding: $sp-3;
|
40
|
+
margin-bottom: $sp-3;
|
41
|
+
}
|
42
|
+
|
43
|
+
&__body {
|
44
|
+
grid-area: body;
|
45
|
+
}
|
46
|
+
|
47
|
+
&__footer {
|
48
|
+
grid-area: footer;
|
49
|
+
}
|
50
|
+
|
51
|
+
&__section-wrapper { // specifically for the footer sections...
|
52
|
+
margin-top: $sp-6;
|
53
|
+
margin-bottom: $sp-6;
|
54
|
+
display: flex;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
// header
|
59
|
+
|
60
|
+
.breadcrumb {
|
61
|
+
align-self: center;
|
62
|
+
// horizontal scroll on overflow
|
63
|
+
overflow-x: scroll;
|
64
|
+
white-space: nowrap;
|
65
|
+
|
66
|
+
ol {
|
67
|
+
display: flex;
|
68
|
+
// remove 'ol' defaults
|
69
|
+
padding-left: 0;
|
70
|
+
margin-bottom: 0;
|
71
|
+
margin-top: 0;
|
72
|
+
list-style: none;
|
73
|
+
|
74
|
+
li {
|
75
|
+
@include fs-2;
|
76
|
+
display: flex;
|
77
|
+
padding-left: $sp-1;
|
78
|
+
padding-right: $sp-1;
|
79
|
+
|
80
|
+
&::before {
|
81
|
+
display: none;
|
82
|
+
}
|
83
|
+
|
84
|
+
.stat-tag {
|
85
|
+
padding-right: $sp-1;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
// aside
|
92
|
+
|
93
|
+
.link-map {
|
94
|
+
display: flex;
|
95
|
+
flex-direction: column;
|
96
|
+
text-align: center;
|
97
|
+
|
98
|
+
&__type {
|
99
|
+
text-align: center;
|
100
|
+
}
|
101
|
+
|
102
|
+
&__wrapper {
|
103
|
+
display: grid;
|
104
|
+
}
|
105
|
+
|
106
|
+
&__key {
|
107
|
+
grid-column-start: 1;
|
108
|
+
align-self: center;
|
109
|
+
text-align: right;
|
110
|
+
}
|
111
|
+
|
112
|
+
&__value {
|
113
|
+
grid-column-start: 2;
|
114
|
+
align-self: center;
|
115
|
+
text-align: left;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
// footer
|
120
|
+
|
121
|
+
.link-box {
|
122
|
+
width: 100%;
|
123
|
+
|
124
|
+
&__partition {
|
125
|
+
width: 100%;
|
126
|
+
padding-left: $sp-2;
|
127
|
+
padding-right: $sp-2;
|
128
|
+
}
|
129
|
+
|
130
|
+
&__type {
|
131
|
+
@include fs-6;
|
132
|
+
display: inline-block;
|
133
|
+
width: 100%;
|
134
|
+
text-align: center;
|
135
|
+
}
|
136
|
+
|
137
|
+
ul {
|
138
|
+
display: block; // columns require block
|
139
|
+
column-count: 2;
|
140
|
+
column-width: $content-width / 6;
|
141
|
+
padding-left: 0;
|
142
|
+
|
143
|
+
li {
|
144
|
+
padding: $sp-1;
|
145
|
+
max-width: $content-width / 4;
|
146
|
+
// hide overflowing text
|
147
|
+
overflow: hidden;
|
148
|
+
white-space: nowrap;
|
149
|
+
text-overflow: ellipsis;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
@@ -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
|
+
&__content {
|
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
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
//
|
2
|
+
// scss for recent page
|
3
|
+
//
|
4
|
+
|
5
|
+
.recent {
|
6
|
+
@include container-narrow;
|
7
|
+
|
8
|
+
// &__leader {
|
9
|
+
|
10
|
+
// }
|
11
|
+
|
12
|
+
&__content {
|
13
|
+
padding: $sp-4;
|
14
|
+
}
|
15
|
+
|
16
|
+
.leader {
|
17
|
+
display: flex;
|
18
|
+
margin: $sp-2;
|
19
|
+
padding: $sp-2;
|
20
|
+
|
21
|
+
&__content {
|
22
|
+
padding: $sp-2;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.key {
|
27
|
+
@include fs-3;
|
28
|
+
display: flex;
|
29
|
+
flex-direction: column;
|
30
|
+
padding: $sp-4;
|
31
|
+
border: 1px solid var(--accent-light-color);
|
32
|
+
border-radius: 15px;
|
33
|
+
|
34
|
+
width: 90%;
|
35
|
+
|
36
|
+
@include mq(md) {
|
37
|
+
width: 50%;
|
38
|
+
}
|
39
|
+
|
40
|
+
&__title {
|
41
|
+
@include fs-5;
|
42
|
+
text-align: center;
|
43
|
+
}
|
44
|
+
|
45
|
+
&__content {
|
46
|
+
@include fs-4;
|
47
|
+
white-space: nowrap;
|
48
|
+
|
49
|
+
width: 100%;
|
50
|
+
}
|
51
|
+
|
52
|
+
&--right {
|
53
|
+
float: right;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.bullet-scene {
|
58
|
+
display: flex;
|
59
|
+
flex-direction: column;
|
60
|
+
width: 10%;
|
61
|
+
padding: $sp-1;
|
62
|
+
|
63
|
+
&__change-type {
|
64
|
+
@include fs-6;
|
65
|
+
width: 100%;
|
66
|
+
display: flex;
|
67
|
+
justify-content: center;
|
68
|
+
}
|
69
|
+
|
70
|
+
&__status {
|
71
|
+
@include fs-3;
|
72
|
+
width: 100%;
|
73
|
+
display: flex;
|
74
|
+
justify-content: center;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|