jekyll-theme-isotc211 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: dfcb440fd958cc55b447eed66fa011ffb0bc3b9d
4
- data.tar.gz: f8bb4cba01989b201463d84b15d334549ddbebc2
3
+ metadata.gz: 861780ef925f70b9c79eba3f28fe1389865bdfb2
4
+ data.tar.gz: fe7e02319890b849e8fadb972d3fa8dba9f0eb55
5
5
  SHA512:
6
- metadata.gz: f47f2b5b32970d9d75733871811f0d6aa45d361f437b3ef131b335eeac17101b918d8b0e6c9ef77d80fd1bddb72e6bbca863135f7e6d37a7df07161f849af5f3
7
- data.tar.gz: 027213a4cf6bfc2886849fdabc55acc1f0706df343e5755b6e3c4508c6aecbc2bb60b3996ae48b16b0671b4119e7f2a175acfa80401271afcf7c95b62ea1d5e9
6
+ metadata.gz: e7a22110311bc39023bd315db690b5a5ee8763ea0417f82c9fc82f18e71b0498d285272579391508bf870f904cef185e15374f708d7b010fb0bae8a2f28ff9d3
7
+ data.tar.gz: c5a8a215e96acd60cce99e966591b9d82dc9c519c708ac9bdbb19b84b34f2572f7fec320333b0fc2e89a7bd1f27ae3fe82d57b252874481f06829c2779d920a2
data/_sass/home.scss CHANGED
@@ -1,5 +1,9 @@
1
1
  body.home {
2
2
  > main {
3
+ > .section > h2 {
4
+ @extend .section-title;
5
+ }
6
+
3
7
  > .news {
4
8
  .items {
5
9
  display: flex;
@@ -20,6 +20,8 @@ $linkColorInverse: white;
20
20
  }
21
21
  }
22
22
 
23
+ @import 'normalize';
24
+
23
25
  body {
24
26
  font-family: $bodyFontFamily;
25
27
  }
data/_sass/main.scss CHANGED
@@ -2,7 +2,8 @@
2
2
  // ===========
3
3
 
4
4
  body > header,
5
- body > main > section {
5
+ body > main > section,
6
+ body > main > .section {
6
7
  padding-bottom: 1em;
7
8
  }
8
9
 
@@ -181,5 +182,6 @@ body {
181
182
  flex: 1 0 auto;
182
183
  display: flex;
183
184
  flex-flow: column nowrap;
185
+ line-height: 1.6;
184
186
  }
185
187
  }
@@ -0,0 +1,424 @@
1
+ /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2
+
3
+ /**
4
+ * 1. Set default font family to sans-serif.
5
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
6
+ * user zoom.
7
+ */
8
+
9
+ html {
10
+ font-family: sans-serif; /* 1 */
11
+ -ms-text-size-adjust: 100%; /* 2 */
12
+ -webkit-text-size-adjust: 100%; /* 2 */
13
+ }
14
+
15
+ /**
16
+ * Remove default margin.
17
+ */
18
+
19
+ body {
20
+ margin: 0;
21
+ }
22
+
23
+ /* HTML5 display definitions
24
+ ========================================================================== */
25
+
26
+ /**
27
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
28
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
29
+ * and Firefox.
30
+ * Correct `block` display not defined for `main` in IE 11.
31
+ */
32
+
33
+ article,
34
+ aside,
35
+ details,
36
+ figcaption,
37
+ figure,
38
+ footer,
39
+ header,
40
+ hgroup,
41
+ main,
42
+ menu,
43
+ nav,
44
+ section,
45
+ summary {
46
+ display: block;
47
+ }
48
+
49
+ /**
50
+ * 1. Correct `inline-block` display not defined in IE 8/9.
51
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
52
+ */
53
+
54
+ audio,
55
+ canvas,
56
+ progress,
57
+ video {
58
+ display: inline-block; /* 1 */
59
+ vertical-align: baseline; /* 2 */
60
+ }
61
+
62
+ /**
63
+ * Prevent modern browsers from displaying `audio` without controls.
64
+ * Remove excess height in iOS 5 devices.
65
+ */
66
+
67
+ audio:not([controls]) {
68
+ display: none;
69
+ height: 0;
70
+ }
71
+
72
+ /**
73
+ * Address `[hidden]` styling not present in IE 8/9/10.
74
+ * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
75
+ */
76
+
77
+ [hidden],
78
+ template {
79
+ display: none;
80
+ }
81
+
82
+ /* Links
83
+ ========================================================================== */
84
+
85
+ /**
86
+ * Remove the gray background color from active links in IE 10.
87
+ */
88
+
89
+ a {
90
+ background-color: transparent;
91
+ }
92
+
93
+ /**
94
+ * Improve readability when focused and also mouse hovered in all browsers.
95
+ */
96
+
97
+ a:active,
98
+ a:hover {
99
+ outline: 0;
100
+ }
101
+
102
+ /* Text-level semantics
103
+ ========================================================================== */
104
+
105
+ /**
106
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
107
+ */
108
+
109
+ abbr[title] {
110
+ border-bottom: 1px dotted;
111
+ }
112
+
113
+ /**
114
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
115
+ */
116
+
117
+ b,
118
+ strong {
119
+ font-weight: bold;
120
+ }
121
+
122
+ /**
123
+ * Address styling not present in Safari and Chrome.
124
+ */
125
+
126
+ dfn {
127
+ font-style: italic;
128
+ }
129
+
130
+ /**
131
+ * Address variable `h1` font-size and margin within `section` and `article`
132
+ * contexts in Firefox 4+, Safari, and Chrome.
133
+ */
134
+
135
+ h1 {
136
+ font-size: 2em;
137
+ margin: 0.67em 0;
138
+ }
139
+
140
+ /**
141
+ * Address styling not present in IE 8/9.
142
+ */
143
+
144
+ mark {
145
+ background: #ff0;
146
+ color: #000;
147
+ }
148
+
149
+ /**
150
+ * Address inconsistent and variable font size in all browsers.
151
+ */
152
+
153
+ small {
154
+ font-size: 80%;
155
+ }
156
+
157
+ /**
158
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
159
+ */
160
+
161
+ sub,
162
+ sup {
163
+ font-size: 75%;
164
+ line-height: 0;
165
+ position: relative;
166
+ vertical-align: baseline;
167
+ }
168
+
169
+ sup {
170
+ top: -0.5em;
171
+ }
172
+
173
+ sub {
174
+ bottom: -0.25em;
175
+ }
176
+
177
+ /* Embedded content
178
+ ========================================================================== */
179
+
180
+ /**
181
+ * Remove border when inside `a` element in IE 8/9/10.
182
+ */
183
+
184
+ img {
185
+ border: 0;
186
+ }
187
+
188
+ /**
189
+ * Correct overflow not hidden in IE 9/10/11.
190
+ */
191
+
192
+ svg:not(:root) {
193
+ overflow: hidden;
194
+ }
195
+
196
+ /* Grouping content
197
+ ========================================================================== */
198
+
199
+ /**
200
+ * Address margin not present in IE 8/9 and Safari.
201
+ */
202
+
203
+ figure {
204
+ margin: 1em 40px;
205
+ }
206
+
207
+ /**
208
+ * Address differences between Firefox and other browsers.
209
+ */
210
+
211
+ hr {
212
+ box-sizing: content-box;
213
+ height: 0;
214
+ }
215
+
216
+ /**
217
+ * Contain overflow in all browsers.
218
+ */
219
+
220
+ pre {
221
+ overflow: auto;
222
+ }
223
+
224
+ /**
225
+ * Address odd `em`-unit font size rendering in all browsers.
226
+ */
227
+
228
+ code,
229
+ kbd,
230
+ pre,
231
+ samp {
232
+ font-family: monospace, monospace;
233
+ font-size: 1em;
234
+ }
235
+
236
+ /* Forms
237
+ ========================================================================== */
238
+
239
+ /**
240
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
241
+ * styling of `select`, unless a `border` property is set.
242
+ */
243
+
244
+ /**
245
+ * 1. Correct color not being inherited.
246
+ * Known issue: affects color of disabled elements.
247
+ * 2. Correct font properties not being inherited.
248
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
249
+ */
250
+
251
+ button,
252
+ input,
253
+ optgroup,
254
+ select,
255
+ textarea {
256
+ color: inherit; /* 1 */
257
+ font: inherit; /* 2 */
258
+ margin: 0; /* 3 */
259
+ }
260
+
261
+ /**
262
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
263
+ */
264
+
265
+ button {
266
+ overflow: visible;
267
+ }
268
+
269
+ /**
270
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
271
+ * All other form control elements do not inherit `text-transform` values.
272
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
273
+ * Correct `select` style inheritance in Firefox.
274
+ */
275
+
276
+ button,
277
+ select {
278
+ text-transform: none;
279
+ }
280
+
281
+ /**
282
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
283
+ * and `video` controls.
284
+ * 2. Correct inability to style clickable `input` types in iOS.
285
+ * 3. Improve usability and consistency of cursor style between image-type
286
+ * `input` and others.
287
+ */
288
+
289
+ button,
290
+ html input[type="button"], /* 1 */
291
+ input[type="reset"],
292
+ input[type="submit"] {
293
+ -webkit-appearance: button; /* 2 */
294
+ cursor: pointer; /* 3 */
295
+ }
296
+
297
+ /**
298
+ * Re-set default cursor for disabled elements.
299
+ */
300
+
301
+ button[disabled],
302
+ html input[disabled] {
303
+ cursor: default;
304
+ }
305
+
306
+ /**
307
+ * Remove inner padding and border in Firefox 4+.
308
+ */
309
+
310
+ button::-moz-focus-inner,
311
+ input::-moz-focus-inner {
312
+ border: 0;
313
+ padding: 0;
314
+ }
315
+
316
+ /**
317
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
318
+ * the UA stylesheet.
319
+ */
320
+
321
+ input {
322
+ line-height: normal;
323
+ }
324
+
325
+ /**
326
+ * It's recommended that you don't attempt to style these elements.
327
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
328
+ *
329
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
330
+ * 2. Remove excess padding in IE 8/9/10.
331
+ */
332
+
333
+ input[type="checkbox"],
334
+ input[type="radio"] {
335
+ box-sizing: border-box; /* 1 */
336
+ padding: 0; /* 2 */
337
+ }
338
+
339
+ /**
340
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
341
+ * `font-size` values of the `input`, it causes the cursor style of the
342
+ * decrement button to change from `default` to `text`.
343
+ */
344
+
345
+ input[type="number"]::-webkit-inner-spin-button,
346
+ input[type="number"]::-webkit-outer-spin-button {
347
+ height: auto;
348
+ }
349
+
350
+ /**
351
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
352
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
353
+ * (include `-moz` to future-proof).
354
+ */
355
+
356
+ input[type="search"] {
357
+ -webkit-appearance: textfield; /* 1 */ /* 2 */
358
+ box-sizing: content-box;
359
+ }
360
+
361
+ /**
362
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
363
+ * Safari (but not Chrome) clips the cancel button when the search input has
364
+ * padding (and `textfield` appearance).
365
+ */
366
+
367
+ input[type="search"]::-webkit-search-cancel-button,
368
+ input[type="search"]::-webkit-search-decoration {
369
+ -webkit-appearance: none;
370
+ }
371
+
372
+ /**
373
+ * Define consistent border, margin, and padding.
374
+ */
375
+
376
+ fieldset {
377
+ border: 1px solid #c0c0c0;
378
+ margin: 0 2px;
379
+ padding: 0.35em 0.625em 0.75em;
380
+ }
381
+
382
+ /**
383
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
384
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
385
+ */
386
+
387
+ legend {
388
+ border: 0; /* 1 */
389
+ padding: 0; /* 2 */
390
+ }
391
+
392
+ /**
393
+ * Remove default vertical scrollbar in IE 8/9/10/11.
394
+ */
395
+
396
+ textarea {
397
+ overflow: auto;
398
+ }
399
+
400
+ /**
401
+ * Don't inherit the `font-weight` (applied by a rule above).
402
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
403
+ */
404
+
405
+ optgroup {
406
+ font-weight: bold;
407
+ }
408
+
409
+ /* Tables
410
+ ========================================================================== */
411
+
412
+ /**
413
+ * Remove most spacing between table cells.
414
+ */
415
+
416
+ table {
417
+ border-collapse: collapse;
418
+ border-spacing: 0;
419
+ }
420
+
421
+ td,
422
+ th {
423
+ padding: 0;
424
+ }
data/_sass/offsets.scss CHANGED
@@ -16,39 +16,16 @@ body > footer {
16
16
  }
17
17
  }
18
18
 
19
- body.home > main > section.browse-concepts {
20
- .section-title, .search-controls {
19
+ body.home > main {
20
+ > section .section-title,
21
+ > .section > h2,
22
+ > .section > .sectionbody {
21
23
  margin-left: $sideOffsetBase;
22
24
  margin-right: $sideOffsetBase;
23
25
  }
24
- > a.browse-concepts {
25
- margin-left: calc(#{$sideOffsetBase} - .75em);
26
- display: block;
27
- }
28
- .search-results.status-message {
29
- padding-left: $sideOffsetBase;
30
- }
31
- }
32
-
33
- body.home.browser-expandable > main > section.browse-concepts {
34
- .section-title {
35
- margin-left: 15vw;
36
-
37
- @media screen and (min-width: $bigscreenBreakpoint) {
38
- margin-left: calc(#{$sideOffsetBase} - #{$logoOffset});
39
-
40
- button.toggle {
41
- width: $logoOffset;
42
- }
43
- }
44
- }
45
26
  }
46
27
 
47
28
  body.home > main > .news {
48
- .section-title {
49
- margin-left: $sideOffsetBase;
50
- margin-right: $sideOffsetBase;
51
- }
52
29
  .items {
53
30
  .news-item-card:first-child {
54
31
  margin-left: calc(#{$sideOffsetBase} - .75em);
@@ -62,32 +39,3 @@ body.post, body.page {
62
39
  margin-right: $sideOffsetBase;
63
40
  }
64
41
  }
65
-
66
- body.concepts > main > div {
67
- > h2,
68
- > .sectionbody > .paragraph {
69
- margin-left: $sideOffsetBase;
70
- margin-right: $sideOffsetBase;
71
- }
72
- }
73
-
74
- body.concept > main {
75
- > header h2 {
76
- margin-left: $sideOffsetBase;
77
- margin-right: $sideOffsetBase;
78
- }
79
- @media screen and (min-width: $bigscreenBreakpoint) {
80
- .field {
81
- margin-left: calc(#{$sideOffsetBase} - #{$logoOffset});
82
- margin-right: $sideOffsetBase;
83
-
84
- .field-name {
85
- width: $logoOffset;
86
- }
87
- }
88
- .field.lang-ara {
89
- margin-right: calc(#{$sideOffsetBase} - #{$logoOffset});
90
- margin-left: $sideOffsetBase;
91
- }
92
- }
93
- }
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.2
4
+ version: 0.1.3
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-01-22 00:00:00.000000000 Z
11
+ date: 2019-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -144,6 +144,7 @@ files:
144
144
  - _sass/home.scss
145
145
  - _sass/jekyll-theme-isotc211.scss
146
146
  - _sass/main.scss
147
+ - _sass/normalize.scss
147
148
  - _sass/offsets.scss
148
149
  - assets/logo-iso-noninverted.svg
149
150
  - assets/logo-iso.svg