aboutsummaryrefslogtreecommitdiff
path: root/menu.css
blob: 4d3ec65de7ce8dc197c27019773e1fc7b068d91a (plain)
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
ul.menu {
  position: absolute;
  width: 800px;
  display: table;
  table-layout: fixed;
}

ul.menu > li {
  display: table-cell;
}

ul.menu li {
  margin-bottom: 0px;
  margin-left: 0px;
}

ul.menu a {
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: white;
  text-decoration: none;
  display: block;
  background-color: #333333;
  margin-right: 1px;
  margin-left: 1px;
}

ul.menu a:hover + .hidden, ul.hidden:hover {
  display: block;
}

ul.hidden {
  display: none;
}

ul.hidden li {
  display: block;
  float: none;
}

ul.hidden a {
  width: auto;
  min-width: 100px;
  padding: 0 20px;
  background-color: #EEEEEE;
  color: black;
}

ul.hidden a:hover {
  color: white;
}

ul.menu > li:hover > a, ul.hidden > li:hover > a {
  background-color: pink;
}