-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (85 loc) · 1.84 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
@import url("https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap");
:root {
--primary-color: hsl(75, 94%, 57%);
--White: hsl(0, 0%, 100%);
--Grey: hsl(0, 0%, 20%);
--Dark-Grey: hsl(0, 0%, 12%);
--Off-Black: hsl(0, 0%, 8%);
--paragraph-font-size: 14px; /*paragraph*/
}
* {
box-sizing: border-box;
}
body {
background-color: var(--Off-Black);
color: var(--White);
height: 100vh;
margin: 0;
overflow-x: hidden;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 15px;
font-size: var(--paragraph-font-size);
font-family: "Inter", Poppins;
}
.profile-card {
width: 320px;
max-width: 320px;
height: 497px;
height: fit-content;
background-color: var(--White);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 15px;
padding: 30px;
background: var(--Dark-Grey);
display: flex;
flex-direction: column;
text-align: center;
}
.profile-card img{
border-radius: 50%;
width: 100px;
height: auto;
}
.profile-card .name{
font-size: 20px;
font-weight: 600;
}
.profile-card .location{
color: var(--primary-color);
margin-top: -10px;
margin-bottom: 30px;
}
.profile-card .about{
font-size: 12px;
}
.profile-card .profile-link{
display: block;
background: var(--Grey);
width: 100%;
margin: 10px auto;
border-radius: 5px;
padding: 15px;
text-align: center;
color: var(--White);
text-decoration: none;
font-weight: 600;
}
.profile-card .profile-link:hover{
background: var(--primary-color);
color: var(--Off-Black);
}
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
@media screen and (max-width: 375px) {
.qr-card {
max-width: 320px;
}
}