-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathnav.css
More file actions
97 lines (93 loc) · 1.9 KB
/
nav.css
File metadata and controls
97 lines (93 loc) · 1.9 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
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, #rearNav, #brownNav {
height: 75px;
width: 100%;
top: 0px;
min-height: 50px;
background: transparent;
position: fixed;
border-radius: 0;
opacity: 1;
padding: 0;
background: #2c2219;
}
#rearNav.opaque {
opacity: 0;
}
#nav-title {
margin-top: 18px;
color: #dcd4d0;
display: inline-block;
margin-left: 50px;
font-size: 36px;
padding-top: 0;
}
#rearNav {
background: linear-gradient(to right, #494a86, #244a53);
transition: all 1s;
z-index: 11;
}
#brownNav {
background: #2c2219;
z-index: 10;
border-bottom: 1px solid #a2a2a2;
}
#nav {
z-index: 12;
}
#mlh-trust-badge {
position: fixed;
margin-top: 75px;
left: 10vw;
width: 10%;
min-width: 60px;
max-width: 100px;
display: block;
z-index: 3;
}
/* div that contains the <a> navigation links */
.nav-item {
height: 100%;
float: right;
text-align: center;
font-weight: 400;
font-size: 25px;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 0.33em;
padding-right: 0.33em;
z-index: 10;
}
.navbar > .navbar-nav {
height: 75px;
}
.nav-item:hover {
background-color: #1e110a;
cursor: pointer;
text-decoration: none;
transition: 0.3s ease;
}
.nav-item > a {
color: white !important;
font-family: 'Futura Std';
text-decoration: none;
/* use em's to calculate line spacing from the font-size set on .nav-item class
This will improve responsiveness, I have calculated these values from the existing values in px on the .nav-item class */
padding-left: 0.67em;
padding-right: 0.67em;
line-height: 40px;
pointer-events: none;
}
/*First link in nav bar*/
.nav-item:last-child {
margin-right: 20px;
}
/*For Tablets*/
@media (max-width: 900px) {
#nav-title {
margin-left: 25px;
font-size: 32px;
}
.nav-item {
font-size: 20px;
}
}