forked from terkelg/zuckerberg.smile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
79 lines (67 loc) · 1.11 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
html, body {
box-sizing: border-box;
font-size: 16px;
overflow: hidden;
}
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
margin: 0;
padding: 0;
font-weight: normal;
width: 100%;
height: 100%;
font-family: monospace;
}
h1 {
text-align: center;
margin-bottom: 20px;
margin-top: 40px;
width: 100%;
}
.center {
width: 100%;
max-width: 1000px;
margin: 0 auto;
}
.sprite {
background-image: url('assets/parth_sprites.png');
width: 100%;
background-size: cover;
}
.sprite-container {
display: flex;
justify-content: center;
align-items: center;
}
.value {
font-weight: bold;
}
.controller {
margin: 0 auto;
bottom: 100px;
text-align: center;
}
.mood {
font-size: 16px;
display: inline-block;
}
.mood__number {
font-weight: bold;
font-size: 18px;
}
.mood__slider {
display: inline-block;
width: 240px;
margin-top: 20px;
}
footer {
position: absolute;
text-align: center;
width: 100%;
bottom: 10px;
font-size: 10px;
}
@media only screen and (max-width : 450px) {
h1 { font-size: 20px; }
.mood__number { font-size: 14px; }
.mood__slider { width: 200px; }
}