-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
51 lines (44 loc) · 1.28 KB
/
styles.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
table, th, td {
border: 1px solid black;
}
/* Dropdown Button */
.dropbtn {
background: linear-gradient(to bottom, #f0f0f1 0%, #a9a9a9 100%);
color: #808080;
padding: 16px;
font-size: 16px;
font-weight: bold;
border: none;
text-shadow: 1px 1px 0px #000;
color: #F0F0F0;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background: url(wood.jpg) no-repeat center fixed;
background-size: cover;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Options inside the dropdown */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
font-family: Charcoal, sans-serif;
display: block;
}
/* Change color of dropdown options on hover */
.dropdown-content a:hover { background: url(hoverwood.jpg) no-repeat center fixed;
background-size: cover;}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}