-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
92 lines (78 loc) · 1.28 KB
/
styles.css
File metadata and controls
92 lines (78 loc) · 1.28 KB
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
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,
body {
font-family: "Helvetica", sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#card {
background-color: #222;
border-radius: 24px;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 400px;
height: 400px;
padding: 25px;
}
h1,
p,
footer {
color: #ccc;
text-align: center;
}
#num {
color: #cc00ff;
background-color: #222;
font-weight: 900;
font-size: 48px;
border: none;
text-align: center;
}
#num:active,
#num:focus {
border: #ccc;
}
p {
line-height: 20px;
}
#changeVal {
color: #ccc;
background-color: #cc00ff;
font-weight: 400;
font-size: 16px;
border: none;
border-radius: 12px;
padding: 10px 0;
}
footer {
font-size: 14px;
}
a {
color: #cc00ff;
}
@media screen and (max-width: 430px) {
#card {
width: 350px;
height: 300px;
}
h1 {
font-size: 28px;
}
#num {
font-size: 36px;
}
p,
#changeVal {
font-size: 14px;
}
footer {
font-size: 12px;
}
}