forked from stravid/sleepyti.me
-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
164 lines (162 loc) · 3.7 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
body {
background: #333;
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-size: 24px;
font-style: normal;
font-weight: 100;
text-decoration: none;
text-transform: none;
letter-spacing: 0em;
word-spacing: 0em;
line-height: 1.2;
color: #AAA;
}
::selection {
background: #4D0800; /* Safari */
}
::-moz-selection {
background: #4D0800; /* Firefox */
}
#container {
margin: 5% auto 0;
text-align: center;
background: #444;
width: 90%;
border-radius: 1em;
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
max-width: 40em;
min-width: 15em;
}
.header {
color: #999;
font-weight: 100;
text-shadow: 3px 3px 3px #000;
margin: 0;
}
h1.header {
padding-top: 0.5em;
padding-bottom: 0.1em;
}
h2.header {
font-size: 1.25em;
color: #888;
}
button {
margin-bottom: 1em;
}
.centerText {
text-align: center;
margin: 1em auto;
max-width: 25em;
}
#mainDetails {
padding: 0 0.5em;
}
#resultsContainer {
text-align: center;
margin: 1em auto;
}
#resultsContainer div {
max-width: 24em;
margin: 0 auto;
padding: 0 0.5em;
}
#results {
list-style: none;
text-align: center;
padding: 0;
margin: 1em 0.5em;
}
#results > li {
display: inline-block;
background: #222;
border-radius: 0.25em;
-webkit-border-radius: 0.25em;
-moz-border-radius: 0.25em;
padding: 0.25em 0.5em;
line-height: 1.25em;
margin-top: 0.45em;
}
#results > li.good {
background-color: #007034;
}
#results > li.gooder {
background-color: #009947;
color: #BBB;
}
#results > li.goodest {
background-color: #00A824;
color: #CCC;
}
/* Credit for the button styling goes to Chad Mazzola -- https://github.com/ubuwaits/css3-buttons*/
button.slick-black {
background: #111;
background: -moz-linear-gradient(top,
rgba(50, 50, 50, 0.9) 0%,
rgba(30, 30, 30, 0.9) 50%,
rgba(20, 20, 20, 0.9) 50%,
rgba(0, 0, 0, 0.9) 100%);
background: -webkit-gradient(linear, 0 0, 0 100%,
color-stop(0, rgba(50, 50, 50, 0.9)),
color-stop(0.5, rgba(30, 30, 30, 0.9)),
color-stop(0.5, rgba(20, 20, 20, 0.9)),
color-stop(1, rgba(0, 0, 0, 0.9)));
border: 0;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: inset 1px 1px 1px 0px rgba(135, 135, 135, 0.1), inset -1px -1px 1px 0px rgba(135, 135, 135, 0.1);
-webkit-box-shadow: inset 1px 1px 1px 0px rgba(135, 135, 135, 0.1), inset -1px -1px 1px 0px rgba(135, 135, 135, 0.1);
box-shadow: inset 1px 1px 1px 0px rgba(135, 135, 135, 0.1), inset -1px -1px 1px 0px rgba(135, 135, 135, 0.1);
color: #fff;
font-family: "helvetica neue", helvetica, arial, sans-serif;
font-size: 22px;
font-weight: lighter;
line-height: 1;
padding: 12px 0;
text-shadow: 0px -1px 1px rgba(0, 0, 0, .8), 0 1px 1px rgba(255, 255, 255, 0.3);
width: 150px;
}
button.slick-black:hover {
background: #222;
background: -moz-linear-gradient(top,
rgba(70, 70, 70, 0.9) 0%,
rgba(50, 50, 50, 0.9) 50%,
rgba(40, 40, 40, 0.9) 50%,
rgba(20, 20, 20, 0.9) 100%);
background: -webkit-gradient(linear, 0 0, 0 100%,
color-stop(0, rgba(70, 70, 70, 0.9)),
color-stop(0.5, rgba(50, 50, 50, 0.9)),
color-stop(0.5, rgba(40, 40, 40, 0.9)),
color-stop(1, rgba(20, 20, 20, 0.9)));
cursor: pointer;
}
button.slick-black:active {
background: #000;
background: -moz-linear-gradient(top,
rgba(30, 30, 30, 0.9) 0%,
rgba(20, 20, 20, 0.9) 50%,
rgba(10, 10, 10, 0.9) 50%,
rgba(0, 0, 0, 0.9) 100%);
background: -webkit-gradient(linear, 0 0, 0 100%,
color-stop(0, rgba(30, 30, 30, 0.9)),
color-stop(0.5, rgba(20, 20, 20, 0.9)),
color-stop(0.5, rgba(10, 10, 10, 0.9)),
color-stop(1, rgba(0, 0, 0, 0.9)));
}
#noscript {
background: black;
color: white;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
body.sleeping #sleepNow,
body.sleeping #mainDetails,
body.home #back,
body.home #resultsContainer{
display: none;
}