-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
119 lines (102 loc) · 1.96 KB
/
index.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
* {
display: border-box;
padding: 0;
margin: 0;
}
body {
font-family: 'Overpass', sans-serif;
font-size: 15px;
background-color: var(--very-dark-blue);
height: 100dvh;
}
:root {
--orange: hsl(25, 97%, 53%);
--white: hsl(0, 0%, 100%);
--light-gray: hsl(217, 12%, 63%);
--medium-gray: hsl(217, 9%, 28%);
--dark-blue: hsl(213, 19%, 18%);
--very-dark-blue: hsl(216, 12%, 8%);
}
h1 {
color: var(--white);
font-weight: 400;
line-height: 1.75;
}
.card {
background-color: var(--dark-blue);
height: 24rem;
width: 20rem;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border-radius: 2rem;
padding-inline: 1.5rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
flex-wrap: wrap;
justify-content: center;
}
#second {
text-align: center;
}
.icon>svg {
fill: var(--orange);
padding: 16px;
background-color: var(--medium-gray);
border-radius: 50%;
}
button {
background-color: var(--medium-gray);
width: 50px;
height: 50px;
border-radius: 50%;
border: none;
}
.rating {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
input {
background-color: var(--orange);
color: white;
width: 20rem;
height: 50px;
border: none;
border-radius: 2rem;
font-weight: 700;
letter-spacing: 2px;
}
.result {
background-color: var(--medium-gray);
width: fit-content;
margin-inline: auto;
padding-inline: 1rem;
padding-block: 0.5rem;
border-radius: 2rem;
}
.description>p {
color: var(--light-gray);
line-height: 1.5;
}
button {
color: var(--light-gray);
}
span,
.result {
color: var(--orange);
}
input:hover {
background-color: var(--white);
color: var(--orange);
}
button:hover {
background-color: var(--orange);
color: var(--white);
}
button:focus {
background-color: var(--light-gray);
color: var(--white);
}