jekyll-theme-isotc211 0.1.5 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9da35e3e25805d96419ad5a11cfcfffde857024aeede2cc2f2025ac519e9574
4
- data.tar.gz: 7c925a7a2a98b069aebd24b48798d49baffaebd7080466750716d53a78f59a48
3
+ metadata.gz: 2fb84c5177bba2577c1e6312fa9ee57b84a7fa243f76f584e10f0555ca78d32d
4
+ data.tar.gz: 1d4ff15dfd6040fd0fdb91ec53d9d03ee11529149596ed57d55cebb34f6fe5c2
5
5
  SHA512:
6
- metadata.gz: 2a08556d8fd19be249828da8d2b7e2a1748e4940b3cd711842875d7b95431ab7602b1e248b2af0873ec43bfb88c26ffefb79e46609ebae7eba1d4e021bbbe4e4
7
- data.tar.gz: feee5861b5bdc9c7383132284bd6b2562413905fda43421124d702bc4878517c50eddbe4893c08d1f8baaa82c34ac594bac407d41570de312013d8c1093d3c0f
6
+ metadata.gz: d08f5299471f4dd0073e20ec9e5dcb1e9bf723ab4da16311f448a1c8643ce0b5b7ada188217c1ffb65a5af0e5edbf0af4a1c542c1614ae556a70970624e23cc0
7
+ data.tar.gz: c5751d4d423c081d75030843391e2725111a6b0c54e43fa468810b14b06df19a3a6bfb004e3b7e9ce85f7201234a657ac31e4b5632924fb02adad9ea51430657
@@ -16,12 +16,17 @@
16
16
  <span class="description">
17
17
  {{ site.tagline }}
18
18
  </span>
19
- <span class="committee">
20
- from ISO/TC 211
21
- </span>
22
- <span class="committee-full">
23
- Geographic information/Geomatics
24
- </span>
19
+
20
+ from
21
+
22
+ <a href="{{ site.committee.link }}">
23
+ <span class="committee">
24
+ ISO/TC {{ site.committee.id }}
25
+ </span>
26
+ <span class="committee-full">
27
+ {{ site.committee.name }}
28
+ </span>
29
+ </a>
25
30
  </p>
26
31
  </div>
27
32
 
data/_sass/home.scss CHANGED
@@ -1,23 +1,38 @@
1
1
  body.home {
2
+ > footer {
3
+ box-shadow: none;
4
+ }
5
+
2
6
  > main {
7
+ padding-bottom: 0;
8
+
3
9
  > .section > h2 {
4
10
  @extend .section-title;
5
11
  }
6
12
 
7
13
  > .news {
14
+
15
+ // Assuming it goes right before footer
16
+ box-shadow: 0 5px 20px -10px silver inset;
17
+ border-bottom: 0;
18
+ flex: 1;
19
+ background: whitesmoke;
20
+ margin-top: 1em;
21
+
8
22
  .items {
9
23
  display: flex;
10
24
  flex-flow: row nowrap;
11
25
  justify-content: flex-start;
12
26
  align-items: stretch;
13
27
  overflow-y: auto;
28
+ margin-bottom: 1em;
14
29
  }
15
30
  .news-item-card {
16
31
  flex-basis: 20em;
17
32
  max-width: 90vw;
18
33
  border-radius: .5em;
19
34
  padding: 0 .75em;
20
- border: 1px solid #f0f0f0;
35
+ background: #fff;
21
36
  margin-right: 1em;
22
37
 
23
38
  .title {
@@ -40,9 +40,20 @@ html {
40
40
 
41
41
  .section-title {
42
42
  font-size: 18px;
43
- font-weight: normal;
44
43
  text-transform: uppercase;
45
44
  flex-shrink: 0;
45
+ margin-top: 0;
46
+ position: relative;
47
+
48
+ @media screen and (min-width: $bigscreenBreakpoint) {
49
+ &:before {
50
+ position: absolute;
51
+ width: 112px;
52
+ left: -112px;
53
+ text-align: center;
54
+ content: "⧐";
55
+ }
56
+ }
46
57
  }
47
58
 
48
59
  @import 'offsets';
data/_sass/main.scss CHANGED
@@ -1,14 +1,40 @@
1
+ // Asciidoctor-generated markup
2
+ // ============================
3
+
4
+ body > main {
5
+ .admonitionblock {
6
+ margin-bottom: 1em;
7
+
8
+ td.icon {
9
+ vertical-align: top;
10
+ padding-right: 1em;
11
+ font-weight: bold;
12
+ }
13
+ .content {
14
+ word-break: break-word;
15
+ }
16
+ }
17
+ .paragraph code {
18
+ word-break: break-word;
19
+ }
20
+ }
21
+
22
+
1
23
  // Main layout
2
24
  // ===========
3
25
 
4
26
  body > header,
5
27
  body > main > section,
6
28
  body > main > .section {
7
- padding-bottom: 1em;
29
+ padding-top: 1em;
30
+
31
+ > h2 {
32
+ @extend .section-title;
33
+ }
8
34
  }
9
35
 
10
36
  body {
11
- $footerH: $logoSize + 40px;
37
+ $footerH: $logoSize + 20px;
12
38
 
13
39
  flex: 1;
14
40
 
@@ -19,23 +45,33 @@ body {
19
45
 
20
46
  > footer {
21
47
  flex-shrink: 0;
22
- height: $footerH;
23
- margin-top: 1em;
24
48
  font-size: 90%;
25
49
  line-height: 1.6;
26
50
 
51
+ background: whitesmoke;
52
+ box-shadow: 0 5px 20px -10px silver inset;
53
+
54
+ padding-top: 1em;
55
+
56
+ @media screen and (min-width: $bigscreenBreakpoint) {
57
+ height: $footerH;
58
+ padding-top: 0;
59
+ }
60
+
27
61
  .logo {
28
62
  width: $logoOffset;
29
63
  margin-left: 0;
64
+ display: inline-block;
30
65
 
31
66
  img {
32
67
  width: $logoSize;
33
68
  height: $logoSize;
34
- display: block;
69
+ vertical-align: middle;
35
70
  }
36
71
  }
37
72
 
38
73
  .powered-by {
74
+ flex: 1;
39
75
  width: $logoOffset;
40
76
 
41
77
  .powered-by-text {
@@ -53,6 +89,7 @@ body {
53
89
 
54
90
  .legal {
55
91
  white-space: nowrap;
92
+ display: inline-block;
56
93
  }
57
94
 
58
95
  ul[role=nav] {
@@ -85,6 +122,12 @@ body {
85
122
 
86
123
  > header {
87
124
  flex-shrink: 0;
125
+ background: whitesmoke;
126
+ margin-bottom: 1em;
127
+ padding-top: 0;
128
+ padding-bottom: .5em;
129
+
130
+ box-shadow: 0 -5px 20px -10px silver inset;
88
131
 
89
132
  .site-headline {
90
133
  .parent-org-reference {
@@ -115,11 +158,11 @@ body {
115
158
  flex-flow: column nowrap;
116
159
 
117
160
  h1 {
118
- @include titleFontFamily(false);
161
+ @include titleFontFamily(true);
119
162
 
120
- font-size: 270%;
163
+ font-size: 170%;
121
164
  margin: 0;
122
- margin-top: .6em;
165
+ margin-top: 1.4em;
123
166
  margin-bottom: .2em;
124
167
  margin-left: -.12em; // Visual alignment of capital G
125
168
  letter-spacing: -.03em;
@@ -132,12 +175,7 @@ body {
132
175
 
133
176
  p {
134
177
  margin: 0;
135
- text-transform: uppercase;
136
- letter-spacing: .04em;
137
-
138
- font-size: 80%;
139
178
  line-height: 1.6;
140
-
141
179
  padding-bottom: 1em;
142
180
  flex: 1;
143
181
 
@@ -151,15 +189,13 @@ body {
151
189
  align-self: flex-end;
152
190
 
153
191
  display: flex;
154
- flex-flow: column nowrap;
192
+ flex-flow: row wrap;
155
193
  align-items: flex-start;
156
194
  margin: 0 0 0 .4em;
157
195
  padding: 0 0 1em 0;
158
196
  list-style: none;
159
197
 
160
- font-size: 80%;
161
198
  line-height: 1.6;
162
- text-transform: uppercase;
163
199
 
164
200
  li {
165
201
  margin: 0 0 0 1em;
@@ -195,5 +231,6 @@ body {
195
231
  display: flex;
196
232
  flex-flow: column nowrap;
197
233
  line-height: 1.6;
234
+ padding-bottom: 1em;
198
235
  }
199
236
  }
data/_sass/offsets.scss CHANGED
@@ -4,11 +4,11 @@
4
4
  $sideOffsetBase: 15vw;
5
5
 
6
6
  body > header {
7
- margin: 0 $sideOffsetBase 0 $sideOffsetBase;
7
+ padding: 0 $sideOffsetBase 0 $sideOffsetBase;
8
8
 
9
9
  // Hanging logo on the left
10
10
  @media screen and (min-width: $bigscreenBreakpoint) {
11
- margin: 0 $sideOffsetBase 0 calc(#{$sideOffsetBase} - #{$logoOffset});
11
+ padding: 0 $sideOffsetBase 0 calc(#{$sideOffsetBase} - #{$logoOffset});
12
12
  }
13
13
  }
14
14
  body > footer {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-isotc211
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-02 00:00:00.000000000 Z
11
+ date: 2019-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll