-
Notifications
You must be signed in to change notification settings - Fork 1
/
onabingo.css
200 lines (191 loc) · 3.55 KB
/
onabingo.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
body {
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 100%;
margin: 0;
padding: 0;
}
header {
background-color: #fff;
border-bottom: 3px solid #333;
padding: 1em;
}
.brand {
color: #11142d;
font-size: 2em;
margin: 0;
}
.main {
margin-left: auto;
margin-right: auto;
padding-bottom: 2em;
padding-top: 2em;
position: relative;
text-align: right;
transition: width 0.5s;
width: 50%;
}
@media screen and (max-width: 1000px) {
.main {
width: 75%;
}
}
@media screen and (max-width: 700px) {
.main {
width: 100%;
}
}
.main a {
color: #248cc8;
}
.main a:hover {
color: #f47e3c;
}
.bingo-space {
background-color: #eee;
color: #333;
cursor: pointer;
font-size: 1em;
padding: 1em;
text-align: center;
transition: background-color 0.5s, color 0.5s, font-size 0.5s, padding 0.5s;
width: 20%;
}
@media screen and (max-width: 600px) {
.bingo-space {
font-size: 0.875em;
padding: 0.75em;
}
}
@media screen and (max-width: 450px) {
.bingo-space {
font-size: 0.75em;
padding: 0.5em;
}
}
.bingo-space:hover {
background-color: #e05641;
color: #fff;
}
.bingo-space.selected {
background-color: #e05641;
color: #fff;
}
.bingo-reset,
.bingo-tweet {
background-color: #e05641;
border: 0px none;
color: #fff;
cursor: pointer;
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 0.6em;
letter-spacing: 1px;
margin-top: 1em;
padding: 10px;
text-align: center;
text-transform: uppercase;
transition: background-color 0.5s;
}
.bingo-reset:hover,
.bingo-tweet:hover {
background-color: #74756b;
opacity: 1;
}
.bingo-tweet {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 0.5em;
}
.bingo-win {
background-color: #fff;
border-radius: 1em;
border: 1px solid rgba(116, 116, 116, 0.2);
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
display: none;
left: 1em;
padding: 1em;
position: absolute;
right: 1em;
text-align: left;
text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
top: 3em;
z-index: 10;
}
.bingo-win.bingo-win--won {
display: block;
}
.bingo-win__close {
background-color: transparent;
border: 0;
color: #666;
cursor: pointer;
font-size: 0.75em;
padding: 0.5em;
position: absolute;
right: 0.5em;
top: 0.5em;
}
.bingo-win__close:hover {
color: #333;
}
.bingo-win h1 {
margin-top: 0;
}
.bingo-session {
background-color: transparent;
border: 0;
border-bottom: 2px solid #666;
margin-left: 1em;
}
.bingo-win__prompts {
text-align: center;
}
.bingo-win__prompts button {
display: inline-block;
margin-right: 2em;
}
.bingo-win__prompts button:last-of-type {
margin-right: auto;
}
article {
text-align: left;
}
.dateline {
font-size: 0.8em;
font-style: italic;
}
footer {
background-color: #3b3b35;
line-height: 2;
padding: 1em;
text-align: right;
}
footer p {
color: #fff;
display: inline;
font-size: 0.75em;
}
footer p:after {
border-right: 1px solid #666;
content: '';
margin-left: 1em;
margin-right: 1em;
}
footer p:last-of-type:after {
content: none;
}
@media screen and (max-width: 600px) {
footer p {
display: block;
}
footer p:after {
display: none;
}
}
footer a {
color: #e05641;
text-decoration: none;
}
footer a:hover {
color: #f0aba0;
}