jekyll-development-theme 0.5.3 → 0.6.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/.editorconfig +33 -0
- data/.gitignore +6 -0
- data/404.html +39 -0
- data/Gemfile +7 -0
- data/LICENSE +21 -0
- data/README.md +70 -0
- data/_config.yml +153 -0
- data/_data/legal-main-sidebar.yml +8 -0
- data/_data/nav-footer-legal.yml +7 -0
- data/_data/nav-navigation.yml +8 -0
- data/_includes/body/article-aside.html +17 -0
- data/_includes/body/article-figure.html +12 -0
- data/_includes/body/footer-contentinfo.html +38 -0
- data/_includes/body/header-banner.html +1 -0
- data/_includes/body/legal-article-aside.html +17 -0
- data/_includes/body/nav-navigation.html +8 -0
- data/_includes/body/script.html +0 -0
- data/_includes/body/service-worker.html +5 -0
- data/_includes/document/doctype.html +1 -0
- data/_includes/document/html.html +1 -0
- data/_includes/head/link.html +7 -0
- data/_includes/head/meta.html +19 -0
- data/_includes/head/script.html +4 -0
- data/_includes/head/scripts/JSON-LD.html +45 -0
- data/_includes/head/scripts/google-tag-manager.html +78 -0
- data/_includes/head/style.html +4 -0
- data/_includes/head/title.html +1 -0
- data/_includes/head.html +12 -0
- data/_layouts/page.html +16 -0
- data/_layouts/sitemap.html +16 -0
- data/_sass/_page.scss +23 -0
- data/_sass/_reset.scss +77 -0
- data/_sass/_sitemap.scss +23 -0
- data/_sass/grids/_article-sitemap.scss +119 -0
- data/_sass/grids/_article.scss +351 -0
- data/_sass/grids/_footer-contentinfo.scss +90 -0
- data/_sass/grids/_header-banner.scss +26 -0
- data/_sass/grids/_main-archive.scss +171 -0
- data/_sass/grids/_main.scss +105 -0
- data/_sass/grids/_nav-navigation.scss +58 -0
- data/_sass/grids/_page.scss +54 -0
- data/_sass/media-queries/_article.scss +29 -0
- data/_sass/media-queries/_sitemap.scss +15 -0
- data/about.html +37 -0
- data/assets/css/page.scss +4 -0
- data/assets/css/sitemap.scss +4 -0
- data/assets/img/android-chrome-192x192.png +0 -0
- data/assets/img/android-chrome-512x512.png +0 -0
- data/assets/img/apple-touch-icon-114x114-precomposed.png +0 -0
- data/assets/img/apple-touch-icon-114x114.png +0 -0
- data/assets/img/apple-touch-icon-120x120-precomposed.png +0 -0
- data/assets/img/apple-touch-icon-120x120.png +0 -0
- data/assets/img/apple-touch-icon-144x144-precomposed.png +0 -0
- data/assets/img/apple-touch-icon-144x144.png +0 -0
- data/assets/img/apple-touch-icon-152x152-precomposed.png +0 -0
- data/assets/img/apple-touch-icon-152x152.png +0 -0
- data/assets/img/apple-touch-icon-180x180-precomposed.png +0 -0
- data/assets/img/apple-touch-icon-180x180.png +0 -0
- data/assets/img/apple-touch-icon-57x57-precomposed.png +0 -0
- data/assets/img/apple-touch-icon-57x57.png +0 -0
- data/assets/img/apple-touch-icon-60x60-precomposed.png +0 -0
- data/assets/img/apple-touch-icon-60x60.png +0 -0
- data/assets/img/apple-touch-icon-72x72-precomposed.png +0 -0
- data/assets/img/apple-touch-icon-72x72.png +0 -0
- data/assets/img/apple-touch-icon-76x76-precomposed.png +0 -0
- data/assets/img/apple-touch-icon-76x76.png +0 -0
- data/assets/img/apple-touch-icon-precomposed.png +0 -0
- data/assets/img/apple-touch-icon.png +0 -0
- data/assets/img/favicon-16x16.png +0 -0
- data/assets/img/favicon-32x32.png +0 -0
- data/assets/img/favicon.ico +0 -0
- data/assets/img/favicon.png +0 -0
- data/assets/img/ink.png +0 -0
- data/assets/img/logo.svg +1 -0
- data/assets/img/mash.png +0 -0
- data/assets/img/mirror.png +0 -0
- data/assets/img/mstile-144x144.png +0 -0
- data/assets/img/mstile-150x150.png +0 -0
- data/assets/img/mstile-310x150.png +0 -0
- data/assets/img/mstile-310x310.png +0 -0
- data/assets/img/mstile-70x70.png +0 -0
- data/assets/img/navigation.svg +1 -0
- data/assets/img/safari-pinned-tab.svg +1 -0
- data/assets/img/weave.png +0 -0
- data/assets/img/you.png +0 -0
- data/assets/js/service-worker.js +44 -0
- data/browserconfig.xml +12 -0
- data/contact.html +55 -0
- data/feed.xml +29 -0
- data/humans.txt +48 -0
- data/index.html +35 -0
- data/jekyll-development-theme.gemspec +111 -0
- data/notice.html +79 -0
- data/privacy.html +189 -0
- data/robots.txt +26 -0
- data/site.webmanifest +26 -0
- data/sitemap.html +35 -0
- data/sitemap.xml +17 -0
- data/social-media-privacy.html +84 -0
- metadata +102 -3
data/_includes/head.html
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{% include document/doctype.html %}
|
|
2
|
+
{% include document/html.html %}
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
{% include head/title.html %}
|
|
6
|
+
|
|
7
|
+
{% include head/meta.html %}
|
|
8
|
+
{% include head/link.html %}
|
|
9
|
+
|
|
10
|
+
{% include head/style.html %}
|
|
11
|
+
{% include head/script.html %}
|
|
12
|
+
</head>
|
data/_layouts/page.html
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
{% include head.html %}
|
|
4
|
+
|
|
5
|
+
<body>
|
|
6
|
+
{% include body/nav-navigation.html %}
|
|
7
|
+
{% include body/header-banner.html %}
|
|
8
|
+
|
|
9
|
+
{{content}}
|
|
10
|
+
|
|
11
|
+
{% include body/footer-contentinfo.html %}
|
|
12
|
+
{% include body/service-worker.html %}
|
|
13
|
+
{% include body/script.html %}
|
|
14
|
+
</body>
|
|
15
|
+
|
|
16
|
+
</html>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
{% include head.html %}
|
|
4
|
+
|
|
5
|
+
<body>
|
|
6
|
+
{% include body/nav-navigation.html %}
|
|
7
|
+
{% include body/header-banner.html %}
|
|
8
|
+
|
|
9
|
+
{{content}}
|
|
10
|
+
|
|
11
|
+
{% include body/footer-contentinfo.html %}
|
|
12
|
+
{% include body/service-worker.html %}
|
|
13
|
+
{% include body/script.html %}
|
|
14
|
+
</body>
|
|
15
|
+
|
|
16
|
+
</html>
|
data/_sass/_page.scss
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// ############################################################
|
|
2
|
+
// Theme Style
|
|
3
|
+
// ############################################################
|
|
4
|
+
|
|
5
|
+
// ============================================================
|
|
6
|
+
// Reset
|
|
7
|
+
// ============================================================
|
|
8
|
+
@import 'reset';
|
|
9
|
+
|
|
10
|
+
// ============================================================
|
|
11
|
+
// CSS Grids
|
|
12
|
+
// ============================================================
|
|
13
|
+
@import 'grids/page';
|
|
14
|
+
@import 'grids/header-banner';
|
|
15
|
+
@import 'grids/nav-navigation';
|
|
16
|
+
@import 'grids/main';
|
|
17
|
+
@import 'grids/article';
|
|
18
|
+
@import 'grids/footer-contentinfo';
|
|
19
|
+
|
|
20
|
+
// ============================================================
|
|
21
|
+
// Media Query Mixins
|
|
22
|
+
// ============================================================
|
|
23
|
+
@import 'media-queries/article';
|
data/_sass/_reset.scss
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
html {
|
|
2
|
+
overflow-y: scroll;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
-moz-box-sizing: border-box;
|
|
5
|
+
-webkit-box-sizing: border-box;
|
|
6
|
+
background-color: #fff;
|
|
7
|
+
padding: 0;
|
|
8
|
+
margin: 0;
|
|
9
|
+
font-size: 15px;
|
|
10
|
+
line-height: 30px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
*,
|
|
14
|
+
*:before,
|
|
15
|
+
*:after {
|
|
16
|
+
font-family: inherit;
|
|
17
|
+
font-size: inherit;
|
|
18
|
+
line-height: inherit;
|
|
19
|
+
text-rendering: inherit;
|
|
20
|
+
box-sizing: inherit;
|
|
21
|
+
-moz-box-sizing: inherit;
|
|
22
|
+
-webkit-box-sizing: inherit;
|
|
23
|
+
padding: 0;
|
|
24
|
+
margin: 0;
|
|
25
|
+
color: inherit;
|
|
26
|
+
background-color: inherit;
|
|
27
|
+
word-wrap: inherit
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
header,
|
|
31
|
+
nav,
|
|
32
|
+
main,
|
|
33
|
+
aside,
|
|
34
|
+
footer,
|
|
35
|
+
section,
|
|
36
|
+
figure,
|
|
37
|
+
img,
|
|
38
|
+
figcaption {
|
|
39
|
+
display: block;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
body {
|
|
43
|
+
min-height: 100vh;
|
|
44
|
+
|
|
45
|
+
font-family: sans-serif;
|
|
46
|
+
color: #000;
|
|
47
|
+
|
|
48
|
+
word-break: normal;
|
|
49
|
+
|
|
50
|
+
text-rendering: optimizeLegibility;
|
|
51
|
+
-moz-font-feature-settings: "liga"on, "pnum"on;
|
|
52
|
+
font-feature-settings: "liga"on, "pnum"on;
|
|
53
|
+
text-shadow: rgba(0, 0, 0, .2) 0 0 1px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@mixin status-size($size) {
|
|
57
|
+
.size::after {
|
|
58
|
+
content: " ("$size ") ";
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
a {
|
|
63
|
+
text-decoration: none;
|
|
64
|
+
padding-bottom: 2px;
|
|
65
|
+
border-bottom: 1px solid orange;
|
|
66
|
+
word-wrap: break-word;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
a:hover,
|
|
70
|
+
a:focus {
|
|
71
|
+
background-color: red;
|
|
72
|
+
background-image: linear-gradient(to right, orange, red);
|
|
73
|
+
background: red;
|
|
74
|
+
background: linear-gradient(to right, orange, red);
|
|
75
|
+
color: #fff;
|
|
76
|
+
text-shadow: rgba(255, 255, 255, .2) 0 0 1px;
|
|
77
|
+
}
|
data/_sass/_sitemap.scss
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// ############################################################
|
|
2
|
+
// Theme Style
|
|
3
|
+
// ############################################################
|
|
4
|
+
|
|
5
|
+
// ============================================================
|
|
6
|
+
// Reset
|
|
7
|
+
// ============================================================
|
|
8
|
+
@import 'reset';
|
|
9
|
+
|
|
10
|
+
// ============================================================
|
|
11
|
+
// CSS Grids
|
|
12
|
+
// ============================================================
|
|
13
|
+
@import 'grids/page';
|
|
14
|
+
@import 'grids/header-banner';
|
|
15
|
+
@import 'grids/nav-navigation';
|
|
16
|
+
@import 'grids/main';
|
|
17
|
+
@import 'grids/article-sitemap';
|
|
18
|
+
@import 'grids/footer-contentinfo';
|
|
19
|
+
|
|
20
|
+
// ============================================================
|
|
21
|
+
// Media Query Mixins
|
|
22
|
+
// ============================================================
|
|
23
|
+
@import 'media-queries/sitemap';
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// ############################################################
|
|
2
|
+
// Sitemap Grid
|
|
3
|
+
// ############################################################
|
|
4
|
+
|
|
5
|
+
article.sitemap {
|
|
6
|
+
|
|
7
|
+
max-width: 450px;
|
|
8
|
+
|
|
9
|
+
margin: 15px auto;
|
|
10
|
+
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template-columns: auto;
|
|
13
|
+
grid-template-rows: auto;
|
|
14
|
+
grid-column-gap: 0;
|
|
15
|
+
grid-row-gap: 0;
|
|
16
|
+
grid-template-areas:
|
|
17
|
+
"page-links"
|
|
18
|
+
"services-links"
|
|
19
|
+
"products-links"
|
|
20
|
+
"projects-links"
|
|
21
|
+
"clients-links"
|
|
22
|
+
"author-links"
|
|
23
|
+
"category-links"
|
|
24
|
+
"tag-links"
|
|
25
|
+
"timeline-links"
|
|
26
|
+
;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
// ============================================================
|
|
31
|
+
// Sitemap Grid Areas
|
|
32
|
+
// ============================================================
|
|
33
|
+
|
|
34
|
+
section.page-links {
|
|
35
|
+
grid-area: page-links;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
section.services-links {
|
|
39
|
+
grid-area: services-links;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
section.products-links {
|
|
43
|
+
grid-area: products-links;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
section.projects-links {
|
|
47
|
+
grid-area: projects-links;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
section.clients-links {
|
|
51
|
+
grid-area: clients-links;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
section.author-links {
|
|
55
|
+
grid-area: author-links;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
section.category-links {
|
|
59
|
+
grid-area: category-links;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
section.tag-links {
|
|
63
|
+
grid-area: tag-links;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
section.timeline-links {
|
|
67
|
+
grid-area: timeline-links;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
section.page-links,
|
|
71
|
+
section.services-links,
|
|
72
|
+
section.products-links,
|
|
73
|
+
section.projects-links,
|
|
74
|
+
section.clients-links,
|
|
75
|
+
section.author-links,
|
|
76
|
+
section.category-links,
|
|
77
|
+
section.tag-links,
|
|
78
|
+
section.timeline-links {
|
|
79
|
+
|
|
80
|
+
margin-bottom: 2rem;
|
|
81
|
+
|
|
82
|
+
h3 {
|
|
83
|
+
line-height: 2rem;
|
|
84
|
+
margin-bottom: 2rem;
|
|
85
|
+
font-weight: 300;
|
|
86
|
+
font-size: 1rem;
|
|
87
|
+
line-height: 2rem;
|
|
88
|
+
padding: 1rem 0;
|
|
89
|
+
border-bottom: 1px solid #eee;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
ul {
|
|
93
|
+
margin-left: -1rem;
|
|
94
|
+
list-style: none;
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: row;
|
|
97
|
+
flex-wrap: wrap;
|
|
98
|
+
justify-content: flex-start;
|
|
99
|
+
align-content: space-between;
|
|
100
|
+
|
|
101
|
+
&>li {
|
|
102
|
+
|
|
103
|
+
&>a {
|
|
104
|
+
margin: 1rem;
|
|
105
|
+
text-decoration: none;
|
|
106
|
+
line-height: 1rem;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// ============================================================
|
|
113
|
+
// Sitemap Grid Mixins
|
|
114
|
+
// ============================================================
|
|
115
|
+
|
|
116
|
+
// ------------------------------------------------------------
|
|
117
|
+
// Default
|
|
118
|
+
// ------------------------------------------------------------
|
|
119
|
+
@mixin sitemap-default() {}
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
// ############################################################
|
|
2
|
+
// Article Grid
|
|
3
|
+
// ############################################################
|
|
4
|
+
|
|
5
|
+
article {
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns: minmax(285px, 450px);
|
|
8
|
+
grid-template-rows: min-content min-content min-content min-content auto min-content min-content;
|
|
9
|
+
grid-column-gap: 0;
|
|
10
|
+
grid-row-gap: 0;
|
|
11
|
+
grid-template-areas:
|
|
12
|
+
"article-figure"
|
|
13
|
+
"article-header"
|
|
14
|
+
"article-meta"
|
|
15
|
+
"article-content"
|
|
16
|
+
"article-nav"
|
|
17
|
+
"article-aside"
|
|
18
|
+
"article-footer"
|
|
19
|
+
;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// ============================================================
|
|
23
|
+
// Article Grid Areas
|
|
24
|
+
// ============================================================
|
|
25
|
+
|
|
26
|
+
article>figure {
|
|
27
|
+
grid-area: article-figure;
|
|
28
|
+
|
|
29
|
+
min-width: 240px;
|
|
30
|
+
max-width: 750px;
|
|
31
|
+
|
|
32
|
+
margin-bottom: 2rem;
|
|
33
|
+
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
justify-content: flex-start;
|
|
37
|
+
|
|
38
|
+
&>a {
|
|
39
|
+
|
|
40
|
+
padding-bottom: unset;
|
|
41
|
+
border-bottom: unset;
|
|
42
|
+
|
|
43
|
+
&>canvas {
|
|
44
|
+
background: #000;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&>img {
|
|
48
|
+
width: 100%;
|
|
49
|
+
border-top: 1px solid #ddd;
|
|
50
|
+
filter: drop-shadow(0 0 15px #eee);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&>figcaption {
|
|
56
|
+
text-align: center;
|
|
57
|
+
font-weight: 300;
|
|
58
|
+
margin-top: 2rem;
|
|
59
|
+
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
article>header {
|
|
65
|
+
grid-area: article-header;
|
|
66
|
+
|
|
67
|
+
background-color: #000;
|
|
68
|
+
color: #eee;
|
|
69
|
+
|
|
70
|
+
margin-bottom: 4rem;
|
|
71
|
+
|
|
72
|
+
h1 {
|
|
73
|
+
-moz-font-feature-settings: "salt"2;
|
|
74
|
+
-webkit-font-feature-settings: "salt"2;
|
|
75
|
+
font-feature-settings: "salt"2;
|
|
76
|
+
|
|
77
|
+
font-weight: 300;
|
|
78
|
+
font-size: 2rem;
|
|
79
|
+
letter-spacing: -1px;
|
|
80
|
+
line-height: 3rem;
|
|
81
|
+
padding: 1rem;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
article.meta {
|
|
86
|
+
grid-area: article-meta;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
article>nav {
|
|
90
|
+
grid-area: article-nav;
|
|
91
|
+
|
|
92
|
+
&>ul {
|
|
93
|
+
list-style: none;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
article>div.content {
|
|
98
|
+
grid-area: article-content;
|
|
99
|
+
|
|
100
|
+
min-width: 285px;
|
|
101
|
+
max-width: 450px;
|
|
102
|
+
|
|
103
|
+
&>section {
|
|
104
|
+
|
|
105
|
+
margin-right: 1rem;
|
|
106
|
+
|
|
107
|
+
max-width: 450px;
|
|
108
|
+
margin: 4rem 0;
|
|
109
|
+
|
|
110
|
+
a {
|
|
111
|
+
text-decoration: none;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&>h2 {
|
|
115
|
+
margin: 4rem 0;
|
|
116
|
+
font-weight: 900;
|
|
117
|
+
font-size: 2rem;
|
|
118
|
+
letter-spacing: -1px;
|
|
119
|
+
line-height: 3rem;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&>h2:first-child {
|
|
123
|
+
margin-top: 1rem;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&>h3 {
|
|
127
|
+
margin: 2rem 0;
|
|
128
|
+
font-weight: 700;
|
|
129
|
+
font-size: 1rem;
|
|
130
|
+
line-height: 2rem;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&>p {
|
|
134
|
+
margin: 1rem 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&>p:first-child {
|
|
138
|
+
margin-top: 0;
|
|
139
|
+
background-color: #eee;
|
|
140
|
+
padding: 1rem;
|
|
141
|
+
margin-bottom: 4rem;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&>hr {
|
|
145
|
+
width: 1rem;
|
|
146
|
+
margin: 4rem 0 4rem auto;
|
|
147
|
+
border: 0;
|
|
148
|
+
text-shadow: unset;
|
|
149
|
+
border-bottom: 1px solid #aaa;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&>ul {
|
|
153
|
+
|
|
154
|
+
list-style: none;
|
|
155
|
+
margin-bottom: 1rem;
|
|
156
|
+
|
|
157
|
+
&>li {
|
|
158
|
+
display: flex;
|
|
159
|
+
|
|
160
|
+
>div {
|
|
161
|
+
display: flex;
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&>li:before {
|
|
167
|
+
margin-right: 1rem;
|
|
168
|
+
content: "-";
|
|
169
|
+
font-weight: 600;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&>ol {
|
|
176
|
+
|
|
177
|
+
list-style: none;
|
|
178
|
+
margin-bottom: 1rem;
|
|
179
|
+
|
|
180
|
+
&>li:first-child {
|
|
181
|
+
counter-reset: element;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&>li:before {
|
|
185
|
+
|
|
186
|
+
margin-right: 1rem;
|
|
187
|
+
|
|
188
|
+
content: counter(element) ".";
|
|
189
|
+
counter-increment: element;
|
|
190
|
+
font-weight: 600;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&>li {
|
|
194
|
+
display: flex;
|
|
195
|
+
|
|
196
|
+
&>div {
|
|
197
|
+
display: flex;
|
|
198
|
+
flex-direction: column;
|
|
199
|
+
|
|
200
|
+
&>ol {
|
|
201
|
+
|
|
202
|
+
&>li:first-child {
|
|
203
|
+
counter-reset: subelement;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&>li:before {
|
|
207
|
+
content: counter(element) "."counter(subelement) "";
|
|
208
|
+
counter-increment: subelement;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&>li:after {
|
|
215
|
+
padding-left: 1rem;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&>dl {
|
|
220
|
+
margin: 1rem 0;
|
|
221
|
+
|
|
222
|
+
&>dt {
|
|
223
|
+
font-weight: bold;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&>dd {
|
|
227
|
+
margin: 1rem 0 1rem 2rem;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&>section:first-child {
|
|
233
|
+
margin-top: 0;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
article>aside {
|
|
240
|
+
grid-area: article-aside;
|
|
241
|
+
|
|
242
|
+
min-width: 240px;
|
|
243
|
+
max-width: 255px;
|
|
244
|
+
|
|
245
|
+
margin-bottom: 2rem;
|
|
246
|
+
|
|
247
|
+
&>section {
|
|
248
|
+
|
|
249
|
+
&>h3 {
|
|
250
|
+
margin-bottom: 2rem;
|
|
251
|
+
font-weight: 300;
|
|
252
|
+
font-size: 1.4rem;
|
|
253
|
+
line-height: 2rem;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
&>ul {
|
|
257
|
+
list-style: none;
|
|
258
|
+
margin-left: 3rem;
|
|
259
|
+
|
|
260
|
+
&>li {
|
|
261
|
+
&>a {
|
|
262
|
+
font-weight: 300;
|
|
263
|
+
text-decoration: none;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
article>footer {
|
|
271
|
+
grid-area: article-footer;
|
|
272
|
+
min-width: 240px;
|
|
273
|
+
max-width: 255px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// ============================================================
|
|
277
|
+
// Article Grid Mixins
|
|
278
|
+
// ============================================================
|
|
279
|
+
|
|
280
|
+
// ------------------------------------------------------------
|
|
281
|
+
// Default
|
|
282
|
+
// ------------------------------------------------------------
|
|
283
|
+
@mixin article-default() {}
|
|
284
|
+
|
|
285
|
+
// ------------------------------------------------------------
|
|
286
|
+
// 15px * 36 = 540px width
|
|
287
|
+
// ------------------------------------------------------------
|
|
288
|
+
@mixin article-540px() {
|
|
289
|
+
article {
|
|
290
|
+
min-width: 525px;
|
|
291
|
+
max-width: 705px;
|
|
292
|
+
|
|
293
|
+
grid-template-columns: minmax(240px, 255px) minmax(285px, 450px);
|
|
294
|
+
grid-template-rows: min-content min-content min-content min-content min-content min-content min-content min-content min-content;
|
|
295
|
+
grid-column-gap: 1rem;
|
|
296
|
+
grid-row-gap: 0;
|
|
297
|
+
grid-template-areas:
|
|
298
|
+
"article-header article-content"
|
|
299
|
+
"article-figure article-content"
|
|
300
|
+
"article-aside article-content"
|
|
301
|
+
"article-meta article-content"
|
|
302
|
+
". article-content"
|
|
303
|
+
". article-content"
|
|
304
|
+
". article-footer"
|
|
305
|
+
". article-nav"
|
|
306
|
+
;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
article>header {
|
|
310
|
+
height: 16rem;
|
|
311
|
+
margin-bottom: 2rem;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
article>div.content {
|
|
315
|
+
&>section {
|
|
316
|
+
&>p:first-child {
|
|
317
|
+
height: 16rem;
|
|
318
|
+
margin-bottom: 8rem;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
article>aside {
|
|
324
|
+
padding-right: 1rem;
|
|
325
|
+
border-right: 1px solid #eee;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// ------------------------------------------------------------
|
|
330
|
+
// 15px * 57 = 810px width
|
|
331
|
+
// ------------------------------------------------------------
|
|
332
|
+
@mixin article-855px() {
|
|
333
|
+
article {
|
|
334
|
+
|
|
335
|
+
min-width: 855px;
|
|
336
|
+
max-width: 1455px;
|
|
337
|
+
|
|
338
|
+
grid-template-columns: minmax(240px, 255px) minmax(285px, 450px) minmax(285px, 750px);
|
|
339
|
+
grid-template-rows: min-content min-content min-content min-content min-content;
|
|
340
|
+
grid-column-gap: 1.5rem;
|
|
341
|
+
grid-row-gap: 0;
|
|
342
|
+
grid-template-areas:
|
|
343
|
+
"article-header article-content article-figure"
|
|
344
|
+
"article-aside article-content article-figure"
|
|
345
|
+
"article-meta article-content article-figure"
|
|
346
|
+
". article-footer article-footer"
|
|
347
|
+
". article-nav article-nav"
|
|
348
|
+
;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
}
|