-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
77 lines (71 loc) · 1.59 KB
/
style.css
File metadata and controls
77 lines (71 loc) · 1.59 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
75
76
77
body, html {
margin: 0;
padding: 0;
height: 100vh;
background:
linear-gradient(
rgba(0, 0, 0, 0.65),
rgba(0, 0, 0, 0.65)
),
url(person-london-webdesign-bitcoin.jpeg);
background-position-x: -350px;
background-size: cover;
}
.wrapper {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-10%, -80%);
width: 500px;
box-sizing: border-box;
background: #fff;
border-radius: 10px;
box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}
.circle {
margin: 40px 10px 30px 10px;
width: 200px;
height: 200px;
background: url(person.jpeg);
float: left;
background-position-x: -55px;
background-position-y: -25px;
border-radius: 50%;
shape-outside: circle();
}
p {
margin: 5px;
padding: 5px;
text-align: justify;
line-height: 22px;
}
h1 {
margin: 10 10 20px;
padding: 50;
font-size: 28px;
text-align: center;
}
@media only screen and (max-width: 600px) {
.wrapper {
position: absolute;
top: 50%;
left: 10%;
transform: translate(-10%, -80%);
width: 400px;
box-sizing: border-box;
background: #fff;
border-radius: 10px;
box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}
.circle {
margin: 40px 10px 30px 10px;
width: 150px;
height: 150px;
background: url(person_sm.jpeg);
float: left;
background-position-x: -55px;
background-position-y: -25px;
border-radius: 50%;
shape-outside: circle();
}
}