-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
122 lines (104 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
110
111
112
113
114
115
116
117
118
119
120
121
122
html {
touch-action: manipulation;
}
html,
body {
width: 100%;
height: 100%;
margin: 0;
}
body {
display: flex;
background: url("https://emoji.slack-edge.com/T01TCE4SH25/sisisin/a0012c33e8bb5435.jpg") left top/160px;
color: #333;
}
.board {
position: relative;
margin: auto;
padding: 20px;
background: #000c;
box-shadow: 1px 2px 5px #0003, 0 0 0 100vmax #fffe;
user-select: none;
}
.sime {
position: relative;
}
.nyan {
position: absolute;
background: url("https://emoji.slack-edge.com/T01TCE4SH25/spining_sisisin/cfef34c82a5a6b52.gif") no-repeat;
transition: 200ms ease-out;
}
.nyan-enter,
.nyan-leave-to {
opacity: 0;
}
.retry {
position: absolute;
right: -25px;
top: -25px;
box-sizing: content-box;
width: 40px;
height: 40px;
padding: 5px;
border: none;
line-height: 1;
background: #fff;
border-radius: 50%;
color: inherit;
font-size: 40px;
box-shadow: 0 0 0 10px #000c;
outline: none;
transition: 200ms ease-out;
}
.retry:active {
transform: scale(0.9);
}
.retry:hover {
box-shadow: 0 0 0 10px #00cc;
}
.fade-enter,
.fade-leave-to {
opacity: 0;
}
.bounce {
animation: bounce 500ms ease-in-out alternate infinite;
}
@keyframes bounce {
0% { transform: scale(0.9) }
100% { transform: scale(1.1) }
}
/* modal */
.modal {
display: flex;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: #0008;
z-index: 9999;
transition: 300ms ease;
}
.modal-container {
margin: auto;
padding: 20px 30px;
background-color: #fff;
border-radius: 4px;
box-shadow: 0 2px 8px #0006;
transition: 300ms ease;
}
.modal-header {
color: #3c9;
font-weight: bold;
}
.modal-body {
margin-top: 1rem;
}
.modal-enter,
.modal-leave-to {
opacity: 0;
}
.modal-enter > .modal-container,
.modal-leave-to > .modal-container {
transform: scale(1.1);
}