-
Notifications
You must be signed in to change notification settings - Fork 0
/
pressure-calc-style.css
63 lines (45 loc) · 1.02 KB
/
pressure-calc-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
table th {
font-size: 16px;
border: 1px solid black;
}
table td {
border: 1px solid black;
}
/* this is for button styling */
.dropbtn {
background-color: #3498DB;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
}
/* this is for button change color */
.dropbtn:hover, .dropbtn:focus {
background-color: #2980B9;
}
/* this is to show position of the dropdown, but why a whole class above button itself */
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
overflow: auto;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* styling lettering of dropdown content */
.dropdown-content a {
color: red;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* this is for change color when hover mouse */
.dropdown a:hover {background-color: #ddd}
/* ??? */
.show {display:block;}