-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (63 loc) · 1.18 KB
/
style.css
File metadata and controls
74 lines (63 loc) · 1.18 KB
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
*, *::before, *::after{
box-sizing: border-box;
}
html, body{
overflow: auto;
margin: 0;
padding: 0;
}
body{
min-height: 100vh;
min-width: 100vw;
display: flex;
justify-content: center;
align-items: center;
background: url(./images/img.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
overflow: hidden;
}
.root{
position: relative;
}
#obj{
font-family: 'Special Elite', cursive;
background-color: rgba(15, 23, 46, 0.6);
width: 30rem;
display: flex;
height: 13rem;
align-items: center;
justify-content: center;
color: white;
font-size: 30px;
border-radius: 10%;
box-shadow: 0 0 15px 0 #0e0b31;
}
.img{
position: absolute;
z-index: 2;
top: -80px;
left: 84%;
}
img{
border-radius: 50%;
height: 10rem;
width: auto;
}
@media only screen and (max-width: 600px) {
.root{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.img{
position: static;
margin-bottom: 90px;
}
#obj{
width: 100vw;
border-radius: 0;
}
}