-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
160 lines (131 loc) · 2.67 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
@keyframes load {
0%{opacity: 0;}
100%{opacity: 100;}
}
body {
animation-name: load;
animation-duration: 1s;
background-color: white;
font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin-top: 0;
}
::selection {
color: white;
background-color: darkslategrey;
}
a {
color: darkslategrey;
}
@keyframes nav_slide_in {
0%{transform: translateY(-50px);}
100%{transform: translateY(0px);}
}
.dropbtn {
background-color: darkslategrey;
color: wheat;
min-width: 155px;
padding: 7%;
font-size: 100%;
border: 1px solid darkslategrey;
border-radius: 5px;
cursor: pointer;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
animation-name: nav_slide_in;
animation-duration: 1s;
position: relative;
display: inline-block;
}
@keyframes slide_in {
0%{transform: scale(0);}
100%{transform: scale(1); z-index: 0;}
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
animation: slide_in 0.3s forwards;
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 155px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 0;
}
/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
display: block;
}
#header {
text-align: center;
font-size: 300%;
color: darkslategrey;
}
.info {
text-align: center;
font-size: 120%;
margin-top: 5%;
}
.main {
background-color: wheat;
text-align: center;
margin-top: 7%;
padding: 2%;
font-size: 120%;
border-radius: 5px;
box-shadow: rgb(172, 156, 125) 3px 3px 3px;
}
.main textarea {
font-size: 120%;
}
.main input {
font-size: 120%;
}
#base, #inbase, #outbase {
font-size: 100%;
}
#base:hover, #inbase:hover, #outbase:hover {
cursor: pointer;
}
#calcbtn {
font-size: 140%;
box-shadow: gray 1px 1px;
}
#calcbtn:hover {
cursor: pointer;
}
#calcbtndiv {
margin-top: 2%;
}
.credits {
text-align: center;
margin-top: 3%;
font-size: 120%;
}
.credits h2 {
text-decoration: underline;
}
.howitworks {
text-align: center;
margin-top: 3%;
font-size: 120%;
}
.howitworks h2 {
text-decoration: underline;
}
@media all and (max-width: 600px){
#base {
font-size: 140%;
}
.main textarea {
font-size: 120%;
}
}