jekyll-theme-isotc154 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,27 @@
1
+ $widescreenBreakpoint: 1200px !default;
2
+ $bigscreenBreakpoint: 900px !default;
3
+
4
+ $primaryColor: #0061AD !default;
5
+ $textColor: #222 !default;
6
+ $linkColor: $primaryColor !default;
7
+
8
+ $warningColor: red !default;
9
+ $importantColor: orange !default;
10
+ $accentColor: $primaryColor !default;
11
+
12
+ $codeListingBorderColor: lighten($textColor, 70) !default;
13
+ $codeListingBackgroundColor: rgba($textColor, 0.03) !default;
14
+
15
+ $borderColor1: #F3F3F3 !default;
16
+ $borderColor2: #EEEEEF !default;
17
+
18
+ $lightBackgroundColor: #efeeee !default;
19
+
20
+ $headerH: 100px !default;
21
+ $logoSide: 80px !default;
22
+
23
+
24
+ @import 'normalize';
25
+ @import 'adoc-markup';
26
+ @import 'main';
27
+ @import 'events';
@@ -0,0 +1,572 @@
1
+ @mixin wideContainer() {
2
+ margin: 0 2em;
3
+
4
+ @media screen and (min-width: $bigscreenBreakpoint) {
5
+ width: $bigscreenBreakpoint - 100px;
6
+ margin: 0 auto;
7
+ }
8
+ @media screen and (min-width: $widescreenBreakpoint) {
9
+ width: $widescreenBreakpoint - 100px;
10
+ margin: 0 auto;
11
+ }
12
+ }
13
+
14
+
15
+
16
+ body {
17
+ font-family: Helvetica, Arial, sans-serif;
18
+ font-size: 16px;
19
+ line-height: 1.6;
20
+ }
21
+
22
+ a {
23
+ &:link, &:visited {
24
+ color: inherit;
25
+ text-decoration: none;
26
+
27
+ main &, aside & {
28
+ color: $linkColor;
29
+
30
+ &:hover {
31
+ text-decoration: underline;
32
+ }
33
+
34
+ &.anchor-link {
35
+ opacity: 0.2;
36
+ font-size: 80%;
37
+ margin-left: .5em;
38
+
39
+ &:hover {
40
+ opacity: 1;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+
47
+ table {
48
+ border-collapse: collapse;
49
+ margin-bottom: 10px;
50
+ width: 100%;
51
+
52
+ td, th {
53
+ padding: 6px;
54
+ text-align: left;
55
+ }
56
+ th {
57
+ border-bottom: 1px solid $borderColor2;
58
+ }
59
+ tbody tr:nth-child(even) {
60
+ background-color: $borderColor1;
61
+ }
62
+ }
63
+
64
+ body {
65
+ display: flex;
66
+ flex-flow: column nowrap;
67
+ min-height: 100vh;
68
+ }
69
+
70
+ body > main,
71
+ body > .with-aside {
72
+ @include wideContainer();
73
+ flex: 1;
74
+ }
75
+
76
+
77
+ body main,
78
+ body > header,
79
+ body main > header {
80
+ > .entity {
81
+ $entityGrey: lighten($textColor, 40);
82
+
83
+ margin: 0;
84
+ color: $entityGrey;
85
+ font-weight: normal;
86
+ display: flex;
87
+ flex-flow: row wrap;
88
+ align-items: center;
89
+
90
+ > * {
91
+ white-space: nowrap;
92
+ }
93
+ > .meta {
94
+ overflow: hidden;
95
+ text-overflow: ellipsis;
96
+
97
+ @media screen and (min-width: $bigscreenBreakpoint) {
98
+ &:hover {
99
+ flex-shrink: 0;
100
+ }
101
+ }
102
+ }
103
+
104
+ @media screen and (min-width: $bigscreenBreakpoint) {
105
+ flex-flow: row nowrap;
106
+ .type, .meta {
107
+ margin-right: .25rem;
108
+ }
109
+ }
110
+
111
+ .id, .name {
112
+ margin-right: 1em;
113
+ margin-bottom: .25em;
114
+
115
+ // Entity name could be a link, if it’s an entity subpage.
116
+ &, &:link, &:visited {
117
+ color: inherit;
118
+ }
119
+ }
120
+ .type, .meta {
121
+ font-size: .8rem;
122
+ padding: .4em .8em;
123
+ margin-top: .05rem;
124
+ margin-bottom: .25rem;
125
+ }
126
+ .type {
127
+ text-transform: uppercase;
128
+ letter-spacing: .04em;
129
+ font-weight: bold;
130
+
131
+ background: $primaryColor;
132
+ color: white;
133
+ }
134
+ .meta {
135
+ background: $entityGrey;
136
+ color: white;
137
+ flex: 100%;
138
+
139
+ .icon:first-child {
140
+ width: 1.25em;
141
+ margin-right: .25em;
142
+ text-align: center;
143
+ overflow: hidden;
144
+ }
145
+
146
+ @media screen and (min-width: $bigscreenBreakpoint) {
147
+ flex: unset;
148
+ }
149
+ }
150
+ }
151
+ > .headline {
152
+ margin-top: 0;
153
+ font-size: 160%;
154
+ }
155
+ }
156
+ body > header, body > main > header {
157
+ margin-bottom: 3em;
158
+ }
159
+
160
+ main {
161
+ > section {
162
+ margin-bottom: 3em;
163
+ }
164
+ }
165
+
166
+ body > .with-aside {
167
+ @media screen and (max-width: $bigscreenBreakpoint) {
168
+ main {
169
+ margin-bottom: 3em;
170
+ }
171
+ }
172
+
173
+ aside {
174
+ ul, li {
175
+ margin: 0;
176
+ padding: 0;
177
+ list-style: none;
178
+ }
179
+ li {
180
+ border-bottom: 1px solid $borderColor1;
181
+ padding-bottom: .7em;
182
+ margin-bottom: .7em;
183
+ font-size: 90%;
184
+
185
+ a {
186
+ color: $linkColor;
187
+ }
188
+ &:last-child {
189
+ border-bottom: 0;
190
+ padding-bottom: 0;
191
+ margin-bottom: 0;
192
+ }
193
+ &.active {
194
+ font-weight: bold;
195
+ position: relative;
196
+
197
+ &:before {
198
+ position: absolute;
199
+ left: -2em;
200
+ top: -.15em;
201
+ content: "→";
202
+ display: block;
203
+ }
204
+ }
205
+ }
206
+
207
+ section {
208
+ margin-bottom: 2em;
209
+
210
+ > .title {
211
+ letter-spacing: .1em;
212
+ }
213
+ ul li {
214
+ white-space: nowrap;
215
+ overflow: hidden;
216
+ text-overflow: ellipsis;
217
+ }
218
+ }
219
+
220
+ section.tags {
221
+ font-size: 90%;
222
+
223
+ ul {
224
+ display: flex;
225
+ flex-flow: row wrap;
226
+ }
227
+ li {
228
+ padding: .2em .6em;
229
+ border-radius: 1em;
230
+ border: 1px solid $borderColor1;
231
+ margin-right: .5em;
232
+ margin-bottom: .5em;
233
+ }
234
+ }
235
+ }
236
+
237
+ @media screen and (min-width: $bigscreenBreakpoint) {
238
+ display: flex;
239
+ flex-flow: row nowrap;
240
+
241
+ aside {
242
+ flex-basis: 12rem;
243
+ min-width: 12rem;
244
+ flex: 0;
245
+ margin-left: 3vw;
246
+ border-left: 1px solid $borderColor1;
247
+ padding-left: 5vw;
248
+ }
249
+ }
250
+ @media screen and (min-width: $widescreenBreakpoint) {
251
+ aside {
252
+ flex-basis: 18rem;
253
+ min-width: 18rem;
254
+ }
255
+ }
256
+ }
257
+
258
+
259
+ header.top-bar {
260
+ background-color: $primaryColor;
261
+ color: white;
262
+
263
+ margin-bottom: 3em;
264
+
265
+ > .container {
266
+ @include wideContainer();
267
+
268
+ height: $headerH / 1.7;
269
+ margin-right: 0;
270
+
271
+ @media screen and (min-width: $bigscreenBreakpoint) {
272
+ @include wideContainer();
273
+ height: $headerH;
274
+ }
275
+
276
+ display: flex;
277
+ flex-flow: row nowrap;
278
+ align-items: center;
279
+ }
280
+
281
+ a, a:link, a:visited {
282
+ color: inherit;
283
+ }
284
+
285
+ .org-name {
286
+ display: none;
287
+
288
+ @media screen and (min-width: $bigscreenBreakpoint) {
289
+ display: inline;
290
+ }
291
+ }
292
+
293
+ .iso-logo {
294
+ display: flex;
295
+ flex-flow: row nowrap;
296
+ justify-content: flex-start;
297
+ margin-left: -.7em;
298
+
299
+ img {
300
+ display: block;
301
+
302
+ // White on primary color
303
+ -webkit-filter: invert(1);
304
+ filter: invert(1);
305
+
306
+ height: $logoSide / 1.5;
307
+ width: $logoSide / 1.5;
308
+
309
+ @media screen and (min-width: $bigscreenBreakpoint) {
310
+ height: $logoSide;
311
+ width: $logoSide;
312
+ }
313
+ }
314
+ }
315
+
316
+ h1 {
317
+ flex: 1;
318
+ margin: 0;
319
+ white-space: nowrap;
320
+ font-size: 135%;
321
+ }
322
+
323
+ ul, li {
324
+ list-style: none;
325
+ margin: 0;
326
+ padding: 0;
327
+ }
328
+
329
+ .priority-nav {
330
+ display: flex;
331
+ flex-flow: row nowrap;
332
+ align-items: stretch;
333
+ align-self: stretch;
334
+ font-size: 90%;
335
+ letter-spacing: .02em;
336
+ overflow-x: auto;
337
+ margin-left: 1em;
338
+
339
+ li {
340
+ display: flex;
341
+ white-space: nowrap;
342
+ flex-flow: column nowrap;
343
+ justify-content: center;
344
+
345
+ &.featured-event {
346
+ .title {
347
+ border: .1rem white solid;
348
+ border-radius: .5rem;
349
+ margin: 0 .5em;
350
+ padding: .5em;
351
+ }
352
+ }
353
+
354
+ a, span {
355
+ text-transform: uppercase;
356
+ padding: 0 .4em;
357
+
358
+ @media screen and (min-width: $bigscreenBreakpoint) {
359
+ padding: 1em .7em;
360
+ }
361
+ @media screen and (min-width: $widescreenBreakpoint) {
362
+ padding: 1em 1.4em;
363
+ }
364
+ }
365
+ &.selected {
366
+ background-color: rgba(white, 0.2);
367
+ }
368
+ }
369
+ }
370
+ }
371
+
372
+ body > footer {
373
+ margin-top: 4em;
374
+
375
+ display: flex;
376
+ flex-flow: column nowrap;
377
+ font-size: 90%;
378
+
379
+ background: $lightBackgroundColor;
380
+
381
+ > .container {
382
+ @include wideContainer();
383
+ }
384
+
385
+ ul, li {
386
+ list-style: none;
387
+ margin: 0;
388
+ padding: 0;
389
+ }
390
+
391
+ .row1 {
392
+ border-bottom: 1px solid $borderColor2;
393
+
394
+ display: flex;
395
+ flex-flow: row wrap;
396
+ align-items: center;
397
+ justify-content: space-between;
398
+ position: relative;
399
+
400
+ @media screen and (min-width: $bigscreenBreakpoint) {
401
+ flex-flow: row nowrap;
402
+ }
403
+
404
+ .logo {
405
+ margin-left: -.7em;
406
+ position: relative;
407
+ z-index: 2;
408
+
409
+ img {
410
+ height: $logoSide;
411
+ width: $logoSide;
412
+ }
413
+ }
414
+
415
+ .links {
416
+ display: flex;
417
+ flex-flow: row wrap;
418
+ flex: 1;
419
+
420
+ @media screen and (min-width: $bigscreenBreakpoint) {
421
+ flex-flow: row nowrap;
422
+ justify-content: center;
423
+ position: absolute;
424
+ left: 0;
425
+ right: 0;
426
+ text-align: center;
427
+ z-index: 1;
428
+ }
429
+
430
+ > * {
431
+ margin: 0 .5em;
432
+ }
433
+ }
434
+
435
+ .powered-by {
436
+ display: flex;
437
+ flex-flow: column nowrap;
438
+
439
+ @media screen and (min-width: $bigscreenBreakpoint) {
440
+ flex-flow: row nowrap;
441
+ }
442
+
443
+ position: relative;
444
+ z-index: 2;
445
+
446
+ .powered-by__text {
447
+ margin-right: .5em;
448
+ }
449
+
450
+ img {
451
+ height: 1.2em;
452
+ vertical-align: text-bottom;
453
+ }
454
+ }
455
+ }
456
+
457
+ .row2 {
458
+ display: flex;
459
+ flex-flow: row nowrap;
460
+ align-items: center;
461
+
462
+ padding: 1em 0;
463
+
464
+ .copyright {
465
+ flex: 1;
466
+ white-space: nowrap;
467
+ }
468
+
469
+ .social-links {
470
+ display: flex;
471
+ flex-flow: row nowrap;
472
+
473
+ > * {
474
+ margin-left: .5em;
475
+ }
476
+ }
477
+ }
478
+ }
479
+
480
+
481
+ @mixin with-dropcap() {
482
+ > p:first-child::first-letter {
483
+ font-size: 3.2em;
484
+ float: left;
485
+ margin-top: -.1rem;
486
+ margin-right: .4rem;
487
+ line-height: 1;
488
+ font-weight: bold;
489
+ font-family: Georgia, serif;
490
+ color: $primaryColor;
491
+ }
492
+ }
493
+
494
+
495
+ $itemPicW: 14em / 2;
496
+ $itemPicH: 16rem / 2;
497
+
498
+ @mixin itemCard($picW, $picH) {
499
+ display: flex;
500
+ flex-flow: row nowrap;
501
+ align-items: stretch;
502
+
503
+ &.item-card--no-pic {
504
+ .item-text {
505
+ padding-bottom: .5rem;
506
+ }
507
+ }
508
+
509
+ .item-pic {
510
+ flex-grow: 0;
511
+ flex-shrink: 0;
512
+
513
+ display: flex;
514
+ flex-flow: column nowrap;
515
+ align-items: center;
516
+ justify-content: center;
517
+
518
+ width: $picW;
519
+ height: $picH;
520
+ overflow: hidden;
521
+
522
+ margin-right: 1rem;
523
+ }
524
+
525
+ .item-text {
526
+ padding-top: 0;
527
+
528
+ display: flex;
529
+ flex-flow: column nowrap;
530
+ justify-content: flex-start;
531
+ overflow: hidden;
532
+
533
+ p, h3, h4 {
534
+ &:first-child {
535
+ margin-top: 0;
536
+ }
537
+ }
538
+ }
539
+ }
540
+
541
+ @mixin itemList($compact: 0) {
542
+ @if $compact == 1 {
543
+ display: flex;
544
+ flex-flow: row wrap;
545
+ justify-content: flex-start;
546
+
547
+ } @else {
548
+ @media screen and (min-width: $bigscreenBreakpoint) {
549
+ display: flex;
550
+ flex-flow: row wrap;
551
+ justify-content: flex-start;
552
+ }
553
+ }
554
+
555
+ .item-card {
556
+ margin: 0 .5rem .5rem 0;
557
+ overflow: hidden;
558
+
559
+ @if $compact == 1 {
560
+ @include itemCard($itemPicW / 2, $itemPicH / 2);
561
+
562
+ } @else {
563
+ @include itemCard($itemPicW, $itemPicH);
564
+
565
+ @media screen and (min-width: $bigscreenBreakpoint) {
566
+ flex-grow: 0;
567
+ flex-shrink: 0;
568
+ flex-basis: 30%;
569
+ }
570
+ }
571
+ }
572
+ }