-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathstyle.css
More file actions
161 lines (133 loc) · 4.75 KB
/
style.css
File metadata and controls
161 lines (133 loc) · 4.75 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/* 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);
}
/* Changelog: make the active right-side table of contents item visible */
html[data-current-path$="/changelog"] #table-of-contents .toc-item[data-changelog-active="true"] > a,
html[data-current-path$="/changelog"] #table-of-contents .toc-item[data-active] > a,
html[data-current-path$="/changelog"] #table-of-contents .toc-item[data-active-deepest] > a {
color: rgb(var(--primary)) !important;
font-weight: 600;
}
html[data-current-path$="/changelog"] #table-of-contents .toc-item[data-changelog-active="true"]::before,
html[data-current-path$="/changelog"] #table-of-contents .toc-item[data-active]::before,
html[data-current-path$="/changelog"] #table-of-contents .toc-item[data-active-deepest]::before {
content: "";
position: absolute;
left: -12px;
top: 6px;
bottom: 6px;
width: 3px;
border-radius: 999px;
background: rgb(var(--primary));
}
html.dark[data-current-path$="/changelog"] #table-of-contents .toc-item[data-changelog-active="true"] > a,
html.dark[data-current-path$="/changelog"] #table-of-contents .toc-item[data-active] > a,
html.dark[data-current-path$="/changelog"] #table-of-contents .toc-item[data-active-deepest] > a {
color: rgb(var(--primary)) !important;
}
/* Restore blue informational callouts */
.callout[data-callout-type="note"] {
border-color: rgba(96, 165, 250, 0.45) !important;
background: rgba(239, 246, 255, 0.9) !important;
}
.callout[data-callout-type="note"] [data-component-part="callout-icon"] svg {
color: rgb(59, 130, 246) !important;
}
.callout[data-callout-type="note"] [data-component-part="callout-content"] {
color: rgb(30, 64, 175) !important;
}
.callout[data-callout-type="note"] [data-component-part="callout-content"] strong,
.callout[data-callout-type="note"] [data-component-part="callout-content"] a,
.callout[data-callout-type="note"] [data-component-part="callout-content"] code,
.callout[data-callout-type="note"] [data-component-part="callout-content"] p,
.callout[data-callout-type="note"] [data-component-part="callout-content"] li,
.callout[data-callout-type="note"] [data-component-part="callout-content"] span {
color: inherit !important;
}
.dark .callout[data-callout-type="note"] {
border-color: rgba(96, 165, 250, 0.35) !important;
background: rgba(30, 58, 138, 0.22) !important;
}
.dark .callout[data-callout-type="note"] [data-component-part="callout-icon"] svg {
color: rgb(147, 197, 253) !important;
}
.dark .callout[data-callout-type="note"] [data-component-part="callout-content"] {
color: rgb(219, 234, 254) !important;
}
/* 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;
}
}