prefire-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/_sass/main.scss ADDED
@@ -0,0 +1,637 @@
1
+ ---
2
+ # Front matter comment to ensure Jekyll properly reads file.
3
+ ---
4
+
5
+ /**
6
+ * Models the styles for the website.
7
+ *
8
+ * Exclusively made for PREFIRE
9
+ * © 2019-2020 University of Wisconsin - Madison. Space Science and Engineering Center. All Rights Reserved.
10
+ */
11
+
12
+ // Imports
13
+ @import url(https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css);
14
+ @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i');
15
+ @import url(https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
16
+
17
+ // Color import
18
+ $font-size: 50px;
19
+ $red: red;
20
+ $light-gray: #cfcfcf;
21
+ $dark-gray: #4a4a4a;
22
+
23
+ // Master Styles
24
+ *{
25
+ font-family: "Open Sans";
26
+ font-weight: 300;
27
+ }
28
+
29
+ .body-container{
30
+ border: 1px solid black;
31
+ margin: 0;
32
+ width: 100%;
33
+ }
34
+
35
+ .pic{ // All parallax Background
36
+ height: 100%;
37
+ transform: scale(1.5);
38
+ }
39
+
40
+
41
+ // Tools
42
+ .hidden{
43
+ display: none;
44
+ }
45
+
46
+ .main-container{
47
+ width: 100%;
48
+ scroll-behavior: smooth;
49
+ background-image: url("bg-picture-2.jpg");
50
+ }
51
+
52
+ .border{
53
+ border: 1px solid red !important;
54
+ }
55
+
56
+ .row{
57
+ width: 100%;
58
+ margin: 0;
59
+ }
60
+
61
+ // Text Styles
62
+ h1{
63
+ color: white;
64
+ font-size: 1.25em;
65
+ font-weight: 300;
66
+ letter-spacing: 0.10em;
67
+ margin-top: 1em;
68
+ display: block;
69
+ text-align: center;
70
+ }
71
+
72
+ h2{
73
+ color: white;
74
+ font-weight: 300;
75
+ }
76
+
77
+
78
+ h3{
79
+ font-weight: 300;
80
+ font-size: 1.5em;
81
+
82
+ }
83
+
84
+ h5{
85
+ text-align: center;
86
+ margin-top: 1em;
87
+ font-weight: 300;
88
+ background-color: white;
89
+ padding: 0.5em;
90
+ border-radius: 1px;
91
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
92
+ font-weight: 400;
93
+ }
94
+
95
+ h6{
96
+ font-size: 1.5em;
97
+ text-align: center;
98
+ }
99
+
100
+ // Generic styles
101
+ .generic-container{
102
+ padding: 1em;
103
+ margin-top: 3em;
104
+ margin-bottom: 3em;
105
+ }
106
+
107
+ .generic-box{
108
+ background-color: rgba(white, 1);
109
+ border-radius: 1px;
110
+ padding: 1em;
111
+ margin: 0 auto;
112
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
113
+ }
114
+
115
+ .mission-text{
116
+ margin-bottom: 0;
117
+ }
118
+
119
+ // Navbar Styles
120
+ .navbar{
121
+ width: 100%;
122
+ z-index: 999;
123
+ color: white;
124
+ position: fixed;
125
+ transition:500ms ease;
126
+ }
127
+
128
+ .navbar-scrolled{
129
+ background-color: white;
130
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
131
+ color: black;
132
+ }
133
+
134
+ .navbar-menu{
135
+ list-style-type: none;
136
+ width: 100%;
137
+ text-align: center;
138
+ margin: 0;
139
+ }
140
+
141
+ .navbar-menu-link{
142
+ display: inline-block;
143
+ padding: 0 2em;
144
+ }
145
+
146
+ .navbar-menu-link-text{
147
+ color: white;
148
+ transition: 500ms ease;
149
+ }
150
+
151
+ .burger-icon-text{
152
+ color: white;
153
+ margin: 0;
154
+ transition: 500ms ease;
155
+ }
156
+
157
+ .burger-icon-text-scrolled{
158
+ color: black;
159
+ margin: 0;
160
+ transition: 500ms ease;
161
+ }
162
+
163
+ .fa-bars{
164
+ font-size: 1.5em;
165
+ margin: 0;
166
+ }
167
+
168
+ .burger-icon{
169
+ margin: 0;
170
+ padding: 0;
171
+ }
172
+
173
+ .burger-icon-btn{
174
+ margin: 0;
175
+ background-color: transparent;
176
+ border: 0;
177
+ }
178
+
179
+ .navbar-fullscreen{
180
+ z-index: 10000;
181
+ position: fixed;
182
+ background-color: rgba(black, 0.75);
183
+ width: 100%;
184
+ height: 100%;
185
+ visibility: visible;
186
+ opacity: 1;
187
+ transition: visibility 0s, opacity 0.2s ease;
188
+ }
189
+
190
+ .navbar-fullscreen-gone{
191
+ position: fixed;
192
+ visibility: hidden;
193
+ opacity: 0;
194
+ transition: visibility 0s, opacity 0.2s ease;
195
+ }
196
+
197
+ .navbar-menu-link-text-scrolled{
198
+ color: black;
199
+ }
200
+
201
+ .navbar-menu-link-text:hover{
202
+ color: $light-gray;
203
+ text-decoration: none;
204
+ transition: 200ms ease;
205
+ }
206
+
207
+ .mobile-nav-link{
208
+ color: white;
209
+ }
210
+
211
+ .mobile-nav-link:hover{
212
+ color: $light-gray;
213
+ text-decoration: none;
214
+ transition: 200ms ease;
215
+ }
216
+
217
+ .mobile-nav-link-span{
218
+ display: block;
219
+ text-align: center;
220
+ padding: 1em;
221
+ }
222
+
223
+ .mobile-nav-containers{
224
+ margin-top: 5em;
225
+ }
226
+
227
+ .go-to-top-container{
228
+ position: fixed;
229
+ z-index: 15000;
230
+ right: 0;
231
+ margin-right: 1em;
232
+ margin-top: 4em;
233
+ padding-right: 0.4em;
234
+ padding-left: 0.4em;
235
+ padding-bottom: 0.25em;
236
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
237
+ border-radius: 100000px;
238
+ background-color: white;
239
+ visibility: visible;
240
+ opacity: 1;
241
+ transition: visibility 0s, opacity 0.2s ease;
242
+ }
243
+
244
+ .chevron-white{
245
+ padding: 0;
246
+ margin: 0;
247
+ }
248
+
249
+ .scroll-top-a{
250
+ color: black;
251
+ transition: 200ms ease;
252
+ }
253
+
254
+ .scroll-top-a:hover{
255
+ color: $dark-gray;
256
+ transition: 200ms ease;
257
+ }
258
+
259
+ .scroll-top-a-gone{
260
+ position: fixed;
261
+ z-index: 15000;
262
+ right: 0;
263
+ margin-right: 1em;
264
+ margin-top: 3.5em;
265
+ padding-right: 0.4em;
266
+ padding-left: 0.4em;
267
+ padding-bottom: 0.25em;
268
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
269
+ border-radius: 100000px;
270
+ background-color: white;
271
+ visibility: hidden;
272
+ opacity: 0;
273
+ transition: visibility 0s, opacity 0.2s ease;
274
+ }
275
+
276
+
277
+ // Main Page Styles
278
+ .main-page{
279
+ min-height: 100vh;
280
+ padding-top: 2.5em;
281
+ }
282
+
283
+ .logo{ // Prefire main logo
284
+ height: 20vh;
285
+ margin-top: 50vh - 20vh;
286
+ display: block;
287
+ text-align: center;
288
+ margin-left: auto;
289
+ margin-right: auto;
290
+ }
291
+
292
+ .uw-logo{
293
+ height: 6em;
294
+ display: block;
295
+ margin: 0 auto;
296
+ }
297
+
298
+ .jpl-logo{
299
+ height: 7em;
300
+ display: block;
301
+ margin: 0 auto;
302
+ }
303
+
304
+ .ssec-logo{
305
+ height: 6em;
306
+ display: block;
307
+ margin: 0 auto;
308
+ }
309
+
310
+ .main-logos{
311
+ padding-top: 11vh;
312
+ }
313
+
314
+
315
+
316
+ // Section title header styles
317
+ .item-header{
318
+ background-color: #2B336F;
319
+ padding: 2.5em;
320
+ padding-left: 4em;
321
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
322
+ }
323
+
324
+
325
+ // Overview styles
326
+ .overview-body{
327
+ background-color: rgba(white, 1);
328
+ border-radius: 1px;
329
+ padding: 1em;
330
+ margin: 0 auto;
331
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
332
+ }
333
+
334
+ .overview-body-text{
335
+ margin-bottom: 0;
336
+ }
337
+
338
+ .overview-container{
339
+ padding: 1em;
340
+ margin-top: 3em;
341
+ height: 100%;
342
+ margin-bottom: 3em;
343
+ background-image: url("bg-picture-3.jpg");
344
+ }
345
+
346
+ .overview-preview{
347
+ margin-bottom: 3em;
348
+ }
349
+
350
+ .overview-images-point{
351
+ max-width: 8em;
352
+ margin: 0 auto;
353
+ display: block;
354
+ margin-bottom: 0.5em;
355
+ background-color: rgba(white, 1);
356
+ padding: 0.5em;
357
+ border-radius: 10000px;
358
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
359
+ z-index: 50;
360
+ position: relative;
361
+ margin-right: -2em;
362
+ }
363
+
364
+ .overview-view-picture{
365
+ padding: 0;
366
+
367
+ }
368
+
369
+ .overview-point-text{
370
+ background-color: rgba(white, 1);
371
+ border-radius: 1px;
372
+ padding: 1em;
373
+ margin: 0 auto;
374
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
375
+ margin-left: -2em;
376
+ margin-right: 6em;
377
+ padding-left: 4em;
378
+ }
379
+
380
+ .overview-point-container{
381
+ margin-bottom: 2em;
382
+ }
383
+
384
+ // Mission styles
385
+ .mission-container{
386
+ padding: 1em;
387
+ margin-top: 3em;
388
+ margin-bottom: 3em;
389
+ }
390
+
391
+ .mission-container-row{
392
+ margin-top: 2.5em;
393
+ margin-bottom: 2.5em;
394
+ }
395
+
396
+ .mission-box{
397
+ background-color: rgba(white, 1);
398
+ border-radius: 1px;
399
+ padding: 1em;
400
+ margin: 0 auto;
401
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
402
+ }
403
+
404
+ .earth-picture{
405
+ max-width: 15em;
406
+ display: block;
407
+ margin: 0 auto;
408
+ }
409
+
410
+ .earth-picture-container{
411
+ margin: 0 auto;
412
+ background-color: rgba(white, 1);
413
+ padding: 1em;
414
+ width: 17em;
415
+ border-radius: 100000px;
416
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
417
+ }
418
+
419
+ .mission-text{
420
+ margin-bottom: 0;
421
+ }
422
+
423
+ // Instrument styles
424
+ .instrument-container{
425
+ padding: 2.5em;
426
+ margin-top: 3em;
427
+ margin-bottom: 3em;
428
+ }
429
+
430
+ .tirs-image-container{
431
+ background-color: rgba(white, 1);
432
+ padding: 1em;
433
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
434
+ margin-bottom: 1em;
435
+ }
436
+
437
+ .tirs-info-container{
438
+ background-color: rgba(white, 1);
439
+ padding: 1em;
440
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
441
+ }
442
+
443
+ .tirs-picture{
444
+ max-width: 15em;
445
+ padding: 0;
446
+ margin: 0 auto;
447
+ display: block;
448
+ }
449
+
450
+ .technical-container{
451
+ background-color: rgba(white, 1);
452
+ padding: 1em;
453
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
454
+ }
455
+
456
+ .technical-sub{
457
+ text-align: right;
458
+ display: block;
459
+ font-size: 1.25em;
460
+ font-weight: 350;
461
+ }
462
+
463
+ .technical-divider{
464
+ border-right: 1px solid $light-gray;
465
+ }
466
+
467
+ .technical-infos{
468
+ padding: 0.5em;
469
+ }
470
+
471
+ // Custom media resolution (for responsivity)
472
+ @media(max-width: 1090px){
473
+ .uw-logo{
474
+ height: 5em;
475
+ display: block;
476
+ margin: 0 auto;
477
+ }
478
+ .jpl-logo{
479
+ height: 6em;
480
+ display: block;
481
+ margin: 0 auto;
482
+ }
483
+ .ssec-logo{
484
+ height: 5em;
485
+ display: block;
486
+ margin: 0 auto;
487
+ }
488
+ .overview-point-text{
489
+ background-color: rgba(white, 1);
490
+ border-radius: 1px;
491
+ padding: 1em;
492
+ margin: 0 auto;
493
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
494
+ margin-left: -2em;
495
+ margin-right: 3em;
496
+ padding-left: 4em;
497
+ }
498
+ .earth-picture{
499
+ max-width: 12em;
500
+ display: block;
501
+ margin: 0 auto;
502
+ }
503
+ .earth-picture-container{
504
+ margin: 0 auto;
505
+ background-color: rgba(white, 1);
506
+ padding: 1em;
507
+ width: 14em;
508
+ border-radius: 100000px;
509
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
510
+ }
511
+ .tirs-picture{
512
+ max-width: 10em;
513
+ padding: 0;
514
+ margin: 0 auto;
515
+ display: block;
516
+ }
517
+
518
+ }
519
+
520
+ @media(max-width: 850px){
521
+ .jpl-logo{
522
+ height: 5em;
523
+ display: block;
524
+ }
525
+ .ssec-logo{
526
+ height: 4.5em;
527
+ display: block;
528
+ margin: 0 auto;
529
+ }
530
+ .uw-logo{
531
+ height: 4.5em;
532
+ display: block;
533
+ margin: 0 auto;
534
+ }
535
+ }
536
+
537
+ @media(max-width: 991px){
538
+ .mission-question-container{
539
+ margin-bottom: 3em;
540
+ }
541
+ .earth-picture-orbit-container{
542
+ margin-top: 3em;
543
+ }
544
+ .earth-picture{
545
+ max-width: 15em;
546
+ display: block;
547
+ margin: 0 auto;
548
+ }
549
+ .earth-picture-container{
550
+ margin: 0 auto;
551
+ background-color: rgba(white, 1);
552
+ padding: 1em;
553
+ width: 17em;
554
+ border-radius: 100000px;
555
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
556
+ }
557
+ .tirs-picture{
558
+ max-width: 15em;
559
+ padding: 0;
560
+ margin: 0 auto;
561
+ display: block;
562
+ }
563
+ .tirs-info-container{
564
+ background-color: rgba(white, 1);
565
+ padding: 1em;
566
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
567
+ margin-bottom: 3em;
568
+ }
569
+ }
570
+
571
+ @media(max-width: 767px){
572
+ .main-logos{
573
+ margin-bottom: 3em;
574
+ }
575
+ .jpl-logo{
576
+ height: 5em;
577
+ display: block;
578
+ margin-bottom:: 1.25em;
579
+ }
580
+ .ssec-logo{
581
+ height: 4.5em;
582
+ display: block;
583
+ margin: 0 auto;
584
+ }
585
+ .uw-logo{
586
+ height: 4.5em;
587
+ display: block;
588
+ margin: 0 auto;
589
+ margin-bottom:: 1.25em;
590
+ }
591
+ .overview-images-point{
592
+ max-width: 8em;
593
+ margin: 0 auto;
594
+ display: block;
595
+ margin-bottom: 0.5em;
596
+ background-color: rgba(white, 1);
597
+ padding: 0.5em;
598
+ border-radius: 10000px;
599
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
600
+ z-index: 50;
601
+ position: relative;
602
+ margin-bottom: -2em;
603
+ }
604
+ .overview-point-text{
605
+ background-color: rgba(white, 1);
606
+ border-radius: 1px;
607
+ padding: 1em;
608
+ margin: 0 auto;
609
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
610
+ padding-top: 2.5em;
611
+ }
612
+ .overview-container{
613
+ padding: 1em;
614
+ margin-top: 3em;
615
+ margin-bottom: 3em;
616
+ }
617
+ .pic{
618
+ height: 100%;
619
+ transform: scale(2);
620
+ }
621
+ .overview-body{
622
+ background-color: rgba(white, 1);
623
+ border-radius: 1px;
624
+ padding: 1em;
625
+ margin: 0 auto;
626
+ margin: 1em;
627
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
628
+ }
629
+ h2{
630
+ margin: 0 auto;
631
+ }
632
+ .item-header{
633
+ background-color: #2B336F;
634
+ padding: 2.5em;
635
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
636
+ }
637
+ }
Binary file
Binary file
Binary file
Binary file
data/assets/e1.png ADDED
Binary file
Binary file
Binary file