File: toc.css

package info (click to toggle)
borgmatic 2.0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,752 kB
  • sloc: python: 58,506; sh: 150; makefile: 8; javascript: 5
file content (137 lines) | stat: -rw-r--r-- 2,310 bytes parent folder | download
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
.elv-toc {
	font-size: 1rem; /* Reset */
}
.elv-toc details {
	--details-force-closed: (max-width: 79.9375em); /* 1023px */
}
.elv-toc details > summary {
	font-size: 1.375rem; /* 22px /16 */
	margin-bottom: .5em;
}
@media (min-width: 80em) {
	.elv-toc {
		position: absolute;
		left: 3rem;
		width: 16rem;
		z-index: 1;
	}
	.elv-toc details > summary {
		margin-top: 0;
	}
	.js .elv-toc details > summary {
		display: none;
	}
}

.elv-toc-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-left: 0;
	padding-right: 0;
	margin: 0 0 2.5em;
	list-style: none;
}
.elv-toc-list li {
	font-size: 0.9375em; /* 15px /16 */
	line-height: 1.466666666667; /* 22px /15 */
}
/* Nested lists */
.elv-toc-list ul {
	padding: 0 0 .75em 0;
	margin: 0;
	list-style: none;
}

/* Menus nested 2 or more deep */
.elv-toc-list ul ul {
	padding-bottom: 0;
	padding-left: 0.625rem; /* 10px /16 */
}

/* Display inline menus 4 or more deep */
.elv-toc-list ul ul ul > li {
  display: inline-block;
}

.elv-toc-list ul ul ul > li::before {
	content: "•";
	margin-left: 0.4em;
	margin-right: -0.2em;
}

.elv-toc-list ul ul ul > li > a {
	display: inline-block;
}

/* List items */
.elv-toc summary,
.elv-toc-list a {
	padding: .15em .25em;
}
.elv-toc-list a {
	display: block;
}
.elv-toc-list a:not(:hover) {
	text-decoration: none;
}
.elv-toc-list li {
	margin: 0;
	padding: 0;
}
.elv-toc-list > li {
	flex-grow: 1;
	flex-basis: 14.375rem; /* 230px /16 */
}
/* Top level links */
.elv-toc-list > li > a {
	color: #222;
	font-weight: 600;
	border-bottom: 1px solid #ddd;
	margin-bottom: 0.25em; /* 4px /16 */
}

/* Active links */
.elv-toc-list li.elv-toc-active > a {
	background-color: #dff7ff;
}
.elv-toc-list ul .elv-toc-active > a:after {
	content: "";
}

/* Show only active nested lists */
.elv-toc-list ul.elv-toc-active,
.elv-toc-list li.elv-toc-active > ul {
	display: block;
}

/* Footer category navigation */
.elv-cat-list-active {
	font-weight: 600;
}

.breadcrumb-item.active {
  color: var(--primary-color);
}

#breadcrumb ol,
#breadcrumb ul {
  margin: 0;
  padding: 0 0 1em;
}

#breadcrumb li {
  display: inline;
}

#breadcrumb li:not(:last-child)::after {
  content: " ˃"
}

#breadcrumb a:not(:hover) {
	text-decoration: none;
}

#breadcrumb a {
	text-decoration-color: #00bcd4;
}