-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (104 loc) · 2.25 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
@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap');
:root {
/* PRIMARY COLOR */
--orange: hsl(25, 97%, 53%);
/* NEUTRAL COLORS */
--white: hsl(0, 0%, 100%);
--light-grey: hsl(217, 12%, 63%);
--medium-grey: hsl(216, 12%, 54%);
--light-dark-blue: hsl(212, 19%, 31%);
--dark-blue: hsl(213, 19%, 18%);
--very-dark-blue: hsl(216, 12%, 8%);
/* FONTS */
--font-main: 'Overpass', sans-serif;
/* TYPOGRAPHY */
--font-size: 15px;
}
* {
margin: 0;
padding: 0%;
box-sizing: border-box;
}
body {
background-color: var(--very-dark-blue);
color: var(--white);
font-family: var(--font-main);
font-weight: 400;
}
.container {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.wrapper {
background-color: var(--dark-blue);
padding: 2.5rem;
width: 400px;
height: auto;
border-radius: 25px;
}
.star {
background-color: var(--light-dark-blue);
width: 40px;
height: 40px;
border-radius: 100px;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 1.5rem;
}
.star img {
width: 25px;
height: 25px;
}
.title {
font-family: var(--font-main);
font-weight: 700;
margin-bottom: 1rem;
font-size: 2rem;
}
.desc {
font-family: var(--font-main);
font-weight: 400;
margin-bottom: 1rem;
font-size: 1rem;
color: var(--medium-grey);
}
.ratings {
display: flex;
justify-content: space-between;
}
.ratings .numbers {
padding: 1rem;
background-color: var(--light-dark-blue);
width: 50px;
height: 50px;
color: var(--light-grey);
border-radius: 100px;
display: flex;
justify-content: center;
align-items: center;
margin: 1rem 0 2.5rem 0;
cursor: pointer;
}
.ratings .numbers:hover {
background-color: var(--orange);
color: var(--white);
}
.submit-btn {
width: 100%;
background-color: var(--orange);
text-decoration: none;
color: var(--white);
padding: 1rem 2rem;
border-radius: 100px;
font-weight: 700;
display: flex;
justify-content: center;
align-items: center;
}
.submit-btn:hover {
background-color: var(--white);
color: var(--orange);
}