-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
122 lines (105 loc) · 2.2 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
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
@import url("https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap");
:root {
--Orange: hsl(25, 97%, 53%);
--White: hsl(0, 0%, 100%);
--Light-Grey: hsl(217, 12%, 63%);
--Medium-Grey: hsl(216, 12%, 54%);
--Dark-Blue: hsl(213, 19%, 18%);
--Very-Dark-Blue: hsl(216, 12%, 8%);
--Secondary: hsl(213, 20%, 22%);
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Overpass", sans-serif;
}
.hidden {
display: none;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--Very-Dark-Blue);
}
.card {
background-color: var(--Dark-Blue);
border-radius: 1rem;
width: 350px;
}
.card-container {
padding: 2rem;
}
.star-icon {
background-color: var(--Secondary);
width: fit-content;
padding: 1rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin-bottom: 1rem;
}
.title {
color: var(--White);
margin-bottom: 1rem;
}
.description {
font-size: 14px;
color: var(--Medium-Grey);
margin-bottom: 1rem;
}
.ratings {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1rem;
}
.ratings span {
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--Secondary);
border-radius: 50%;
color: var(--Medium-Grey);
margin-bottom: 1rem;
cursor: pointer;
}
.ratings span:hover {
background-color: var(--Light-Grey);
color: var(--White);
}
.submit-btn {
width: 100%;
color: var(--White);
border: none;
border-radius: 2rem;
background-color: var(--Orange);
padding: 0.7rem;
text-transform: uppercase;
cursor: pointer;
}
.submit-btn:hover {
background-color: var(--White);
color: var(--Orange);
}
.thank-section {
text-align: center;
}
.chip {
background-color: var(--Secondary);
width: fit-content;
margin: 1rem auto;
color: var(--Orange);
font-size: 14px;
padding: 0.7rem;
border-radius: 2rem;
}
.checked {
background-color: var(--Orange) !important;
color: var(--White) !important;
}