-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
91 lines (76 loc) · 1.43 KB
/
main.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
html {
height: 100%;
background-color: blanchedalmond;
}
body {
width: 100%;
height: 100%;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}
p {
text-align: center;
}
.yuhi {
animation:2s linear infinite rotationZ;
}
.profile {
position: absolute;
height: 100%;
width: 100%;
}
.contents {
position: absolute;
width: 80%;
height: 80%;
top:50%;
left:50%;
transform: translate(-50%,-50%);
background: rgb(255,255,255,0.5);
}
.contents .text{
position: absolute;
top:50%;
left:50%;
transform: translate(-50%,-50%);
}
.menu {
position: absolute;
bottom: 0px;
}
.menu > ul {
list-style: none;
padding: 0;
font-size: large;
}
.menu > ul > li {
display: inline-block;
}
.menu > ul > li:hover {
animation: colorHover .2s ease-out forwards;
}
li + li {
margin-left: 8px;
}
li > a {
color: black;
text-decoration: none;
}
@keyframes rotationY {
0%{ transform:rotateY(0); }
100%{ transform:rotateY(360deg); }
}
@keyframes rotationX {
0%{ transform:rotateX(0); }
100%{ transform:rotateX(360deg); }
}
@keyframes rotationZ {
0%{ transform:rotateZ(0); }
100%{ transform:rotateZ(360deg); }
}
@keyframes colorHover {
0%{ transform: translateY(0px); }
100%{ transform: translateY(-5px); }
}