-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
96 lines (83 loc) · 1.65 KB
/
styles.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
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@800&family=Open+Sans&display=swap");
:root {
--LightCyan: hsl(193, 38%, 86%);
--NeonGreen: hsl(150, 100%, 66%);
--GrayishBlue: hsl(217, 19%, 38%);
--DarkGrayishBlue: hsl(217, 19%, 24%);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Manrope", sans-serif;
font-size: 28px;
background: hsl(220, 16%, 15%);
padding: 1.25rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
padding: 1.25rem;
background: var(--DarkGrayishBlue);
border-radius: 0.7em;
}
h1 {
font-size: 0.9rem;
color: var(--NeonGreen);
text-align: center;
text-transform: uppercase;
letter-spacing: 0.3rem;
margin-bottom: 1.5em;
}
p {
color: var(--LightCyan);
text-align: center;
font-size: 1.5rem;
margin-bottom: 1em;
}
.divider img {
width: 100%;
}
.container button {
background: var(--NeonGreen);
padding: 1.6rem;
border-radius: 50%;
border: none;
position: relative;
left: 50%;
transform: translate(-50%, 75%);
cursor: pointer;
}
.container button:hover {
background: hsl(150, 100%, 50%);
box-shadow: 1px 1px 20px 1px hsl(150, 100%, 50%);
}
.container button img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
footer {
position: absolute;
bottom: 1em;
}
.attribution {
font-size: 11px;
text-align: center;
color: var(--LightCyan);
}
.attribution a {
color: var(--NeonGreen);
text-decoration: none;
}
@media (min-width: 500px) {
.container {
max-width: 480px;
}
}