-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
70 lines (58 loc) · 1.22 KB
/
stylesheet.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#nav-wrap ul, #nav-wrap li, #nav-wrap a {
margin: 0;
padding: 0;
border: none;
outline: none;
}
/* nav-wrap */
#nav-wrap {
font: 12px 'opensans-bold', sans-serif;
width: 100%;
text-transform: uppercase;
letter-spacing: 3px;
margin: 0 auto;
z-index: 100;
position: fixed;
left: 0;
top: 0;
}
.opaque {
background-color: #333;
}
/* hide toggle button */
#nav-wrap > a.mobile-btn {
display: none;
}
ul#nav {
min-height: 48px;
width: auto;
/* center align the menu */
text-align: center;
}
ul#nav li {
position: relative;
list-style: none;
height: 48px;
display: inline-block;
}
/* Links */
ul#nav li a {
/* 8px padding top + 8px padding bottom + 32px line-height = 48px */
display: inline-block;
padding: 8px 13px;
line-height: 32px;
text-decoration: none;
text-align: left;
color: #fff;
-webkit-transition: color .2s ease-in-out;
-moz-transition: color .2s ease-in-out;
-o-transition: color .2s ease-in-out;
-ms-transition: color .2s ease-in-out;
transition: color .2s ease-in-out;
}
ul#nav li a:active {
background-color: transparent !important;
}
ul#nav li.current a {
color: #FF512F;
}