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
|
/*
* SPDX-FileCopyrightText: 2023 Kristóf Marussy
*
* SPDX-License-Identifier: MIT
*/
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
@import './fonts.css';
@import './sr-only.css';
/* You can override the default Infima variables here. */
:root {
--ifm-font-family-base: 'Recursive Variable', sans-serif;
--ifm-font-family-monospace: var(--ifm-font-family-base);
--ifm-color-primary: #1e6be6;
--ifm-color-primary-dark: #175fd3;
--ifm-color-primary-darker: #165ac7;
--ifm-color-primary-darkest: #124aa4;
--ifm-color-primary-light: #357ae9;
--ifm-color-primary-lighter: #4182ea;
--ifm-color-primary-lightest: #6499ee;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--mono: 0;
--casl: 0;
--slnt: 0;
--crsv: 0;
--marussy-heading-tracking: -0.032em;
--marussy-heading-tracking-looser: -0.026em;
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #4285f4;
--ifm-color-primary-dark: #2572f2;
--ifm-color-primary-darker: #1669f1;
--ifm-color-primary-darkest: #0c55cd;
--ifm-color-primary-light: #5f98f6;
--ifm-color-primary-lighter: #6ea1f7;
--ifm-color-primary-lightest: #9abef9;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
* {
/*
* We must use `!important` here, because Infima sometimes sets font
* properties with `font:`, which would normally overwrite these rules.
*/
font-variation-settings:
'MONO' var(--mono),
'CASL' var(--casl),
'slnt' var(--slnt),
'CRSV' var(--crsv) !important;
font-feature-settings:
'ss02',
/* Use single-story g everywhere. */ 'ss05' var(--mono),
/* Simplified l in code. */ 'ss10' var(--mono),
/* Dotted zero in code. */ 'ss12' var(--mono),
/* Simplified @ in code. */ 'titl' var(--casl),
/* No descender for Q in titles. */ 'liga' !important; /* Enable italic ligatures. */
}
i,
em {
font-style: normal;
--slnt: -15;
--crsv: 1;
}
code,
pre,
kbd {
--mono: 1;
}
h1,
h2,
h3,
h4,
h5,
h6,
.button {
--casl: 1;
}
h1,
h2 {
letter-spacing: var(--marussy-heading-tracking);
}
h3 {
letter-spacing: var(--marussy-heading-tracking-looser);
}
a {
text-decoration: underline;
text-decoration-skip: auto;
text-underline-offset: 0.125em;
text-decoration-thickness: calc(max(1px, 0.0625em));
}
.navbar a,
.table-of-contents a,
a:hover,
a:focus,
.button {
text-decoration: none;
}
.table-of-contents a:hover {
text-decoration: underline;
}
.hash-link {
font-weight: 500;
--casl: 0;
--mono: 1;
}
|