forked from yeehaa123/coding-the-humanities-public
-
Notifications
You must be signed in to change notification settings - Fork 0
/
:w
102 lines (86 loc) · 1.52 KB
/
:w
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
@import "./bourbon/bourbon";
@import "./neat/neat";
@import "./custom_mixins/custom_mixins";
@import "./partials/_colors";
@import "./partials/_fonts";
@import "./partials/_base";
@import "./partials/_header";
@import "./partials/_site-nav";
@import "./partials/_footer";
@import "./partials/_card";
@import "./partials/_post";
@import "./partials/_table";
@import "./partials/_profile";
@import "./partials/_snippet";
@import "./partials/_topic";
@import "./partials/_chart";
.main {
padding: em(8) em(16);
@include row();
@include media($mobile){
padding: em(8);
padding-top: em(0);
}
}
.slides {
height: 90%;
overflow: hidden;
margin-bottom: 0;
}
.slide {
padding: 100px 0;
header {
position: fixed;
top: 0;
h1 {
font-size: em(24);
}
h2 {
text-align: center;
color: $base1;
}
}
p, li {
font-size: em(32);
}
h1 {
font-size: em(36);
line-height: em(36, 36);
}
li {
line-height: em(24);
}
section {
padding: 100px 0;
}
ul {
li {
p {
font-size: em(24);
}
}
}
width: em(800);
height: em(600);
&:not(.active) {
opacity: 0.5;
}
&.title, &.section-title {
padding: 100px 0;
header {
position: relative;
padding: em(30) 0;
width: 100%;
h1 {
font-size: em(48);
}
}
}
@for $i from 1 through length($labelColors) {
&.section-title:nth-of-type(#{$i}) {
header {
background: nth($labelColors, $i);
}
}
}
}