File: custom.css

package info (click to toggle)
streamlink 7.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,428 kB
  • sloc: python: 49,104; sh: 184; makefile: 145
file content (355 lines) | stat: -rw-r--r-- 7,796 bytes parent folder | download | duplicates (2)
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
/*
  Furo CSS variables
  https://github.com/pradyunsg/furo/blob/main/src/furo/assets/styles/variables/_index.scss
  https://github.com/pradyunsg/furo/blob/main/src/furo/theme/partials/_head_css_variables.html
*/
body, body[data-theme="auto"], body[data-theme="light"], body[data-theme="dark"] {
  /* adjust font-stack by adding "SF Pro Display" and "SF Mono" */
  --font-stack: -apple-system, BlinkMacSystemFont, SF Pro Display, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  --font-stack--monospace: SFMono-Regular, SF Mono, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
  /* Streamlink colors */
  --color-brand-primary: rgb(18, 22, 87);   /* dark icon color (shadow icon color: rgb(13, 16, 65)) */
  --color-brand-content: rgb(0, 115, 189);  /* bright icon color */
  /* misc */
  --sidebar-width: 15rem;
  --sidebar-scrollbar-width: .5rem;
  --sidebar-item-spacing-vertical: .4rem;
  --admonition-font-size: var(--font-size--small);
  --admonition-title-font-size: var(--font-size--normal);
  --custom-thumb-color: var(--color-foreground-border);
  --custom-track-color: transparent;
}

body[data-theme="dark"] {
  --color-brand-primary: rgb(0, 115, 189);  /* bright icon color */
  --color-brand-content: rgb(0, 115, 189);  /* bright icon color */
}
@media (prefers-color-scheme: dark) {
  body[data-theme="auto"] {
    --color-brand-primary: rgb(0, 115, 189);  /* bright icon color */
    --color-brand-content: rgb(0, 115, 189);  /* bright icon color */
  }
}

/*
  Generic style overrides
*/

html {
  /* unset @media (min-width: $full-width + $sidebar-width) query which sets font-size to 110% */
  font-size: 100% !important;
}

h1, h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 300;
}
h3, h4, h5, h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}
h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1rem;
}
h5 {
  font-size: 0.875rem;
}
h6 {
  font-size: 0.75rem;
}

code.literal {
  font-size: var(--font-size--small);
}

code.literal.xref.std-option {
  white-space: nowrap;
}

strong.command {
  padding: .1em .2em;
  border-radius: .2em;
  background: var(--color-background-secondary);
  color: var(--color-api-name);
  font: normal var(--font-size--small) var(--font-stack--monospace);
}

.highlight .go {
  font-style: normal;
}

a[href^="http://"]:not(.muted-link):not(.sd-badge),
a[href^="https://"]:not(.muted-link):not(.sd-badge):not([href^="https://streamlink.github.io/"]) {
  display: inline-block;
  word-break: break-word;
}

a[href^="http://"]:not(.no-external-link-icon):not(.muted-link):not(.sd-badge)::after,
a[href^="https://"]:not(.no-external-link-icon):not(.muted-link):not(.sd-badge):not([href^="https://streamlink.github.io/"])::after {
  content: "\f08e";
  display: inline-block;
  padding-left: .4em;
  font: 900 .6em "forkawesome";
  vertical-align: middle;
  text-decoration: none;
}

/*
  Sidebar/Menubar and related
*/

.sidebar-scroll, .toc-scroll {
  overflow: hidden auto;
}

.toc-scroll:not(:hover) {
  scrollbar-color: transparent !important;
}
.toc-scroll:not(:hover)::-webkit-scrollbar-thumb {
  background-color: transparent !important;
}

.sidebar-brand,
.sidebar-versions,
.sidebar-search,
.github-buttons {
  box-sizing: border-box;
  width: calc(var(--sidebar-width) - 2 * var(--sidebar-scrollbar-width)) !important;
  margin-left: var(--sidebar-scrollbar-width) !important;
  margin-right: 0 !important;
}
.toc-title,
.toc-tree > ul {
  padding-right: .5em;
}

.sidebar-logo-container {
  margin: 0;
}
.sidebar-logo {
  max-width: 62.5%;
}
.sidebar-brand {
  color: var(--color-sidebar-brand-text);
}
.sidebar-brand-text {
  font-size: 1.75rem;
  color: unset;
}
.sidebar-brand-oneliner {
  margin: 0;
  font-size: var(--font-size--small--2);
  color: unset;
}

.sidebar-versions {
  margin: .5rem 0;
}
.sidebar-versions a {
  color: inherit;
}
.sidebar-versions-current {
  font-family: var(--font-stack--monospace);
  font-size: var(--font-size--small--2);
}
.sidebar-versions-others {
  display: flex;
  margin: .5rem 0 0;
  font-size: var(--font-size--small);
}
.sidebar-versions-others dd {
  width: 50%;
  margin: 0 !important;
}
.sidebar-versions-others dd:first-of-type {
  padding-right: .5rem;
  text-align: right;
}
.sidebar-versions-others dd:last-of-type {
  padding-left: .5rem;
  text-align: left;
}
.sidebar-versions-others .version-current {
  font-weight: bold;
}

.sidebar-search-container {
  border-top: 1px solid var(--color-sidebar-search-border);
  border-bottom: 1px solid var(--color-sidebar-search-border);
}
.sidebar-search {
  border: 0;
  padding-left: calc(
      var(--sidebar-item-spacing-horizontal)
    + var(--sidebar-search-input-spacing-horizontal)
    + var(--sidebar-search-icon-size)
    - var(--sidebar-scrollbar-width)
  );
}

.github-buttons {
  margin: 1.5rem 0 1rem;
}

.toc-tree li.scroll-current > .reference {
  position: relative;
  font-weight: normal;
}
.toc-tree li.scroll-current > .reference::before {
  content: "\2023";
  display: inline-block;
  position: absolute;
  left: -1em;
  width: 1em;
  color: var(--color-toc-item-text);
  font: normal normal 400 1em var(--font-stack);
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  opacity: .75;
}

/*
  Components
*/

.admonition p.admonition-title {
  font-weight: bold;
}
.admonition.version-warning {
  padding-bottom: 0;
}
.admonition.version-warning > .admonition-title {
  margin-bottom: 0;
  font-weight: normal;
}

table.table-custom-layout {
  width: 100%;
  table-layout: fixed;
}
table.table-custom-layout colgroup {
  display: none;
}
table.table-custom-layout colgroup col {
  width: auto;
}
table.table-custom-layout th {
  text-align: left;
}
table.table-custom-layout th:first-of-type {
  width: 15rem;
}
table.table-custom-layout tbody tr td {
  overflow: unset;
  white-space: unset;
}
table.table-custom-layout tbody tr td:first-of-type {
  vertical-align: top;
}

table.table-custom-layout.table-custom-layout-platform-locations th:first-of-type {
  width: 7rem;
}
table.table-custom-layout.table-custom-layout-platform-locations tbody>tr>td:last-of-type {
  overflow-x: auto;
}
table.table-custom-layout.table-custom-layout-platform-locations ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
table.table-custom-layout.table-custom-layout-platform-locations code {
  white-space: pre;
}

table.table-custom-layout.table-custom-layout-dependencies th:nth-of-type(1) {
  width: 5rem;
}
table.table-custom-layout.table-custom-layout-dependencies th:nth-of-type(2) {
  width: 12rem;
}
table.table-custom-layout.table-custom-layout-dependencies tbody td {
  vertical-align: top;
}

.option .sig-name,
.option .sig-prename {
  font-family: var(--font-stack--monospace);
}

/*
  Content
*/

.installation-grid .fab {
  font-size: 5em;
}

.grid-with-icons .sd-card-header .fas {
  width: 1em;
  margin-left: -1.25em;
  margin-right: .25em;
}

.grid-with-icons .sd-card-body .fas {
  padding-right: 0.1em;
  vertical-align: middle;
}

.grid-with-images img {
  width: auto;
  max-height: 3em;
  filter: grayscale(1);
}

.team-members img {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}
.team-members a:not(.sd-hide-link-text)::after {
  display: none !important;
}

section#plugins dl.field-list {
  margin: 0 0 0 1rem;
}
section#plugins dl.field-list > dt {
  float: left;
  width: 8rem;
  margin: 0;
}
section#plugins dl.field-list > dd {
  margin: 0 0 0 8rem;
}
section#plugins dl.field-list ul,
section#plugins dl.field-list p {
  margin: 0;
  padding: 0;
}
section#plugins dl.field-list li {
  list-style: none;
}

/*
  Utils
*/

.clearfix:before, .clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}