aboutsummaryrefslogtreecommitdiff
path: root/menu.css
blob: 62fd30bfd693d354a640a203f59fc5442d455482 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
nav {
  position: relative;
  font-family: NothingYouCouldSay;
  font-size: 21px;
  z-index: 1;
}

nav ul {
  position: absolute;
}

nav > ul {
  width: 900px;
  display: table;
  table-layout: fixed;
}

nav li {
  display: table-cell;
  margin-bottom: 0px;
  margin-left: 0px;
}

nav li:before {
  content: "" !important;
  margin-left: 0px !important;
}

nav ul ul li {
  display: block;
  float: none;
  min-width: 150px;
}

nav a {
  text-align: center;
  color: white;
  text-decoration: none;
  display: block;
  margin-left: 1px;
  margin-right: 1px;
}

nav > ul > li > a {
  height: 50px;
  line-height: 50px;
  background-color: #333333;
}

nav > ul > li:hover > a {
  background-color: #777777;
}

nav ul ul a {
  transition: opacity 0.2s ease;
  visibility: hidden;
  opacity: 0;
  height: 0px;
  line-height: 0px;

  background-color: #EEEEEE;
  padding: 0 20px;
  color: black;
}

nav ul li:hover a {
  visibility: visible;
  opacity: 1;
  height: 50px;
  line-height: 50px;
}

nav a:hover {
  transition: all 0.2s ease;
  background-color: #777777;
  color: white;
}