-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
123 lines (102 loc) · 2.06 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
123
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;700&display=swap');
:root {
--vdmagneta: hsl(300, 43%, 22%);
--soft-pink: hsl(333, 80%, 67%);
--dgmagneta: hsl(303, 10%, 53%);
--lgmagneta: hsl(300, 24%, 96%);
}
/* Font-size: 0.8125rem, 2rem, 0.9625 */
* {
margin: 0;
padding: 0;
box-sizing: 0;
}
html {
height: 100%;
}
.clear {
clear: both;
}
body {
font-family: 'League Spartan';
line-height: 1.4;
background-image:
url(./images/bg-pattern-top-desktop.svg),
url(./images/bg-pattern-bottom-desktop.svg)
;
background-position: top left, bottom right;
background-repeat: no-repeat;
background-size: 40%, 70%;
}
.container {
padding: 90px 158px 94px 160px;
}
.upperbody {
display: grid;
grid-template-columns: 1fr 1fr;
}
.lowerbody {
padding-top: 60px;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
margin-left: -13px;
margin-right: -13px;
}
.big-intro {
font-weight: 700;
line-height: 0.8;
font-size: 3rem;
color: var(--vdmagneta);
max-width: 400px;
}
.small-intro {
color: var(--dgmagneta);
max-width: 400px;
padding-top: 25px;
}
.lowerbody > div {
background-color: var(--vdmagneta);
margin: 0px 13px 0px 13px;
padding: 28px;
border-radius: 8px;
color: white;
font-size: 0.9625rem;
}
.person {
padding-bottom: 20px;
}
.person > img {
width: 40px;
border-radius: 50%;
transform: translateY(5px);
}
.person-info {
display: inline-block;
padding-left: 13px;
}
.name {
font-weight: 700;
}
.verified {
color: var(--soft-pink);
}
.rate-text {
color: var(--vdmagneta);
font-size: 0.9625rem;
font-weight: 700;
transform: translateY(2px);
}
.ratings > div {
background-color: var(--lgmagneta);
max-width: 400px;
margin-top: 12px;
margin-bottom: 12px;
padding: 15px;
border-radius: 8px;
display: grid;
grid-template-columns: 0.7fr 1.3fr;
}
.rate-stars {
padding-left: 15px;
transform: translateY(3px);
}