-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhorizontal.css
executable file
·46 lines (44 loc) · 1 KB
/
horizontal.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
<style>
/* These styles just pretty up the page a bit. */
body {
font: 62.5%/1.2 Arial, Helvetica, sans-serif;
background-color: #eee; }
#wrap {
font-size: 1.3em;
width: 500px;
padding: 20px;
margin: 0 auto;
background-color: #fff;
position: relative; }
/* These styles create the dropdown menus. */
#navbar {
margin: 0;
padding: 0;
height: 1em; }
#navbar li {
list-style: none;
float: left; }
#navbar li a {
display: block;
padding: 3px 8px;
background-color: #5e8ce9;
color: #fff;
text-decoration: none; }
#navbar li ul {
display: none;
width: 10em; /* Width to help Opera out */
background-color: #69f;}
#navbar li:hover ul, #navbar li.hover ul {
display: block;
position: absolute;
margin: 0;
padding: 0; }
#navbar li:hover li, #navbar li.hover li {
float: none; }
#navbar li:hover li a, #navbar li.hover li a {
background-color: #69f;
border-bottom: 1px solid #fff;
color: #000; }
#navbar li li a:hover {
background-color: #8db3ff; }
</style>