-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
269 lines (231 loc) · 4.07 KB
/
stylesheet.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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
/* imports ********************/
@font-face {
font-family: 'Dimitri Swank';
font-style: normal;
font-weight: normal;
src: local('Dimitri Swank'), url('assets/fonts/DIMIS___.woff') format('woff');
}
/* general ********************/
* {
box-sizing: border-box;
}
body {
font-family: 'Questrial', sans-serif;
}
h2 {
margin: 20px 0;
}
a:link {
text-decoration: none;
color: #a868fb;
}
a:hover {
text-decoration: underline;
}
a:active {
color: #8023fa;
}
a:visited {
color: #a868fb;
}
/* heading ********************/
.main-header {
background-color: white; /*#ac8aff*/;
border-bottom: 20px solid #6441a4;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 30px 0;
}
.twitch-logo {
width: 150px;
height: auto;
}
.main-title {
font-family: 'Dimitri Swank', sans-serif;
color: #6441a4;
font-size: 2.5em;
}
.separator {
width: 200px;
margin: 20px auto 0;
border: 2px solid #bbb;
}
/* layout ********************/
#results-container {
max-width: 320px;
margin: 0 auto;
line-height: 0;
}
#list-container {
margin: 0;
padding: 0;
list-style: none;
}
.list-item {
box-shadow: 0 5px 10px #999;
margin-bottom: 40px;
}
.list-layout {
display: flex;
flex-direction: column;
margin-bottom: 0;
}
/* preview layout ********************/
.preview {
display: flex;
justify-content: center;
align-items: center;
}
.image-placeholder {
width: 133.25px;
height: 139.5px;
margin: 30px auto;
}
/* stream info layout ********************/
.stream-info-container {
width: 100%;
line-height: 1.1;
color: #484848;
background-color: #f5f5f5;
}
.stream-title h2 {
color: white;
font-size: 20px;
margin: 0;
padding: 20px;
background-color: slategrey;
text-shadow: 2px 2px 5px #303030;
}
.stream-info-container h3 {
font-size: 1.1em;
margin: 10px 0;
padding: 0 20px;
}
.stream-info-container p {
font-size: .95em;
margin: 0 0 5px;
padding: 0 20px;
}
/* footing ********************/
.main-footer {
background-color: #ac8aff;
border-top: 20px solid #6441a4;
color: #0f0f0f;
font-family: 'Oswald', sans-serif;
font-size: 1.5em;
padding: 0;
display: flex;
align-items: center;
flex-direction: column;
}
.main-footer ul {
display: flex;
padding: 0;
margin: 0;
}
.main-footer li {
justify-content: space-between;
list-style: none;
margin: 10px 10px 10px 0;
padding-left: 10px;
}
.author li:nth-child(n+2) {
border-left: 2px solid #fff;
}
/* social media icons ********************/
.social-media {
margin-right: auto;
}
.social-media-icons {
border-radius: 10px;
width: 40px;
height: 40px;
}
/* card colors ********************/
.live h2 {
background-color: #41a464;
}
.live-shade {
background-color: #b6e2c6;
}
.not-found h2 {
background-color: #b92638;
}
.not-found-shade {
background-color: #efced2;
}
/* breakpoints ********************/
@media only screen and (min-width: 320px) {
iframe {
width: 320px;
height: 180px;
}
}
@media only screen and (min-width: 480px) {
iframe {
width: 480px;
height: 270px;
}
#results-container {
max-width: 480px;
}
}
@media only screen and (min-width: 768px) {
iframe {
width: 320px;
height: 180px;
}
#results-container {
max-width: 720px;
}
.main-header {
flex-direction: row;
justify-content: space-around;
align-items: center;
font-size: 1.5em;
}
.twitch-logo {
width: 300px;
}
.separator {
display: none;
}
.list-layout {
flex-direction: row;
}
.stream-info-container {
font-size: 1em;
}
.image-placeholder {
margin: 30px 93.375px;
}
.main-footer {
flex-direction: row;
justify-content: space-between;
font-size: 1.75em;
}
.main-footer ul {
margin: 0 auto;
}
.social-media-icons {
width: 50px;
height: 50px;
}
}
@media only screen and (min-width: 1280px) {
iframe {
width: 480px;
height: 270px;
}
#results-container {
max-width: 1280px;
}
.stream-info-container {
font-size: 1.25em;
}
.image-placeholder {
margin: 30px 173.375px;
}
}