-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcustom.css
More file actions
51 lines (42 loc) · 1.02 KB
/
custom.css
File metadata and controls
51 lines (42 loc) · 1.02 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
/* Hide section numbers on the deepest level (actual content pages like 3.1.1, 3.1.2) */
/* Target: chapter > section (group headers) > section (content pages) */
ol.section ol.section > li.chapter-item strong {
display: none;
}
/* Increase content width to accommodate wide tables */
.content main {
max-width: 1200px;
}
/* Prevent navigation arrows from overlapping content */
.nav-chapters {
background: var(--bg);
}
/* Add padding to content so nav arrows don't overlap text */
.content {
padding-left: 90px;
padding-right: 90px;
}
@media (max-width: 1600px) {
.content main {
max-width: 900px;
}
}
/* Table styling */
table {
width: 100%;
}
table code {
white-space: nowrap;
}
/* Fixed-width columns for cheatsheet tables (2-column command/description format) */
.cheatsheet table {
table-layout: fixed;
}
.cheatsheet table th:first-child,
.cheatsheet table td:first-child {
width: 55%;
}
.cheatsheet table th:last-child,
.cheatsheet table td:last-child {
width: 45%;
}