-
Notifications
You must be signed in to change notification settings - Fork 13
/
style.css
64 lines (54 loc) · 1.53 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
@import url(https://fonts.googleapis.com/css?family=Signika:400,700|Courgette);
#content section {
margin: 0em auto 0;
width: 100%;
max-width: 800px;
}
#content input {
display: block;
margin: .5em auto 0em;
padding: -0.5em 1em 0.5em 0.7em;
width: 100%;
border: none;
background: #159957;
color: white;
font-size: 2em;
line-height: 0;
transition: all .5s linear;
}
input:hover, input:focus {
outline: 0;
transition: all .5s linear;
box-shadow: inset 0px 0px 10px #ccc;
}
meter {
/* Reset the default appearance */
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
margin: 0 auto 1em;
width: 100%;
height: .5em;
/* Applicable only to Firefox */
background: none;
background-color: rgba(0,0,0,0.1);
}
meter::-webkit-meter-bar {
background: none;
background-color: rgba(0,0,0,0.1);
}
meter[value="1"]::-webkit-meter-optimum-value { background: red; }
meter[value="2"]::-webkit-meter-optimum-value { background: yellow; }
meter[value="3"]::-webkit-meter-optimum-value { background: orange; }
meter[value="4"]::-webkit-meter-optimum-value { background: green; }
meter[value="1"]::-moz-meter-bar { background: red; }
meter[value="2"]::-moz-meter-bar { background: yellow; }
meter[value="3"]::-moz-meter-bar { background: orange; }
meter[value="4"]::-moz-meter-bar { background: green; }
.feedback {
color: #9ab;
font-size: 90%;
padding: 0 .25em;
font-family: Courgette, cursive;
margin-top: 1em;
}