-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.css
132 lines (111 loc) · 2 KB
/
layout.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
123
124
125
126
127
128
129
130
131
132
/* General style */
html {
display: flex;
justify-content: center;
}
html > body {
width: 1000px;
margin: 0;
}
html body a {
color: #294056;
}
div, h1, h2, h3, h4, h5, h6, p, a, li {
font-family: raleway, sans-serif;
color: #333333;
}
/* Github corner icon */
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
.github-corner svg {
fill: #343434;
color: white;
position: absolute;
top: 0;
border: 0;
right: 0;
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation: none;
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}
/* Animation style */
#animation {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 700px;
}
#animation > h2 {
color: #526878;
}
#animation > div {
position: relative;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid lightgray;
width: 300px;
height: 350px;
padding-top: 10px;
}
#animation .play-button {
position: absolute;
top: 0;
left: 0;
cursor: pointer;
font-size: 50px;
padding: 0 15px;
user-select: none;
color: #586c7f;
}
#animation .play-button:active {
top: 1px;
left: 1px;
}
#animation ul {
list-style-type: none;
padding-left: 0;
margin: 0;
}
#animation ul li {
margin: 10px 0;
}
#animation ul li > div:first-child {
width: 80px;
height: 10px;
background-color: #788a97;
}
#animation ul li > div:nth-child(2) {
margin-top: 4px;
width: 150px;
height: 8px;
background-color: #9db0ba;
}
/* Footer style */
footer {
display: flex;
justify-content: space-between;
padding: 40px;
border-top: 2px solid #586c7f;
}