-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdandylion-nav.css
More file actions
64 lines (59 loc) · 1.61 KB
/
Copy pathdandylion-nav.css
File metadata and controls
64 lines (59 loc) · 1.61 KB
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
/* font family */
@font-face {
font-family: 'bitstream_vera_serifbold';
src: url('fonts/bitstreamveraserif_bold_macroman/VeraSerif-Bold-webfont.eot');
src: url('fonts/bitstreamveraserif_bold_macroman/VeraSerif-Bold-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/bitstreamveraserif_bold_macroman/VeraSerif-Bold-webfont.woff') format('woff'),
url('fonts/bitstreamveraserif_bold_macroman/VeraSerif-Bold-webfont.ttf') format('truetype'),
url('fonts/bitstreamveraserif_bold_macroman/VeraSerif-Bold-webfont.svg#bitstream_vera_serifbold') format('svg');
font-weight: normal;
font-style: normal;
}
/* basic reset */
*, *:before, *:after {
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* nav bar */
nav {
width: 100%;
margin: auto;
}
nav ul {
list-style: none;
/*
overflow: hidden;
*/
background: #000;
}
nav li a {
display: block;
float: left;
width: 14.28%;
padding: 10px;
background: #000;
border-right: 1px solid #fff;
color: #fbd91f;
font: 400 13px/1.4 bitstream_vera_serifbold, Baskerville, "Palatino Linotype", Palatino, "Times New Roman", serif;
text-align: center;
text-decoration: none;
text-transform: uppercase;
}
/* small text */
nav small {
color: #fff;
font: 100 11px/1 Helvetica, Verdana, Arial, sans-serif;
text-transform: none;
}
/* default to smallest browser size
nav ul { display: none; }
nav select { display: inline-block; }
/* change to full nav for larger screens
@media screen and (min-width: 481px) {
nav ul { display: block; }
nav select { display: none; }
}
*/