-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
144 lines (121 loc) · 2.26 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
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
@import url(http://fonts.googleapis.com/css?family=Lato:400,700);
body{
font-size: 18px;
width: 100%;
text-align: center;
font-family: 'Lato', sans-serif;
}
header{
width: 100%;
background-color: #990000;
height: 50px;
box-shadow: 0px 2px 2px #000;
}
header img{
height: 100%;
}
h1, h2, section, p{
max-width: 600px;
margin: .5em auto;
}
p{
padding: 0 1em;
}
section.instructionBtns button{
height: 2em;
border-radius: 5px;
background-color: #ffffff;
}
section.instructions{
padding: 0;
}
h1, h2{
font-family: 'Lato', sans-serif;
font-weight: 700;
}
.instructions a{
display: block;
font-weight: 600;
}
.instructions a:hover{
text-decoration: underline;
}
section#score{
width: 100%;
height: auto;
background: none;
}
.level-4 button{
background-color: #990000;
}
.level-3 button{
background-color: #993333;
}
.level-2 button{
background-color: #ff9966;
}
.level-1 button{
background-color: #ffcccc;
}
section#controls span:nth-of-type(odd){
float: left;
}
section#controls span:nth-of-type(even){
float: right;
}
section#controls input[type=range]{
margin: 3em auto;
width: 95%;
}
/* Instructions Reveal */
.instructions {
display: block;
overflow: hidden;
line-height: 0;
width: 100%;
text-decoration: none;
transition:1s;
/* Safari */
-webkit-transition:1s;
}
#keyboard:target, #leap:target{
line-height: 1em;
height: auto;
}
/* Loop Icon */
@font-face {
font-family: 'icomoon';
src:url('fonts/icomoon.eot');
src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
url('fonts/icomoon.woff') format('woff'),
url('fonts/icomoon.ttf') format('truetype'),
url('fonts/icomoon.svg#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
/* Use the following CSS code if you want to have a class per icon */
/*
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
[class*="icon-"] {
*/
section#score .selected-step button {
font-family: 'icomoon';
font-size: 1.5em;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
transition: .5s;
}
section#score .selected-step button:before {
content: "\e000";
}
#video{
width:500px;
height:300px;
margin:0 auto;
}