-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (97 loc) · 1.58 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
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html,
body {
font-family: "Oswald", sans-serif;
font-size: 62.5%;
}
body {
font-size: 1.6rem;
}
.container {
display: flex;
flex-direction: column;
height: 100vh;
align-items: center;
justify-content: center;
gap: 4rem;
}
.search {
display: flex;
width: 50%;
max-width: 60rem;
}
.search input {
padding: 0.5rem 1rem;
width: 100%;
}
.search input:focus-visible {
outline: 1px solid purple;
}
.primary-btn {
background: purple;
color: white;
padding: 0.5rem 1rem;
border: none;
}
.primary-btn:hover {
background: rgba(55, 1, 55, 0.788);
}
.primary-btn:active {
background: rgba(231, 59, 231, 0.788);
}
#profileContainer {
width: 100%;
}
.profile-box {
margin: auto;
padding: 4rem 2rem;
width: 90%;
max-width: 78rem;
box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
transition: 0.5s ease-in;
}
.profile-box:hover {
transform:scale(1.2);
transition: 0.5s ease-in;
}
.top-section {
display: flex;
justify-content: space-between;
}
.top-section button {
align-self: center;
}
.left {
display: flex;
align-items: center;
gap: 1rem;
}
.left h1 {
font-size: 1.6rem;
}
.avatar {
height: 10rem;
width: 10rem;
}
.avatar img {
height: 100%;
width: 100%;
border-radius: 50%;
}
.about {
margin: 2rem;
}
.status {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.status-item {
display: flex;
flex-direction: column;
align-items: center;
}