-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnavigation-bar.css
More file actions
61 lines (52 loc) · 1.13 KB
/
navigation-bar.css
File metadata and controls
61 lines (52 loc) · 1.13 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
:root {
--ifm-navbar-background-color: var(--text-color-green);
--ifm-navbar-link-color: white;
}
.navbar {
padding: 0;
border-bottom: 1px solid white;
align-items: center;
}
.navbar__brand {
flex-direction: row;
display: flex;
padding: 10px;
/* The navigation bar items shouldn't directly dock against the logo icon */
margin-right: 2.35rem;
width: 2.35rem;
}
.navbar__logo {
display: flex;
flex-direction: row;
align-items: center;
}
.navbar__logo img {
border-radius: 50%;
width: 2.35rem;
height: 2.35rem;
border: 1px solid white;
background-color: white;
}
.navbar__logo:hover {
filter: brightness(1.2);
}
.navbar__link:hover {
transition: all 0.5s ease;
border-width: 2px;
color: var(--text-color-green);
background-color: white;
}
.navbar__link {
transition: all 0.5s ease;
font-weight: normal;
text-transform: uppercase;
border: 2px solid white;
display: inline-block;
border-radius: 2px;
padding: 5px 10px;
margin: 0 0.5em;
}
.navbar__items--right > :last-child {
/* The default template removes it, but that doesn't work with borders at all... */
padding: 5px 10px;
}