aboutsummaryrefslogtreecommitdiff
path: root/styles/navbar.css
blob: 456c2c3f415815286b2b410a9323984a779ee3c6 (plain)
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
.navbarItem .inner {
	background-color: var(--oxford-blue);
	color: var(--almond);

	padding: 8px;
	border-radius: 8px;

	transition-property: background-color, color;
	transition-duration: .15s;

	position: relative;
}

.navbarItem {
	text-decoration: none;
	display: block;
}

.navbarItem.indentLevel0 { margin-bottom: 12px; }

.navbarItem.active .inner,
.navbarItem:hover .inner {
	background-color: var(--heliotrope-gray);
	color: var(--oxford-blue);
}

.navbarItem.chapter .inner {
	background-color: transparent;
	color: var(--fg);
	/* box-shadow: inset 0 0 0 1px #ff00ff; */
	padding: 4px 0;
	overflow: visible;
}

.navbarItem span {
	vertical-align: top;
	margin-left: 8px;
	margin-top: 3px;
	display: inline-block;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	width: calc(100% - 32px);
}
.navbarItem.chapter span {
	margin-top: 1px;
}

.navbarItem .inner {
	height: 24px;
}

.navbarItem > div > svg {
	vertical-align: super;
}