-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
64 lines (53 loc) · 1.06 KB
/
style.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
#slides {
overflow: hidden;
}
#toggler {
display: none;
position: absolute;
right: 30px;
top: 30px;
/* reset styling */
background: none;
border: none;
outline: none;
font-size: 2em;
transform: rotate(90deg); /* downward */
-webkit-transform: rotate(90deg);
transition: transform 200ms ease-out;
}
#toggler:before {
content: '»';
}
#slides_container {
transition: top 400ms ease-out, transform 400ms ease-out;
}
.visible-small {
display: none;
}
/* responsive */
@media screen and (max-width: 600px) {
#slides_container {
right: 40px;
max-height: 75vh;
width: auto;
}
#slides_container.collapsed {
top: 100%;
transform: translateY(-120px);
-webkit-transform: translateY(-120px);
}
#toggler {
display: block;
}
#slides_container.collapsed #toggler {
transform: rotate(270deg); /* upward */
-webkit-transform: rotate(270deg);
}
/* wrap the credits section to prevent overlapping */
div#credits span {
padding-top: 9px; /* half */
}
.visible-small {
display: inline;
}
}