-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
124 lines (111 loc) · 2.04 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
122
123
124
body {
margin: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 100vh;
background-color: #e9c46a;
font-family: "Open Sans", sans-serif;
}
header {
margin-bottom: 2rem;
border-bottom: solid 8px #2a9d8f;
padding: 1em;
background-color: #264653;
color: #f4a261;
text-align: center;
}
main {
padding: 1em;
background-color: #ebd294;
}
footer {
margin-top: 2rem;
border-top: solid 8px #f4a261;
padding: 1em;
text-align: center;
background-color: #e76f51;
}
button {
height: 3em;
margin: 0 0 1rem;
font-family: "Luckiest Guy", cursive;
font-size: 1em;
background-color: #f4a261;
color: #264653;
text-shadow: 1px 1px rgba(255, 255, 255, 0.5);
}
button:hover {
background-color: #e76f51;
transition: background-color 2s;
}
button:active {
color: #e9c46a;
text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
}
h1 {
margin: 0;
font-family: "Luckiest Guy", cursive;
font-size: 3em;
text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}
#formButtons {
display: flex;
flex-direction: column;
justify-content: space-between;
flex-wrap: wrap;
}
.slider {
-webkit-appearance: none;
width: 100%;
height: 25px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: 0.2s;
transition: opacity 0.2s;
}
.slider:hover {
opacity: 1;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 36px;
height: 36px;
background: url("img/bookmark.png") no-repeat center;
background-size: 36px;
cursor: pointer;
}
.slider::-moz-range-thumb {
width: 36px;
height: 36px;
background: url("img/bookmark.png") no-repeat center;
background-size: 36px;
cursor: pointer;
}
.hidden {
display: none;
}
@media screen and (min-width: 500px) {
header {
text-align: left;
}
#form_submit {
width: 50%;
}
#formButtons {
display: block;
}
#download_lib {
width: fit-content;
float: right;
}
}
@media screen and (min-width: 768px) {
main {
margin: auto;
padding: 1em 2em;
max-width: 1000px;
}
}