-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (80 loc) · 2.26 KB
/
style.css
File metadata and controls
98 lines (80 loc) · 2.26 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
98
/* Custom styles for Teable documentation */
/* Hide changelog left date column, expand content */
.update-container > div:first-child {
display: none !important;
}
/* Hide sidebar collapse button */
:has(> svg[style*="arrow-left-from-line"]) {
display: none !important;
}
/* Hide eyebrow label above page title */
.eyebrow {
display: none !important;
}
/* Changelog: hide only page title text, keep RSS button visible */
#header:has(+ #content[data-page-href$="/changelog"]) #page-title {
display: none !important;
}
#header:has(+ #content[data-page-href$="/changelog"]) {
margin: 0 !important;
padding: 0 !important;
}
#content[data-page-href$="/changelog"] {
margin-top: 0 !important;
}
#content[data-page-href$="/changelog"] .update-container:first-child {
padding-top: 0 !important;
}
#content[data-page-href$="/changelog"] .update-container:first-child [data-component-part="update-content"] > h1:first-child {
margin-top: 0 !important;
}
/* Monochrome refinements with mode-specific tone */
html:not(.dark) {
--primary: 19 20 21;
--primary-light: 19 20 21;
--primary-dark: 19 20 21;
}
.dark {
--primary: 249 250 251;
--primary-light: 249 250 251;
--primary-dark: 249 250 251;
}
#banner {
background: rgb(var(--primary)) !important;
}
html:not(.dark) #banner,
html:not(.dark) #banner * {
color: rgb(249, 250, 251) !important;
}
html:not(.dark) #banner a {
color: rgb(249, 250, 251) !important;
text-decoration-color: rgba(249, 250, 251, 0.7) !important;
}
.dark #banner,
.dark #banner * {
color: rgb(19, 20, 21) !important;
}
.dark #banner a {
color: rgb(19, 20, 21) !important;
text-decoration-color: rgba(19, 20, 21, 0.35) !important;
}
[data-component-part="update-label"] {
background: rgba(17, 17, 17, 0.08) !important;
color: #111111 !important;
border: 1px solid rgba(17, 17, 17, 0.18);
}
.dark [data-component-part="update-label"] {
background: rgba(255, 255, 255, 0.1) !important;
color: #f3f4f6 !important;
border-color: rgba(255, 255, 255, 0.25);
}
/* Move language selector to bottom-right on desktop only */
@media (min-width: 1024px) {
#localization-select-trigger {
position: fixed !important;
bottom: 16px !important;
right: 16px !important;
left: auto !important;
z-index: 50 !important;
}
}