-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
122 lines (108 loc) · 2.1 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=Kumbh+Sans:wght@400;700&display=swap");
:root {
--ff: "Kumbh Sans", sans-serif;
--background-color: hsl(185, 75%, 39%);
--white: white;
--very-dark-blue: hsl(229, 23%, 23%);
--gray-blue: hsl(227, 10%, 46%);
}
* {
margin: 0;
padding: 0;
}
img {
display: block;
max-width: 100%;
}
html,
body {
min-height: 100%;
}
body {
-ms-overflow-style: none;
scrollbar-width: none;
overflow-y: scroll;
font-family: var(--ff);
background: url("images/bg-pattern-top.svg"),
url("images/bg-pattern-bottom.svg");
background-position: top -900px left -700px, bottom -1250px right -550px;
background-repeat: no-repeat;
background-size: cover;
background-color: var(--background-color);
background-blend-mode: overlay;
}
body::-webkit-scrollbar {
display: none;
}
.container {
position: relative;
width: 100%;
max-width: 21.9rem;
margin: 0 auto;
height: 23.5rem;
margin-top: 10.8rem;
display: flex;
flex-direction: column;
align-items: center;
border-radius: 15px;
background-color: var(--white);
}
.header-container {
width: 100%;
height: auto;
border-radius: 15px 15px 0 0;
}
.profile-container {
position: absolute;
top: 23%;
left: 35%;
border-radius: 50%;
border: 5px solid var(--white);
}
.details-container {
margin-top: 20%;
line-height: 25px;
}
.personal-details h1 {
color: var(--very-dark-blue);
font-size: 1.125rem;
}
.personal-details h2 span {
color: var(--gray-blue);
font-weight: 100;
}
.details-location {
color: var(--gray-blue);
font-weight: 100;
padding: 5px;
}
hr {
margin-top: 1rem;
opacity: 0.5;
width: 100%;
}
.info-container {
display: flex;
flex-direction: row;
text-align: center;
justify-items: center;
gap: 3rem;
padding: 1.9rem 1.4rem;
line-height: 20px;
}
.info-container h2 {
font-size: 19px;
color: var(--very-dark-blue);
font-weight: 700;
letter-spacing: 1px;
}
.info-container p {
font-size: 10px;
color: var(--gray-blue);
letter-spacing: 2px;
}
@media screen and (max-width: 1201px) {
.container {
margin-top: 9.3rem;
}
}