-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
127 lines (111 loc) · 2.38 KB
/
stylesheet.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
124
125
126
127
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
.profile-card img{
width: 150px;
/* height: 150px; */
border-radius: 50%;
border: 2px solid white;
cursor: pointer;
}
body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: url(back2.jpg) no-repeat center;
background-size: cover;
}
.profile-card{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
gap: 3em;
padding: 2% 2%;
border-radius: 1em;
background-color: rgba(148, 148, 148, 0.25);
backdrop-filter: blur(50px);
border: 1px solid rgba(255, 255, 255, 0.3);
color: white;
}
.numbers-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2em;
}
.profile-card .btn-box{
display: flex;
align-items: center;
justify-content: center;
gap: 1em;
}
.btn-box button{
padding: 12px 25px;
font-size: 16px;
border-radius: 5px;
margin-bottom: 1em;
cursor: pointer;
transition: 0.3s ease;
border: 2px solid transparent;
}
.btn-box .follow{
background-color: white;
color: black;
}
.btn-box .follow:hover{
background-color: transparent;
border: 2px solid white;
color: white;
}
.btn-box .message{
background-color: transparent;
color: white;
border: 2px solid white;
}
.btn-box .message:hover{
background-color: white;
color: black;
}
.numbers-grid .box p:first-child{
font-weight: 800;
}
.numbers-grid .box p:last-child{
font-weight: 400;
opacity: 0.8;
}
.info-box{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 1em;
}
.info{
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
margin-top: 1.5em;
}
.info h2{
margin-bottom: 1rem;
}
@media(max-width: 900px){
.profile-card .numbers-grid{
display: grid;
grid-template-columns: repeat(1, 1fr);
}
.btn-box button{
padding: 12px;
font-size: 14px;
border-radius: 5px;
cursor: pointer;
border: 2px solid transparent;
transition: 0.3s ease;
}
}