jekyll-text-theme 1.5.0 → 2.0.0
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/README.md +41 -153
- data/_data/authors.yml +0 -0
- data/_data/licenses.yml +16 -0
- data/_data/locale.yml +4 -10
- data/_data/navigation.yml +13 -0
- data/_data/variables.yml +22 -6
- data/_includes/analytics-providers/custom.html +0 -0
- data/_includes/analytics-providers/google.html +16 -0
- data/_includes/analytics.html +7 -0
- data/_includes/article-footer/custom.html +1 -0
- data/_includes/article-footer/license.html +24 -0
- data/_includes/article-info.html +90 -0
- data/_includes/aside/toc.html +1 -0
- data/_includes/author-profile.html +50 -0
- data/_includes/comments-providers/custom.html +0 -0
- data/_includes/comments-providers/disqus.html +22 -0
- data/_includes/comments-providers/gitalk.html +32 -0
- data/_includes/comments.html +9 -0
- data/_includes/follow-me.html +84 -0
- data/_includes/footer.html +39 -0
- data/_includes/head.html +54 -0
- data/_includes/header.html +33 -0
- data/_includes/markdown-enhancements.html +32 -0
- data/_includes/{utils → markdown-enhancements}/chart.html +1 -3
- data/_includes/{utils → markdown-enhancements}/mathjax.html +11 -4
- data/_includes/{utils → markdown-enhancements}/mermaid.html +1 -3
- data/_includes/pageview-providers/custom.html +0 -0
- data/_includes/pageview-providers/custom/home.html +0 -0
- data/_includes/pageview-providers/custom/post.html +0 -0
- data/_includes/pageview-providers/leancloud/home.html +35 -0
- data/_includes/pageview-providers/leancloud/leancloud.js +71 -0
- data/_includes/pageview-providers/leancloud/post.html +31 -0
- data/_includes/pageview.html +31 -0
- data/_includes/scripts/archieve.js +238 -0
- data/_includes/scripts/article-list.html +27 -0
- data/_includes/scripts/article.js +24 -0
- data/_includes/scripts/aside/affix.js +26 -0
- data/_includes/scripts/aside/toc.js +37 -0
- data/_includes/scripts/common.js +3 -0
- data/_includes/scripts/home.js +3 -0
- data/_includes/scripts/lib/affix.js +103 -0
- data/_includes/scripts/{utils.html → lib/lazyload.js} +55 -92
- data/_includes/scripts/lib/scroll.js +13 -0
- data/_includes/scripts/lib/throttle.js +28 -0
- data/_includes/scripts/lib/toc.js +106 -0
- data/_includes/scripts/page.js +3 -0
- data/_includes/scripts/sidebar.js +14 -0
- data/_includes/scripts/utils.js +38 -0
- data/_includes/scripts/variables.html +27 -0
- data/_includes/sidebar/toc.html +27 -0
- data/_includes/snippets/assign.html +5 -0
- data/_includes/snippets/get-nav-url.html +3 -2
- data/_includes/snippets/page-title.html +11 -6
- data/_includes/snippets/page-url.html +3 -1
- data/_includes/snippets/to-boolean.html +7 -0
- data/_includes/{icon → svg/icon}/social/behance.svg +0 -0
- data/_includes/{icon → svg/icon}/social/douban.svg +0 -0
- data/_includes/{icon → svg/icon}/social/facebook.svg +0 -0
- data/_includes/{icon → svg/icon}/social/flicker.svg +0 -0
- data/_includes/{icon → svg/icon}/social/github.svg +0 -0
- data/_includes/{icon → svg/icon}/social/googleplus.svg +0 -0
- data/_includes/{icon → svg/icon}/social/linkedin.svg +0 -0
- data/_includes/{icon → svg/icon}/social/mail.svg +0 -0
- data/_includes/{icon → svg/icon}/social/pinterest.svg +0 -0
- data/_includes/{icon → svg/icon}/social/qq.svg +0 -0
- data/_includes/{icon → svg/icon}/social/twitter.svg +0 -0
- data/_includes/{icon → svg/icon}/social/weibo.svg +0 -0
- data/_includes/{icon → svg/icon}/social/weixin.svg +0 -0
- data/_includes/{icon → svg/icon}/social/zhihu.svg +0 -0
- data/_includes/{logo → svg}/logo.svg +1 -1
- data/_includes/tags.html +52 -0
- data/_layouts/404.html +12 -0
- data/_layouts/archive.html +25 -0
- data/_layouts/article.html +78 -0
- data/_layouts/base.html +13 -33
- data/_layouts/home.html +135 -121
- data/_layouts/landing.html +164 -0
- data/_layouts/page.html +157 -9
- data/_sass/additional/_alert.scss +25 -0
- data/_sass/additional/_photo-frame.scss +17 -0
- data/_sass/animate/_fade-in-down.scss +1 -1
- data/_sass/animate/_fade-in.scss +1 -1
- data/_sass/common/_classes.scss +5 -2
- data/_sass/common/_reset.scss +32 -22
- data/_sass/common/_variables.scss +87 -31
- data/_sass/common/classes/_animation.scss +9 -0
- data/_sass/common/classes/_clearfix.scss +8 -0
- data/_sass/common/classes/_grid.scss +48 -0
- data/_sass/common/classes/_horizontal-rules.scss +14 -0
- data/_sass/common/classes/_link.scss +18 -145
- data/_sass/common/classes/_media.scss +1 -2
- data/_sass/common/classes/_overflow.scss +8 -0
- data/_sass/common/classes/_pseudo.scss +26 -0
- data/_sass/common/classes/_shadow.scss +13 -5
- data/_sass/common/classes/_spacing.scss +52 -0
- data/_sass/common/components/_button.scss +179 -47
- data/_sass/common/components/_card.scss +18 -0
- data/_sass/common/components/_menu.scss +43 -0
- data/_sass/common/components/_toc.scss +125 -0
- data/_sass/components/_article.content.scss +37 -45
- data/_sass/components/_article.info.scss +25 -0
- data/_sass/components/_author-profile.scss +43 -0
- data/_sass/components/_follow-me.scss +16 -19
- data/_sass/components/_footer.scss +16 -6
- data/_sass/components/_header.scss +26 -18
- data/_sass/components/_license.scss +1 -25
- data/_sass/components/_main.scss +13 -11
- data/_sass/components/_tags.scss +17 -36
- data/_sass/layout/{_error-404.scss → _404.scss} +2 -2
- data/_sass/layout/_all.scss +72 -63
- data/_sass/layout/_article.scss +44 -0
- data/_sass/layout/_home.scss +61 -52
- data/_sass/layout/_landing.scss +104 -0
- data/_sass/layout/_page.scss +155 -0
- data/_sass/{colors → skins}/_chocolate.scss +17 -6
- data/_sass/skins/_dark.scss +56 -0
- data/_sass/{colors → skins}/_default.scss +16 -5
- data/_sass/{colors → skins}/_forest.scss +16 -5
- data/_sass/{colors → skins}/_ocean.scss +16 -5
- data/_sass/{colors → skins}/_orange.scss +20 -9
- data/assets/android-chrome-192x192.png +0 -0
- data/assets/android-chrome-512x512.png +0 -0
- data/assets/apple-touch-icon.png +0 -0
- data/assets/browserconfig.xml +9 -0
- data/assets/css/main.scss +46 -0
- data/assets/favicon-16x16.png +0 -0
- data/assets/favicon-32x32.png +0 -0
- data/assets/favicon.ico +0 -0
- data/assets/images/logo/logo.svg +1 -1
- data/assets/mstile-144x144.png +0 -0
- data/assets/mstile-150x150.png +0 -0
- data/assets/mstile-310x150.png +0 -0
- data/assets/mstile-310x310.png +0 -0
- data/assets/mstile-70x70.png +0 -0
- data/assets/safari-pinned-tab.svg +38 -0
- data/assets/site.webmanifest +19 -0
- metadata +108 -76
- data/_includes/common-head.html +0 -10
- data/_includes/components/article-data.html +0 -55
- data/_includes/components/follow-me.html +0 -78
- data/_includes/components/footer.html +0 -10
- data/_includes/components/header.html +0 -42
- data/_includes/components/license.html +0 -26
- data/_includes/components/tags.html +0 -52
- data/_includes/head-icons-rel.html +0 -38
- data/_includes/icon/clear.svg +0 -3
- data/_includes/icon/link.svg +0 -1
- data/_includes/icon/menu.svg +0 -3
- data/_includes/icon/next.svg +0 -3
- data/_includes/icon/omit.svg +0 -1
- data/_includes/icon/previous.svg +0 -3
- data/_includes/icon/search.svg +0 -3
- data/_includes/scripts/all.html +0 -244
- data/_includes/scripts/common.html +0 -30
- data/_includes/scripts/data.html +0 -27
- data/_includes/scripts/home.html +0 -26
- data/_includes/scripts/page-post.html +0 -32
- data/_includes/scripts/post.html +0 -183
- data/_includes/utils/comment-disqus.html +0 -19
- data/_includes/utils/comment-gitalk.html +0 -25
- data/_includes/utils/google-analytics.html +0 -11
- data/_layouts/all.html +0 -20
- data/_layouts/error-404.html +0 -9
- data/_layouts/post.html +0 -60
- data/_sass/colors/_dark.scss +0 -45
- data/_sass/common/classes/_shape.scss +0 -19
- data/_sass/common/classes/_space.scss +0 -40
- data/_sass/components/_article.content.extra.scss +0 -41
- data/_sass/components/_article.data.scss +0 -36
- data/_sass/components/_pagination.scss +0 -19
- data/_sass/components/_toc.scss +0 -72
- data/_sass/layout/_default.scss +0 -19
- data/_sass/layout/_post.scss +0 -80
- data/assets/css/blog.scss +0 -41
- data/assets/images/logo/icon-120x120.png +0 -0
- data/assets/images/logo/icon-128x128.png +0 -0
- data/assets/images/logo/icon-150x150.png +0 -0
- data/assets/images/logo/icon-152x152.png +0 -0
- data/assets/images/logo/icon-167x167.png +0 -0
- data/assets/images/logo/icon-16x16.png +0 -0
- data/assets/images/logo/icon-180x180.png +0 -0
- data/assets/images/logo/icon-192x192.png +0 -0
- data/assets/images/logo/icon-310x150.png +0 -0
- data/assets/images/logo/icon-310x310.png +0 -0
- data/assets/images/logo/icon-48x48.png +0 -0
- data/assets/images/logo/icon-70x70.png +0 -0
data/_sass/components/_main.scss
CHANGED
@@ -1,23 +1,25 @@
|
|
1
1
|
.main {
|
2
|
-
box-sizing: border-box;
|
3
2
|
margin: 0 auto;
|
4
3
|
padding: 0 2rem;
|
5
4
|
max-width: map-get($layout, content-max-width);
|
6
|
-
@include media-breakpoint-down(
|
5
|
+
@include media-breakpoint-down(lg) {
|
7
6
|
padding: 0 1rem;
|
8
7
|
}
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
}
|
9
|
+
|
10
|
+
.has-aside {
|
11
|
+
.main {
|
12
|
+
max-width: map-get($layout, content-max-width) + map-get($layout, aside-width);
|
13
|
+
@include media-breakpoint-down(lg) {
|
14
|
+
max-width: map-get($layout, content-max-width);
|
15
|
+
padding: 0 1rem;
|
12
16
|
}
|
13
|
-
margin-top: 2rem;
|
14
17
|
}
|
15
18
|
}
|
16
19
|
|
17
|
-
.
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
padding: 0 1rem;
|
20
|
+
.full-width {
|
21
|
+
.main {
|
22
|
+
max-width: 100%;
|
23
|
+
width: 100%;
|
22
24
|
}
|
23
25
|
}
|
data/_sass/components/_tags.scss
CHANGED
@@ -1,42 +1,23 @@
|
|
1
|
-
.
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
}
|
10
|
-
&.all {
|
11
|
-
@include link-colors($text-color-3, $main-color-3, $text-color-2, $main-color-2, $text-color-2, $main-color-2, $text-color-2, $main-color-2);
|
12
|
-
}
|
13
|
-
& > .tag-count {
|
14
|
-
font-size: map-get($base, font-size-tiny);
|
15
|
-
display: inline-block;
|
16
|
-
line-height: 1;
|
17
|
-
margin-left: .2rem;
|
18
|
-
vertical-align: top;
|
19
|
-
}
|
1
|
+
.site-tags {
|
2
|
+
.tag-button {
|
3
|
+
& > .tag-button__count {
|
4
|
+
font-size: map-get($base, font-size-xs);
|
5
|
+
display: inline-block;
|
6
|
+
line-height: 1;
|
7
|
+
margin-left: .2rem;
|
8
|
+
vertical-align: top;
|
20
9
|
}
|
21
10
|
}
|
22
|
-
.tag-1 {
|
23
|
-
@include
|
24
|
-
background-color: rgba($main-color-1, .4);
|
25
|
-
}
|
11
|
+
.tag-button-1 {
|
12
|
+
@include button-colors($text-color-1, rgba($main-color-1, .4), default, default, $text-color-2,$main-color-2, $text-color-2,$main-color-2);
|
26
13
|
}
|
27
|
-
.tag-2 {
|
28
|
-
@include
|
29
|
-
background-color: rgba($main-color-1, .55);
|
30
|
-
}
|
14
|
+
.tag-button-2 {
|
15
|
+
@include button-colors($text-color-1, rgba($main-color-1, .55), default, default, $text-color-2,$main-color-2, $text-color-2,$main-color-2);
|
31
16
|
}
|
32
|
-
.tag-3 {
|
33
|
-
@include
|
34
|
-
background-color: rgba($main-color-1, .7);
|
35
|
-
}
|
17
|
+
.tag-button-3 {
|
18
|
+
@include button-colors($text-color-1, rgba($main-color-1, .7), default, default, $text-color-2,$main-color-2, $text-color-2,$main-color-2);
|
36
19
|
}
|
37
|
-
.tag-4 {
|
38
|
-
@include
|
39
|
-
background-color: rgba($main-color-1, .9);
|
40
|
-
}
|
20
|
+
.tag-button-4 {
|
21
|
+
@include button-colors($text-color-1, rgba($main-color-1, .9), default, default, $text-color-2,$main-color-2, $text-color-2,$main-color-2);
|
41
22
|
}
|
42
|
-
}
|
23
|
+
}
|
data/_sass/layout/_all.scss
CHANGED
@@ -1,82 +1,91 @@
|
|
1
|
-
.
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
.layout--all {
|
2
|
+
.site-tags {
|
3
|
+
margin-bottom: map-get($base, vertical-space-lg) * 2;
|
4
|
+
display: block;
|
5
|
+
}
|
6
|
+
|
7
|
+
.search-box {
|
8
|
+
position: relative;
|
9
|
+
max-width: 22rem;
|
10
|
+
margin: map-get($base, vertical-space-lg) 0;
|
11
|
+
@include media-breakpoint-down(md) {
|
12
|
+
max-width: none;
|
13
|
+
width: 100%;
|
5
14
|
}
|
6
|
-
& >
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
15
|
+
& > input {
|
16
|
+
border-radius: 2rem;
|
17
|
+
padding: .2rem 1.8rem;
|
18
|
+
@include transition(box-shadow map-get($animation, duration) map-get($animation, timing-function));
|
19
|
+
-webkit-appearance: none; /* fix iOS don't display box-shadow properly */
|
20
|
+
width: 100%;
|
21
|
+
display: inline-block;
|
22
|
+
border: none;
|
23
|
+
margin: 0;
|
24
|
+
background-color: $text-background-color;
|
25
|
+
@include focus() {
|
26
|
+
@include box-shadow();
|
13
27
|
}
|
14
28
|
}
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
29
|
+
& > .icon-search, & > .icon-clear {
|
30
|
+
position: absolute;
|
31
|
+
top: 50%;
|
32
|
+
@include transform(translateY(-50%));
|
33
|
+
display: inline-block;
|
34
|
+
vertical-align: middle;
|
35
|
+
font-size: map-get($base , font-size-sm);
|
36
|
+
}
|
37
|
+
&.not-empty > .icon-clear {
|
19
38
|
display: block;
|
20
39
|
}
|
21
|
-
& > .
|
22
|
-
|
23
|
-
|
24
|
-
@include
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
40
|
+
& > .icon-clear {
|
41
|
+
display: none;
|
42
|
+
right: .8rem;
|
43
|
+
@include link-colors($text-color-l, $text-color-d);
|
44
|
+
}
|
45
|
+
& > .icon-search {
|
46
|
+
left: .5rem;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
& > .layout--all__result {
|
51
|
+
margin: map-get($base, vertical-space-lg) 0;
|
52
|
+
section {
|
53
|
+
&:not(:last-child) {
|
54
|
+
padding: 0 0 .4rem 0;
|
36
55
|
}
|
37
|
-
|
38
|
-
|
39
|
-
@extend %button;
|
40
|
-
@include link-colors($text-color-l, transparent,
|
41
|
-
$text-color-d, transparent, $text-color-d, transparent);
|
56
|
+
.year {
|
57
|
+
font-size: 1.6rem;
|
42
58
|
}
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
59
|
+
ul > li {
|
60
|
+
list-style-type: none;
|
61
|
+
margin: .4rem 0;
|
62
|
+
.date {
|
63
|
+
font-family: map-get($base, font-family-code);
|
64
|
+
display: inline-block;
|
65
|
+
font-size: map-get($base, font-size-sm);
|
66
|
+
color: $text-color-l;
|
67
|
+
padding: 0 1rem 0 0;
|
68
|
+
}
|
69
|
+
.link {
|
70
|
+
font-size: 1rem;
|
71
|
+
@include link-colors($text-color-d, $main-color-1, $main-color-1);
|
47
72
|
}
|
48
|
-
}
|
49
|
-
& > input {
|
50
|
-
@include flex(1);
|
51
|
-
border: none;
|
52
|
-
background-color: transparent;
|
53
73
|
}
|
54
74
|
}
|
55
|
-
|
56
|
-
|
75
|
+
}
|
76
|
+
&.search {
|
77
|
+
& > .site-tags {
|
78
|
+
display: none;
|
79
|
+
}
|
80
|
+
& > .layout--all__result {
|
57
81
|
section {
|
58
|
-
&:not(:last-child) {
|
59
|
-
padding: 0 0 .4rem 0;
|
60
|
-
}
|
61
|
-
.year {
|
62
|
-
font-size: 1.6rem;
|
63
|
-
}
|
64
82
|
ul > li {
|
65
|
-
list-style-type: none;
|
66
|
-
margin: .4rem 0;
|
67
83
|
.date {
|
68
|
-
|
69
|
-
display: inline-block;
|
70
|
-
font-size: map-get($base, font-size-sub);
|
71
|
-
color: $text-color-l;
|
72
|
-
padding: 0 1rem 0 0;
|
73
|
-
}
|
74
|
-
.link {
|
75
|
-
font-size: 1rem;
|
76
|
-
@include link-text-colors($text-color-d, $main-color-1, $main-color-1);
|
84
|
+
display: none;
|
77
85
|
}
|
78
86
|
}
|
79
87
|
}
|
80
88
|
}
|
81
89
|
}
|
90
|
+
|
82
91
|
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
.layout--article {
|
2
|
+
|
3
|
+
.article__footer {
|
4
|
+
margin: map-get($base, vertical-space-lg) 0;
|
5
|
+
font-size: map-get($base, font-size-sm);
|
6
|
+
color: $text-color-l;
|
7
|
+
.article__license {
|
8
|
+
position: relative;
|
9
|
+
img {
|
10
|
+
height: map-get($base, font-size-sm) * 1.5;
|
11
|
+
vertical-align: text-bottom;
|
12
|
+
}
|
13
|
+
a {
|
14
|
+
@include link-colors($text-color, $main-color-1, $main-color-1);
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
.article__previous-next {
|
19
|
+
word-wrap: break-word;
|
20
|
+
margin: map-get($spacers, 4) 0 map-get($spacers, 3) 0;
|
21
|
+
padding-top: map-get($base, vertical-space-lg) / 2;
|
22
|
+
@include split-line(top, 4px);
|
23
|
+
& > .previous, & > .next {
|
24
|
+
width: 50%;
|
25
|
+
& > span {
|
26
|
+
font-weight: map-get($base, font-weight-bold);
|
27
|
+
color: $text-color-l;
|
28
|
+
}
|
29
|
+
& > a {
|
30
|
+
display: block;
|
31
|
+
@include link-colors($text-color, $main-color-1, $main-color-1);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
& > .previous {
|
35
|
+
float: left;
|
36
|
+
padding-right: .5rem;
|
37
|
+
}
|
38
|
+
& > .next {
|
39
|
+
float: right;
|
40
|
+
padding-left: .5rem;
|
41
|
+
text-align: right;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
data/_sass/layout/_home.scss
CHANGED
@@ -1,61 +1,70 @@
|
|
1
|
-
.
|
2
|
-
|
3
|
-
& >
|
4
|
-
|
1
|
+
.layout--home {
|
2
|
+
.post-list {
|
3
|
+
& > article {
|
4
|
+
& > h1, h2 {
|
5
|
+
font-size: map-get($base, font-size-h3);
|
6
|
+
& > a {
|
7
|
+
@include link-colors($text-color-d, $main-color-1, $main-color-1);
|
8
|
+
}
|
9
|
+
}
|
5
10
|
& > a {
|
6
|
-
|
11
|
+
font-size: map-get($base, font-size-sm);
|
12
|
+
}
|
13
|
+
padding-bottom: map-get($spacers, 4);
|
14
|
+
margin-bottom: map-get($spacers, 4);
|
15
|
+
&:not(:last-child) {
|
16
|
+
@include split-line(bottom);
|
7
17
|
}
|
8
18
|
}
|
9
|
-
|
10
|
-
font-size: map-get($base, font-size-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
19
|
+
.article__content {
|
20
|
+
font-size: map-get($base, font-size-sm);
|
21
|
+
line-height: map-get($base, line-height);
|
22
|
+
@include block-elements() {
|
23
|
+
margin-top: map-get($base, vertical-space);
|
24
|
+
margin-bottom: map-get($base, vertical-space);
|
25
|
+
}
|
26
|
+
@include heading-elements() {
|
27
|
+
margin-top: map-get($base, vertical-space) * 1.5;
|
28
|
+
}
|
29
|
+
|
30
|
+
h1,
|
31
|
+
h2,
|
32
|
+
h3 {
|
33
|
+
color: $text-color;
|
34
|
+
}
|
35
|
+
h1,
|
36
|
+
h2 {
|
37
|
+
padding: 0;
|
38
|
+
border: none;
|
39
|
+
}
|
40
|
+
h1 {
|
41
|
+
font-size: map-get($base, font-size-h1-xs);
|
42
|
+
}
|
43
|
+
h2 {
|
44
|
+
font-size: map-get($base, font-size-h2-xs);
|
45
|
+
}
|
46
|
+
h3 {
|
47
|
+
font-size: map-get($base, font-size-h3-xs);
|
48
|
+
}
|
49
|
+
h4 {
|
50
|
+
font-size: map-get($base, font-size-h4-xs);
|
51
|
+
}
|
52
|
+
h5 {
|
53
|
+
font-size: map-get($base, font-size-h5-xs);
|
54
|
+
}
|
55
|
+
h6 {
|
56
|
+
font-size: map-get($base, font-size-h6-xs);
|
57
|
+
}
|
58
|
+
img {
|
59
|
+
max-height: 12rem;
|
60
|
+
}
|
16
61
|
}
|
17
62
|
}
|
18
|
-
.m-article-content {
|
19
|
-
font-size: map-get($base, font-size-sub);
|
20
|
-
line-height: map-get($base, line-height);
|
21
|
-
@include block-elements() {
|
22
|
-
margin-top: map-get($base, vertical-space);
|
23
|
-
margin-bottom: map-get($base, vertical-space);
|
24
|
-
}
|
25
|
-
@include heading-elements() {
|
26
|
-
margin-top: map-get($base, vertical-space) * 1.5;
|
27
|
-
}
|
28
63
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
color: $text-color;
|
33
|
-
}
|
34
|
-
h1,
|
35
|
-
h2 {
|
36
|
-
padding: 0;
|
37
|
-
border: none;
|
38
|
-
}
|
39
|
-
h1 {
|
40
|
-
font-size: map-get($base, font-size-h1-excerpt);
|
41
|
-
}
|
42
|
-
h2 {
|
43
|
-
font-size: map-get($base, font-size-h2-excerpt);
|
44
|
-
}
|
45
|
-
h3 {
|
46
|
-
font-size: map-get($base, font-size-h3-excerpt);
|
47
|
-
}
|
48
|
-
h4 {
|
49
|
-
font-size: map-get($base, font-size-h4-excerpt);
|
50
|
-
}
|
51
|
-
h5 {
|
52
|
-
font-size: map-get($base, font-size-h5-excerpt);
|
53
|
-
}
|
54
|
-
h6 {
|
55
|
-
font-size: map-get($base, font-size-h6-excerpt);
|
56
|
-
}
|
57
|
-
img {
|
58
|
-
max-height: 12rem;
|
64
|
+
.pagination {
|
65
|
+
margin: map-get($base, vertical-space-lg) 0;
|
66
|
+
.pagination__omit {
|
67
|
+
color: $text-color-l;
|
59
68
|
}
|
60
69
|
}
|
61
70
|
}
|
@@ -0,0 +1,104 @@
|
|
1
|
+
.layout--landing {
|
2
|
+
|
3
|
+
img {
|
4
|
+
display: block;
|
5
|
+
width: 100%;
|
6
|
+
}
|
7
|
+
|
8
|
+
.section {
|
9
|
+
text-align: center;
|
10
|
+
background-color: $text-background-color;
|
11
|
+
@include flexbox();
|
12
|
+
@include align-items(center);
|
13
|
+
h1 {
|
14
|
+
font-size: map-get($base, font-size-h1-lg);
|
15
|
+
}
|
16
|
+
h2 {
|
17
|
+
font-size: map-get($base, font-size-h2-lg);
|
18
|
+
}
|
19
|
+
h3 {
|
20
|
+
font-size: map-get($base, font-size-h3-lg);
|
21
|
+
}
|
22
|
+
p {
|
23
|
+
font-size: map-get($base, font-size-lg);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.section--light {
|
28
|
+
h1, h2, h3 {
|
29
|
+
color: $text-color-theme-light-d;
|
30
|
+
}
|
31
|
+
h4, h5 {
|
32
|
+
color: $text-color-theme-light;
|
33
|
+
}
|
34
|
+
h6 {
|
35
|
+
color: $text-color-theme-light-l;
|
36
|
+
}
|
37
|
+
color: $text-color-theme-light;
|
38
|
+
}
|
39
|
+
|
40
|
+
.section--dark {
|
41
|
+
h1, h2, h3 {
|
42
|
+
color: $text-color-theme-dark-d;
|
43
|
+
}
|
44
|
+
h4, h5 {
|
45
|
+
color: $text-color-theme-dark;
|
46
|
+
}
|
47
|
+
h6 {
|
48
|
+
color: $text-color-theme-dark-l;
|
49
|
+
}
|
50
|
+
color: $text-color-theme-dark;
|
51
|
+
}
|
52
|
+
|
53
|
+
.section__content {
|
54
|
+
width: 100%;
|
55
|
+
}
|
56
|
+
|
57
|
+
.content__cover {
|
58
|
+
max-width: 800px;
|
59
|
+
margin: 0 auto;
|
60
|
+
}
|
61
|
+
.content__row {
|
62
|
+
margin-bottom: map-get($spacers, 5);
|
63
|
+
}
|
64
|
+
.content__col {
|
65
|
+
padding: 0 map-get($spacers, 2);
|
66
|
+
}
|
67
|
+
|
68
|
+
.overlay {
|
69
|
+
min-height: 40rem;
|
70
|
+
padding: map-get($spacers, 5) 0;
|
71
|
+
background-image: url(/docs/assets/images/cover1.jpeg);
|
72
|
+
background-size: cover;
|
73
|
+
@include media-breakpoint-down(md) {
|
74
|
+
min-height: 28rem;
|
75
|
+
}
|
76
|
+
.section__content {
|
77
|
+
min-width: 400px;
|
78
|
+
@include media-breakpoint-down(md) {
|
79
|
+
min-width: auto;
|
80
|
+
width: 100%;
|
81
|
+
padding: 0 map-get($spacers, 3);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
h1 {
|
85
|
+
font-size: 4rem;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.feature {
|
90
|
+
margin: map-get($spacers, 5);
|
91
|
+
padding: map-get($spacers, 5);
|
92
|
+
padding-bottom: 0;
|
93
|
+
@include media-breakpoint-down(lg) {
|
94
|
+
margin: map-get($spacers, 3);
|
95
|
+
padding: map-get($spacers, 5) map-get($spacers, 3);
|
96
|
+
padding-bottom: 0;
|
97
|
+
}
|
98
|
+
@include media-breakpoint-down(md) {
|
99
|
+
margin: map-get($spacers, 2) 0;
|
100
|
+
padding: map-get($spacers, 4) map-get($spacers, 3);
|
101
|
+
padding-bottom: 0;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|