-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.css
76 lines (66 loc) · 1.84 KB
/
nav.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
71
72
73
74
75
76
@font-face { font-family: URWGothic; src: url('urw-gothic-l-book.ttf'); }
/* The side navigation menu */
.sidenav {
height: 100%; /* 100% Full-height */
width: 0; /* 0 width - change this with JavaScript */
position: fixed; /* Stay in place */
z-index: 1; /* Stay on top */
top: 0; /* Stay at the top */
left: 0;
background-color: #111; /* Black*/
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 60px; /* Place content 60px from the top */
transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}
/* The navigation menu links */
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 18px;
font-family: URWGothic;
color: #818181;
display: block;
transition: 0.3s;
border-bottom: 1px dotted;
}
.sidenav div {
padding: 8px 8px 8px 32px;
font-size: 18px;
font-family: URWGothic;
color: #818181;
display: block;
transition: 0.3s;
border-bottom: 1px dotted;
}
.sidenav span {
color: #818181;
}
.sidenav span:hover {
color: #f1f1f1;
}
/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
background-color: #f1f1f1;
color: #111111;
}
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
transition: margin-left .5s;
padding: 20px;
}
.speedrangectl span {
font-size: 18px;
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}