-
Notifications
You must be signed in to change notification settings - Fork 1
/
timeline.css
258 lines (254 loc) · 6.73 KB
/
timeline.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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
/* line 34, ../sass/_vars.scss */
.timeline article:after {
content: "";
display: table;
clear: both;
}
/* line 1, ../sass/_timeline.scss */
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* line 9, ../sass/_timeline.scss */
.timeline {
padding: 1rem;
font-family: helvetica;
position: relative;
}
/* line 13, ../sass/_timeline.scss */
.timeline:before {
content: '';
position: absolute;
height: 100%;
width: 0.5rem;
background: #e9eeef;
left: -moz-calc(50% - .25rem);
left: -o-calc(50% - .25rem);
left: -webkit-calc(50% - .25rem);
left: calc(50% - .25rem);
}
/* line 21, ../sass/_timeline.scss */
.timeline img {
width: 100%;
margin-bottom: 1rem;
}
/* line 26, ../sass/_timeline.scss */
.timeline em {
font-style: italic;
}
/* line 30, ../sass/_timeline.scss */
.timeline strong {
font-weight: bold;
}
/* line 34, ../sass/_timeline.scss */
.timeline > li {
position: relative;
list-style-type: none;
clear: both;
}
/* line 38, ../sass/_timeline.scss */
.timeline > li:before {
content: '';
width: 3rem;
height: 3em;
display: block;
position: absolute;
top: -1em;
left: -moz-calc(50% - 1.5rem);
left: -o-calc(50% - 1.5rem);
left: -webkit-calc(50% - 1.5rem);
left: calc(50% - 1.5rem);
border-radius: 4em;
background-image: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 51, color-stop(30%, #ffffff), color-stop(31%, #cfd9db), color-stop(50%, #cfd9db), color-stop(51%, #ffffff));
background-image: -webkit-radial-gradient(#ffffff 30%, #cfd9db 31%, #cfd9db 50%, #ffffff 51%);
background-image: -moz-radial-gradient(#ffffff 30%, #cfd9db 31%, #cfd9db 50%, #ffffff 51%);
background-image: -o-radial-gradient(#ffffff 30%, #cfd9db 31%, #cfd9db 50%, #ffffff 51%);
background-image: radial-gradient(#ffffff 30%, #cfd9db 31%, #cfd9db 50%, #ffffff 51%);
}
/* line 50, ../sass/_timeline.scss */
.timeline article {
display: block;
line-height: 1.5em;
color: #323232;
background: white;
border: 1px solid #e9eeef;
width: 100%;
margin-bottom: 4em;
}
@media (min-width: 60em) {
/* line 50, ../sass/_timeline.scss */
.timeline article {
width: 45%;
}
}
/* line 62, ../sass/_timeline.scss */
.timeline article p, .timeline article ul, .timeline article ol {
padding: 0 1rem 1rem 1rem;
}
/* line 66, ../sass/_timeline.scss */
.timeline article ul, .timeline article ol {
list-style-position: inside;
}
/* line 70, ../sass/_timeline.scss */
.timeline time {
color: white;
background: #5f8ae8;
display: inline-block;
position: relative;
font-weight: bold;
padding: .5em;
}
/* line 79, ../sass/_timeline.scss */
.timeline h2 {
font-size: 1.5em;
font-weight: bold;
font-family: helvetica;
padding: 1rem;
}
/* line 86, ../sass/_timeline.scss */
.timeline footer {
background: #f8f9fa;
padding-top: 1rem;
}
/* line 89, ../sass/_timeline.scss */
.timeline footer a {
color: #5f8ae8;
}
/* line 94, ../sass/_timeline.scss */
.timeline-vertical article {
float: left;
}
/* line 97, ../sass/_timeline.scss */
.timeline-vertical time {
margin-left: 0em;
}
@media (min-width: 60em) {
/* line 97, ../sass/_timeline.scss */
.timeline-vertical time {
padding-left: 0;
}
}
@media (min-width: 60em) {
/* line 97, ../sass/_timeline.scss */
.timeline-vertical time {
margin-left: 8rem;
top: -.5rem;
}
/* line 103, ../sass/_timeline.scss */
.timeline-vertical time:after {
content: '';
width: 0;
height: 0;
border-width: 1em;
border-color: transparent;
border-style: solid;
border-right-color: #5f8ae8;
position: absolute;
left: -2em;
top: 0;
}
}
@media (min-width: 60em) {
/* line 115, ../sass/_timeline.scss */
.timeline-vertical li:nth-child(2n) article {
float: right;
margin-left: 8em;
margin-top: -.4em;
}
}
/* line 122, ../sass/_timeline.scss */
.timeline-vertical li:nth-child(2n) time {
padding-left: .5em;
}
@media (min-width: 60em) {
/* line 122, ../sass/_timeline.scss */
.timeline-vertical li:nth-child(2n) time {
position: absolute;
right: 54.5%;
padding-right: 0;
}
}
@media (min-width: 60em) {
/* line 130, ../sass/_timeline.scss */
.timeline-vertical li:nth-child(2n) time:after {
content: '';
width: 0;
height: 0;
border-width: 1rem;
border-color: transparent;
border-style: solid;
border-left-color: #5f8ae8;
left: auto;
right: -2em;
top: 0;
}
}
@media (min-width: 60em) {
/* line 142, ../sass/_timeline.scss */
.timeline-horizontal {
overflow-x: scroll;
width: 95%;
margin: 0 auto;
white-space: nowrap;
padding-bottom: 4rem;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, transparent), color-stop(85%, transparent), color-stop(85%, #e9eeef), color-stop(86%, #e9eeef), color-stop(86%, transparent));
background-image: -webkit-linear-gradient(top, transparent 0%, transparent 85%, #e9eeef 85%, #e9eeef 86%, transparent 86%);
background-image: -moz-linear-gradient(top, transparent 0%, transparent 85%, #e9eeef 85%, #e9eeef 86%, transparent 86%);
background-image: -o-linear-gradient(top, transparent 0%, transparent 85%, #e9eeef 85%, #e9eeef 86%, transparent 86%);
background-image: linear-gradient(top, transparent 0%, transparent 85%, #e9eeef 85%, #e9eeef 86%, transparent 86%);
}
/* line 150, ../sass/_timeline.scss */
.timeline-horizontal:before {
display: none;
}
/* line 154, ../sass/_timeline.scss */
.timeline-horizontal time {
position: absolute;
bottom: -3.5rem;
left: 35%;
}
/* line 159, ../sass/_timeline.scss */
.timeline-horizontal time:before {
content: '';
width: 0;
height: 0;
border-width: 0.8rem;
border-color: transparent;
border-style: solid;
border-bottom-color: #5f8ae8;
position: absolute;
top: -1.5rem;
left: -moz-calc(50% - .8rem);
left: -o-calc(50% - .8rem);
left: -webkit-calc(50% - .8rem);
left: calc(50% - .8rem);
}
/* line 167, ../sass/_timeline.scss */
.timeline-horizontal > li {
display: inline-block;
width: 33%;
margin-right: 2rem;
}
/* line 170, ../sass/_timeline.scss */
.timeline-horizontal > li:before {
top: auto;
bottom: -.25rem;
position: absolute;
}
/* line 181, ../sass/_timeline.scss */
.timeline-horizontal article {
float: none;
clear: both;
width: 100%;
white-space: normal;
}
}
@media (min-width: 60em) and (min-width: 80em) {
/* line 167, ../sass/_timeline.scss */
.timeline-horizontal > li {
width: 25%;
}
}