-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
117 lines (101 loc) · 1.73 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font: inherit;
}
a,
button {
text-decoration: none;
outline: none;
border: none;
background: none;
cursor: pointer;
}
ul {
list-style-type: none;
}
:root {
--red: #ff6251;
--yellow: #f6ba01;
--red-secondary: #c52f0e;
--yellow-secondary: #f19a16;
--button-size: 18px;
--body-size: 14px;
}
body {
width: 400px;
padding: 20px;
font-family: 'Lora', serif;
font-size: var(--body-size);
}
#reservation {
display: none;
flex-direction: column;
align-items: center;
margin-top: 25px;
padding: 25px;
border: 5px solid var(--red);
border-radius: 20px;
}
body.active > #reservation {
display: flex;
}
#list > li {
margin-bottom: 15px;
}
#get {
width: 100%;
}
#download {
margin-top: 10px;
}
#get,
#download {
color: #fff;
background-color: var(--yellow);
font-size: var(--button-size);
border-radius: 5px;
transition: box-shadow 0.3s, background-color 0.3s;
padding: 8.5px 24px;
}
#get:hover,
#download:hover {
background-color: var(--yellow-secondary);
box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.25);
}
body.active > #get {
background-color: var(--red);
}
body.active > #get:hover {
background-color: var(--red-secondary);
}
#message {
margin-top: 15px;
color: var(--red);
text-align: center;
}
#loading {
width: 60px;
height: 60px;
margin: 20px auto 0 auto;
}
#loading:after {
content: ' ';
display: block;
width: 32px;
height: 32px;
margin: 8px;
border-radius: 50%;
border: 6px solid var(--red);
border-color: var(--red) transparent var(--red) transparent;
animation: loading 1s linear infinite;
}
@keyframes loading {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}