jekyll-text-theme 1.5.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -153
  3. data/_data/authors.yml +0 -0
  4. data/_data/licenses.yml +16 -0
  5. data/_data/locale.yml +4 -10
  6. data/_data/navigation.yml +13 -0
  7. data/_data/variables.yml +22 -6
  8. data/_includes/analytics-providers/custom.html +0 -0
  9. data/_includes/analytics-providers/google.html +16 -0
  10. data/_includes/analytics.html +7 -0
  11. data/_includes/article-footer/custom.html +1 -0
  12. data/_includes/article-footer/license.html +24 -0
  13. data/_includes/article-info.html +90 -0
  14. data/_includes/aside/toc.html +1 -0
  15. data/_includes/author-profile.html +50 -0
  16. data/_includes/comments-providers/custom.html +0 -0
  17. data/_includes/comments-providers/disqus.html +22 -0
  18. data/_includes/comments-providers/gitalk.html +32 -0
  19. data/_includes/comments.html +9 -0
  20. data/_includes/follow-me.html +84 -0
  21. data/_includes/footer.html +39 -0
  22. data/_includes/head.html +54 -0
  23. data/_includes/header.html +33 -0
  24. data/_includes/markdown-enhancements.html +32 -0
  25. data/_includes/{utils → markdown-enhancements}/chart.html +1 -3
  26. data/_includes/{utils → markdown-enhancements}/mathjax.html +11 -4
  27. data/_includes/{utils → markdown-enhancements}/mermaid.html +1 -3
  28. data/_includes/pageview-providers/custom.html +0 -0
  29. data/_includes/pageview-providers/custom/home.html +0 -0
  30. data/_includes/pageview-providers/custom/post.html +0 -0
  31. data/_includes/pageview-providers/leancloud/home.html +35 -0
  32. data/_includes/pageview-providers/leancloud/leancloud.js +71 -0
  33. data/_includes/pageview-providers/leancloud/post.html +31 -0
  34. data/_includes/pageview.html +31 -0
  35. data/_includes/scripts/archieve.js +238 -0
  36. data/_includes/scripts/article-list.html +27 -0
  37. data/_includes/scripts/article.js +24 -0
  38. data/_includes/scripts/aside/affix.js +26 -0
  39. data/_includes/scripts/aside/toc.js +37 -0
  40. data/_includes/scripts/common.js +3 -0
  41. data/_includes/scripts/home.js +3 -0
  42. data/_includes/scripts/lib/affix.js +103 -0
  43. data/_includes/scripts/{utils.html → lib/lazyload.js} +55 -92
  44. data/_includes/scripts/lib/scroll.js +13 -0
  45. data/_includes/scripts/lib/throttle.js +28 -0
  46. data/_includes/scripts/lib/toc.js +106 -0
  47. data/_includes/scripts/page.js +3 -0
  48. data/_includes/scripts/sidebar.js +14 -0
  49. data/_includes/scripts/utils.js +38 -0
  50. data/_includes/scripts/variables.html +27 -0
  51. data/_includes/sidebar/toc.html +27 -0
  52. data/_includes/snippets/assign.html +5 -0
  53. data/_includes/snippets/get-nav-url.html +3 -2
  54. data/_includes/snippets/page-title.html +11 -6
  55. data/_includes/snippets/page-url.html +3 -1
  56. data/_includes/snippets/to-boolean.html +7 -0
  57. data/_includes/{icon → svg/icon}/social/behance.svg +0 -0
  58. data/_includes/{icon → svg/icon}/social/douban.svg +0 -0
  59. data/_includes/{icon → svg/icon}/social/facebook.svg +0 -0
  60. data/_includes/{icon → svg/icon}/social/flicker.svg +0 -0
  61. data/_includes/{icon → svg/icon}/social/github.svg +0 -0
  62. data/_includes/{icon → svg/icon}/social/googleplus.svg +0 -0
  63. data/_includes/{icon → svg/icon}/social/linkedin.svg +0 -0
  64. data/_includes/{icon → svg/icon}/social/mail.svg +0 -0
  65. data/_includes/{icon → svg/icon}/social/pinterest.svg +0 -0
  66. data/_includes/{icon → svg/icon}/social/qq.svg +0 -0
  67. data/_includes/{icon → svg/icon}/social/twitter.svg +0 -0
  68. data/_includes/{icon → svg/icon}/social/weibo.svg +0 -0
  69. data/_includes/{icon → svg/icon}/social/weixin.svg +0 -0
  70. data/_includes/{icon → svg/icon}/social/zhihu.svg +0 -0
  71. data/_includes/{logo → svg}/logo.svg +1 -1
  72. data/_includes/tags.html +52 -0
  73. data/_layouts/404.html +12 -0
  74. data/_layouts/archive.html +25 -0
  75. data/_layouts/article.html +78 -0
  76. data/_layouts/base.html +13 -33
  77. data/_layouts/home.html +135 -121
  78. data/_layouts/landing.html +164 -0
  79. data/_layouts/page.html +157 -9
  80. data/_sass/additional/_alert.scss +25 -0
  81. data/_sass/additional/_photo-frame.scss +17 -0
  82. data/_sass/animate/_fade-in-down.scss +1 -1
  83. data/_sass/animate/_fade-in.scss +1 -1
  84. data/_sass/common/_classes.scss +5 -2
  85. data/_sass/common/_reset.scss +32 -22
  86. data/_sass/common/_variables.scss +87 -31
  87. data/_sass/common/classes/_animation.scss +9 -0
  88. data/_sass/common/classes/_clearfix.scss +8 -0
  89. data/_sass/common/classes/_grid.scss +48 -0
  90. data/_sass/common/classes/_horizontal-rules.scss +14 -0
  91. data/_sass/common/classes/_link.scss +18 -145
  92. data/_sass/common/classes/_media.scss +1 -2
  93. data/_sass/common/classes/_overflow.scss +8 -0
  94. data/_sass/common/classes/_pseudo.scss +26 -0
  95. data/_sass/common/classes/_shadow.scss +13 -5
  96. data/_sass/common/classes/_spacing.scss +52 -0
  97. data/_sass/common/components/_button.scss +179 -47
  98. data/_sass/common/components/_card.scss +18 -0
  99. data/_sass/common/components/_menu.scss +43 -0
  100. data/_sass/common/components/_toc.scss +125 -0
  101. data/_sass/components/_article.content.scss +37 -45
  102. data/_sass/components/_article.info.scss +25 -0
  103. data/_sass/components/_author-profile.scss +43 -0
  104. data/_sass/components/_follow-me.scss +16 -19
  105. data/_sass/components/_footer.scss +16 -6
  106. data/_sass/components/_header.scss +26 -18
  107. data/_sass/components/_license.scss +1 -25
  108. data/_sass/components/_main.scss +13 -11
  109. data/_sass/components/_tags.scss +17 -36
  110. data/_sass/layout/{_error-404.scss → _404.scss} +2 -2
  111. data/_sass/layout/_all.scss +72 -63
  112. data/_sass/layout/_article.scss +44 -0
  113. data/_sass/layout/_home.scss +61 -52
  114. data/_sass/layout/_landing.scss +104 -0
  115. data/_sass/layout/_page.scss +155 -0
  116. data/_sass/{colors → skins}/_chocolate.scss +17 -6
  117. data/_sass/skins/_dark.scss +56 -0
  118. data/_sass/{colors → skins}/_default.scss +16 -5
  119. data/_sass/{colors → skins}/_forest.scss +16 -5
  120. data/_sass/{colors → skins}/_ocean.scss +16 -5
  121. data/_sass/{colors → skins}/_orange.scss +20 -9
  122. data/assets/android-chrome-192x192.png +0 -0
  123. data/assets/android-chrome-512x512.png +0 -0
  124. data/assets/apple-touch-icon.png +0 -0
  125. data/assets/browserconfig.xml +9 -0
  126. data/assets/css/main.scss +46 -0
  127. data/assets/favicon-16x16.png +0 -0
  128. data/assets/favicon-32x32.png +0 -0
  129. data/assets/favicon.ico +0 -0
  130. data/assets/images/logo/logo.svg +1 -1
  131. data/assets/mstile-144x144.png +0 -0
  132. data/assets/mstile-150x150.png +0 -0
  133. data/assets/mstile-310x150.png +0 -0
  134. data/assets/mstile-310x310.png +0 -0
  135. data/assets/mstile-70x70.png +0 -0
  136. data/assets/safari-pinned-tab.svg +38 -0
  137. data/assets/site.webmanifest +19 -0
  138. metadata +108 -76
  139. data/_includes/common-head.html +0 -10
  140. data/_includes/components/article-data.html +0 -55
  141. data/_includes/components/follow-me.html +0 -78
  142. data/_includes/components/footer.html +0 -10
  143. data/_includes/components/header.html +0 -42
  144. data/_includes/components/license.html +0 -26
  145. data/_includes/components/tags.html +0 -52
  146. data/_includes/head-icons-rel.html +0 -38
  147. data/_includes/icon/clear.svg +0 -3
  148. data/_includes/icon/link.svg +0 -1
  149. data/_includes/icon/menu.svg +0 -3
  150. data/_includes/icon/next.svg +0 -3
  151. data/_includes/icon/omit.svg +0 -1
  152. data/_includes/icon/previous.svg +0 -3
  153. data/_includes/icon/search.svg +0 -3
  154. data/_includes/scripts/all.html +0 -244
  155. data/_includes/scripts/common.html +0 -30
  156. data/_includes/scripts/data.html +0 -27
  157. data/_includes/scripts/home.html +0 -26
  158. data/_includes/scripts/page-post.html +0 -32
  159. data/_includes/scripts/post.html +0 -183
  160. data/_includes/utils/comment-disqus.html +0 -19
  161. data/_includes/utils/comment-gitalk.html +0 -25
  162. data/_includes/utils/google-analytics.html +0 -11
  163. data/_layouts/all.html +0 -20
  164. data/_layouts/error-404.html +0 -9
  165. data/_layouts/post.html +0 -60
  166. data/_sass/colors/_dark.scss +0 -45
  167. data/_sass/common/classes/_shape.scss +0 -19
  168. data/_sass/common/classes/_space.scss +0 -40
  169. data/_sass/components/_article.content.extra.scss +0 -41
  170. data/_sass/components/_article.data.scss +0 -36
  171. data/_sass/components/_pagination.scss +0 -19
  172. data/_sass/components/_toc.scss +0 -72
  173. data/_sass/layout/_default.scss +0 -19
  174. data/_sass/layout/_post.scss +0 -80
  175. data/assets/css/blog.scss +0 -41
  176. data/assets/images/logo/icon-120x120.png +0 -0
  177. data/assets/images/logo/icon-128x128.png +0 -0
  178. data/assets/images/logo/icon-150x150.png +0 -0
  179. data/assets/images/logo/icon-152x152.png +0 -0
  180. data/assets/images/logo/icon-167x167.png +0 -0
  181. data/assets/images/logo/icon-16x16.png +0 -0
  182. data/assets/images/logo/icon-180x180.png +0 -0
  183. data/assets/images/logo/icon-192x192.png +0 -0
  184. data/assets/images/logo/icon-310x150.png +0 -0
  185. data/assets/images/logo/icon-310x310.png +0 -0
  186. data/assets/images/logo/icon-48x48.png +0 -0
  187. data/assets/images/logo/icon-70x70.png +0 -0
@@ -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(l) {
5
+ @include media-breakpoint-down(lg) {
7
6
  padding: 0 1rem;
8
7
  }
9
- .main-header {
10
- & > h1 {
11
- font-weight: map-get($base, font-weight-bold);
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
- .has-toc .main {
18
- max-width: map-get($layout, content-max-width) + map-get($layout, aside-width);
19
- @include media-breakpoint-down(l) {
20
- max-width: map-get($layout, content-max-width);
21
- padding: 0 1rem;
20
+ .full-width {
21
+ .main {
22
+ max-width: 100%;
23
+ width: 100%;
22
24
  }
23
25
  }
@@ -1,42 +1,23 @@
1
- .m-tags {
2
- & > ul {
3
- @include horizontal-space();
4
- & > li > button {
5
- box-sizing: border-box;
6
- @include link-colors($text-color-1, $main-color-1, $text-color-2, $main-color-2, $text-color-2, $main-color-2, $text-color-2, $main-color-2);
7
- @include link-focus {
8
- @include box-shadow(3, $main-color-2);
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 link-normal() {
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 link-normal() {
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 link-normal() {
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 link-normal() {
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
+ }
@@ -1,7 +1,7 @@
1
- .m-error-404 {
1
+ .layout--404 {
2
2
  @include flexbox;
3
3
  @include align-items(center);
4
- &>.main>h1 {
4
+ & > .main > h1 {
5
5
  font-size: 7rem;
6
6
  }
7
7
  }
@@ -1,82 +1,91 @@
1
- .m-all {
2
- &.search > .main {
3
- & > .m-tags {
4
- display: none;
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
- & > .m-result {
7
- section {
8
- ul > li {
9
- .date {
10
- display: none;
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
- & > .main {
17
- & > .m-tags {
18
- margin-bottom: map-get($base, vertical-space-large) * 2;
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
- & > .m-search-box {
22
- position: relative;
23
- @include flexbox;
24
- @include align-items(center);
25
- @include round-rect(default, .2rem .4rem);
26
- box-sizing: border-box;
27
- max-width: 22rem;
28
- background-color: $text-background-color;
29
- @include media-breakpoint-down(s) {
30
- max-width: none;
31
- width: 100%;
32
- }
33
- margin: map-get($base, vertical-space-large) 0;
34
- &.not-empty > .icon-clear {
35
- display: block;
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
- & > .icon-clear {
38
- display: none;
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
- & > .icon-search, & > .icon-clear {
44
- & > svg {
45
- display: block;
46
- fill: $text-color-l;
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
- & > .m-result {
56
- margin: map-get($base, vertical-space-large) 0;
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
- font-family: map-get($base, code-font-family);
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
+ }
@@ -1,61 +1,70 @@
1
- .m-post-list {
2
- & > article {
3
- & > h1 {
4
- font-size: map-get($base, font-size-header-list);
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
- @include link-text-colors( $text-color-d, $main-color-1, $main-color-1);
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
- & > a {
10
- font-size: map-get($base, font-size-sub);
11
- }
12
- padding-bottom: 1.3rem;
13
- margin: 2.6rem 0 1rem 0;
14
- &:not(:last-child) {
15
- @include split-line(bottom);
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
- h1,
30
- h2,
31
- h3 {
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
+ }