aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/custom.css
blob: 2141aa365a1a4c23a3c6002ed75dfc99af8cfc46 (plain) (blame)
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
/*
 * 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 '@fontsource-variable/recursive/full.css';

@import './sr-only.css';

/* You can override the default Infima variables here. */
:root {
  --ifm-font-family-base: 'Recursive Variable', sans-serif;
  --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;
}

/* 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);
}

* {
  font-variation-settings:
    'MONO' var(--mono),
    'CASL' var(--casl),
    'slnt' var(--slnt),
    'CRSV' var(--crsv);
}

i,
em {
  font-style: normal;
  --slnt: -15;
  --crsv: 1;
}

h1,
h2,
h3,
h4,
h5,
h6,
.button {
  --casl: 1;
}