-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
121 lines (103 loc) · 1.79 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
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
* {
box-sizing: border-box;
margin: 0;
}
a {
text-decoration: none;
color: inherit;
}
/* src 為空值或沒有 src 屬性,避免在畫面上顯示預設外框 */
img[src=""], img:not([src]), .btnDownload {
opacity: 0;
}
img {
width: auto;
height: auto;
max-width: 100%;
max-height: 100%;
}
label + input {
display: none;
}
section {
padding: 1rem;
text-align: center;
}
section:first-child {
width: 30%;
}
section:last-child {
width: 70%;
}
@media ( max-width: 414px ) {
section:first-child, section:last-child {
width: 100%;
}
}
.main {
display: flex;
flex-wrap: wrap;
}
.btn {
display: inline-block;
padding: 10px;
border: 2px solid #007AFF;
outline: none;
background: #ffffff;
color: #007AFF;
margin-bottom: 1rem;
font-size: 1rem;
letter-spacing: 1px;
cursor: pointer;
transition: all 0.2s;
}
.btn:hover {
border-radius: 30px;
transition: all 0.2s;
}
.loading {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
text-align: center;
z-index: 99;
background: rgba(0, 0, 0, 0.5);
color: #ffffff;
font-size: 30px;
display: flex;
justify-content: center;
align-items: center;
display: none;
}
.bubbleBlock {
width:60px;
height:60px;
animation: bubbleRotate 2s linear infinite normal both;
}
.bubble {
display:inline-block;
position: absolute;
top: 0;
width:20px;
height:20px;
border-radius:50%;
background-color:#87cefa;
}
.bubble:nth-child(1){
animation: bubbleScale 2s 0s infinite alternate both;
}
.bubble:nth-child(2){
top: auto;
bottom: 0;
animation: bubbleScale 2s 1s infinite alternate both;
}
@keyframes bubbleScale {
0%{transform:scale(0, 0);}
100%{transform:scale(1, 1);}
}
@keyframes bubbleRotate {
0%{transform: rotate(0deg);}
100%{transform: rotate(360deg);}
}