aboutsummaryrefslogtreecommitdiff
path: root/CSS/menu.css
blob: 31deab0caebe7c8155655743dd3825c6b369adea (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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 > ul > li:first-child > a {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

nav ul ul li:last-child a {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

nav > ul > li:last-child a:first-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

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;
  transition: none;
}

nav a:hover {
  text-decoration: none;
}

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;
}