-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
109 lines (90 loc) · 1.83 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
@import url('https://fonts.googleapis.com/css2?family=DM+Sans&display=swap');
body{
background-color: #EF5D60;
margin: 0%;
padding: 0%;
display: flex;
justify-content: center;
color: #311847;
}
.pic{
margin: 13% 0 0 0;
border-radius: 10px;
display: flex;
justify-content: space-evenly;
flex-direction: column;
align-items: center;
height: 550px;
width: 60%;
background-color: #E09F7D;
box-shadow: 5px 5px 10px #602526,
-5px -5px 10px #ff959a;
transition: all 0.6s ease-in-out;
}
.pic>img{
height: 250px;
width: 250px;
border-radius: 50%;
margin-top: -20%;
transition: all 0.6s ease-in-out;
animation: popg2 cubic-bezier(0.82, 0.76, 0.19, 1.58) 2.5s 1;
}
h1,h3{
font-family: 'DM Sans', sans-serif;
text-align: center;
animation: pop cubic-bezier(0.82, 0.76, 0.35, 1.32) 2.5s 1;
}
h1{
transform: translateY(10px);
margin: 0 10px 0 10px;
font-size: 50px;
}
h3{
margin: 0 10px 0 10px;
font-size: 30px;
transform: translateY(-20px);
}
.github{
margin: 0;
height: 70px;
width: 70px;
transform: translateY(-30px) scale(1.5);
background: url("github.png") no-repeat 6px center;
animation: popg cubic-bezier(0.82, 0.76, 0.35, 1.32) 3.0s 1;
}
@keyframes pop{
from{
opacity: 0;
transform: translatey(300px);
}
to{
opacity: 1;
}
}
@keyframes popg{
from{
opacity: 0;
transform: translatex(500px);
}
to{
opacity: 1;
}
}
@keyframes popg2{
from{
opacity: 0;
transform: translatex(-400px);
}
to{
opacity: 1;
}
}
@media only screen and (max-width: 600px) {
.pic{
width: 80%;
}
.pic>img{
height: 200px;
width: 200px;
}
}