-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
91 lines (78 loc) · 1.59 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
body {
background: conic-gradient(#85c7b1, #3a94e7, #79d3a9, #79d3a9, #3a94e7, #85c7b1);
color: black;
font-family: sans-serif;
height: 100vh;
width: 100vw;
}
.container{
margin: auto;
max-width: 100vh;
max-height: 100vh;
}
.card {
border: 3px solid;
border-radius: 1em;
width: 38rem;
text-align: center;
padding: 2em;
position:absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
backdrop-filter: blur(100px);
}
.perfil img {
border: 1px solid;
width: 9em;
object-fit: cover;
border-radius: 50%;
box-shadow: 0 0 5px;
}
.perfil h1 {
font-size: 1.5em;
}
.biografia p {
line-height: 1.8em;
text-align: center;
}
.redes-sociais {
display: flex;
justify-content: space-around;
margin-bottom: 2em;
}
.redes-sociais a {
color: black;
text-decoration: none;
border: 1px solid;
padding: 0.5em;
border-radius: 0.5em;
}
/* RESPONSIVIDADE */
@media screen and (max-width: 48rem) {
.container{
margin: 2em;
}
.card{
border: none;
max-width: 80vw;
}
.redes-sociais {
flex-direction: column;
margin: auto 0.8rem;
gap: 0.5em;
}
.redes-sociais a {
justify-content: center;
margin: 0.5em;
width: 7.5em;
max-width: 7.5em;
margin: auto;
}
.biografia p {
padding-top: 1.5em;
margin: auto;
max-width: 90vw;
flex-wrap: wrap;
}
}