-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
208 lines (164 loc) · 2.8 KB
/
styles.css
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
/* Formatting text portion for tutorial */
.gif {
margin-top: 3vh;
width: 60vw;
}
.article-header {
margin-top: 15vh;
margin-bottom: 30px;
}
.line {
background-color: black;
height: 0.10em;
margin-bottom: 4vh;
}
.arrow {
transform: scale(0.5);
}
.idyll-text-container {
width: 90vw;
max-width: 80vw !important; /* so not restricted to 600px */
}
/* Center imgs */
.gif, .arrow, figcaption {
display: block;
margin-left: auto;
margin-right: auto;
}
/* Some text and pre formatting */
a {
color: #5BAFC1;
text-decoration: underline;
}
figcaption {
max-width: 30vw;
text-align: center;
}
figcaption p {
font-size: 0.8em !important;
}
h1, h2, h3 {
font-family: Verdana, Geneva, sans-serif;
}
h1 {
font-size: 2.5em;
}
h2 {
font-size: 1.5em;
color: #5BAFC1;
}
h3 {
font-size: 1.3em;
}
.byline {
font-size: 0.9em;
}
.text p, .idyll-step {
font-family: 'Open Sans', Verdana, Geneva, sans-serif;
font-size: 14px;
}
.emphasize {
background-color: rgb(248, 241, 201);
color: black;
font-weight: bold;
font-size: 0.9em;
padding: 0.25em;
}
.highlight pre, .code pre {
height: 50vh;
}
.idyll-root {
box-sizing: border-box;
margin: 0 0;
padding: 0;
margin-bottom: 60px;
}
/* Some formatting for the scroll and step boxes */
.idyll-scroll {
margin-top: 0;
width: 100vw;
}
/* Move the steps up and shorten them */
.idyll-scroll-text .idyll-step {
max-width: 45vw;
position: relative;
top: -150vh;
padding: 4vw;
}
/* CSS for scroller portion of tutorial to follow along */
.bar, .circle {
margin-left: 45vw;
background: transparent;
transition: 400ms linear all;
}
/* Format the graphics */
.circle {
height: 35vh;
}
.bar {
width: 25vw;
height: 10vh;
}
/* Animations */
.rotate1 {
transform: rotate(90deg);
}
.rotate2 {
transform: rotate(210deg);
}
.enlarge1 {
transform: scale(2);
}
.enlarge2 {
transform: scale(2.2);
}
/* Change graphic background based on Scroller id */
#idyll-scroll-0 .idyll-scroll-graphic {
background: rgb(241, 239, 224);
}
#idyll-scroll-1 .idyll-scroll-graphic {
background: #5BAFC1;
}
/* Decrease the margin depending on window size for steps */
@media only screen and (min-width: 600px) {
.gif {
width: 40vw;
}
.idyll-scroll-text .idyll-step {
padding: 2vw;
}
}
@media only screen and (min-width: 768px) {
.bar, .circle {
margin-left: 68vw;
}
.text p, .idyll-step {
font-size: 15px;
}
.idyll-scroll-text .idyll-step {
max-width: 40vw;
}
.idyll-text-container {
width: 45vw;
}
}
@media only screen and (min-width: 2000px) {
.bar, .circle {
margin-left: 75vw;
}
.text p, .idyll-step, p {
font-size: 25px;
}
pre {
font-size: 20px;
}
h1 {
font-size: 2.7em;
}
h2 {
font-size: 1.7em;
}
h3 {
font-size: 1.5em;
}
}