-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
122 lines (113 loc) · 2.09 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&display=swap");
*,
html {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Kumbh Sans", sans-serif;
}
body{
background-color: hsl(185, 75%, 39%);
background-size: 70%;
background-image: url(/images/bg-pattern-top.svg);
background-position: -50% 50%;
background-repeat:repeat;
}
.profile-box {
width: 80%;
height: 80vh;
border-radius: 15px;
background-image: url(/images/bg-pattern-card.svg);
background-size: 100% 40vh;
background-repeat: repeat-x;
position: absolute;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: rgb(255, 255, 255);
margin-top: 10vh;
}
.profile-image {
position: absolute;
background-image: url(/images/image-victor.jpg);
background-repeat: no-repeat;
background-size: 100%;
width: 105px;
height: 105px;
border: 5px solid white;
background-position: cover;
border-radius: 50px;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
}
hr{
width: 100%;
position: relative;
top: 55vh;
}
ul {
list-style-type: none;
text-align: center;
display: inline-block;
height: fit-content;
width: 100%;
position: relative;
top: 63vh;
}
li {
display: inline-block;
margin: 10px;
font-weight: 700;
font-size: 22px;
}
small{
font-size: 10px;
}
h2 {
text-align: center;
position: relative;
top: 48vh;
line-height: 30px;
}
i {
font-style: normal;
color: hsl(0, 0%, 59%);
}
.attribution{
width: 100%;
position: absolute;
text-align: center;
font-size: 14px;
bottom: 0px;
color: hsl(0, 0%, 0%);
}
@media only screen and (min-width: 600px){
body{
background-color: hsl(185, 75%, 39%);
background-size: 70%;
background-image: url(/images/bg-pattern-top.svg);
background-position: -50% 50%;
background-repeat:repeat;
}
.profile-box{
width: 35%;
background-size: 70vh;
}
.profile-image{
top: -23vh;
}
h2{
top:37vh;
}
hr{
top: 40vh;
}
ul{
top: 45vh;
}
}