aboutsummaryrefslogtreecommitdiff
path: root/src/css/custom.css
blob: af24e92907dd9b58b849b1112476f65962281213 (plain)
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
/**
 * 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 url('https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@600&family=Ubuntu&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@400&family=Ubuntu&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

.tracking-supatight{
  letter-spacing: -0.095em;
}

body {
  background-color: theme('colors.lightbackground');
}

[data-theme='dark'] body {
  background-color: theme('colors.darkbackground');
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lexend Mega', sans-serif;
  font-weight: 600;
}

article h1 {
  font-size: 2.488rem;
}

article h2 {
  font-size: 2.074rem;
}

article h3 {
  font-size: 1.728rem;
}

article h4 {
  font-size: 1.44rem;
}

article h5 {
  font-size: 1.2rem;
}

article h6 {
  font-size: 1rem;
}

.underline {
  text-decoration-skip-ink: none !important;
}

p, li {
  font-family: 'Ubuntu', sans-serif;
}

.navbar {
  flex: auto;
  border: 0;
  box-shadow: none;
  height: 96px;
}

.navbar__item {
  font-family: 'Lexend Mega', sans-serif;
}

.navbar__item:hover {
  font-family: 'Lexend Mega', sans-serif;
}

.navbar__title {
  font-family: Lexend Mega, sans-serif;
  font-size: 1.5rem;
}

.menu__list .theme-doc-sidebar-item-link-level-1  {
  font-family: Lexend Mega, sans-serif;
  font-size: 1rem;
}

.menu__list .theme-doc-sidebar-item-category-level-1  {
  font-family: Lexend Mega, sans-serif;
  font-size: 1rem;
}

main > .container > .row > .col  article {
  @apply shadow-rainbow;
  @apply bg-white;
  @apply border-4;
  @apply border-black;
  @apply px-8;
  @apply py-4;
}

.theme-doc-sidebar-container {
  border: 0px !important;
}

.table-of-contents {
  border: 0px !important;
}

.navbar__link--active {
  font-weight: bolder;
  text-decoration-thickness: 2px;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-skip-ink: none !important;
  text-underline-offset: 0.2em;
}


.navbar__link:hover {
  text-decoration-skip-ink: none !important;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 0.2em;
  color: inherit;
}

/*
.navbar__items--right > .navbar__item {
  background-color: yellow;
  border-color: black;
  border-width: 2px;
  border-radius: 10px;
  margin: 0 0.5rem;
  padding: 10px 15px;
}

.navbar__items--right > .navbar__item:hover {
  background-color: #E3A018;
  box-shadow: 2px 2px 0px 0px black;
  border-color: black;
  color: black;
  font-weight: bold;
  border-width: 2px;
  margin: 0 0.5rem;
}

.navbar__logo {
  margin: 0;
}

.navbar__logo > img {
  padding: 18px;
}
*/

.navbar__items--right > .navbar__item > svg {
  display: none;
}

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #9723c9;
  --ifm-color-primary-dark: #8820b5;
  --ifm-color-primary-darker: #801eab;
  --ifm-color-primary-darkest: #6a188d;
  --ifm-color-primary-light: #a52ada;
  --ifm-color-primary-lighter: #a934dc;
  --ifm-color-primary-lightest: #b652e1;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
  --ifm-color-primary: #7df9ff;
  --ifm-color-primary-dark: #57f7ff;
  --ifm-color-primary-darker: #44f6ff;
  --ifm-color-primary-darkest: #0bf4ff;
  --ifm-color-primary-light: #a3fbff;
  --ifm-color-primary-lighter: #b6fcff;
  --ifm-color-primary-lightest: #effeff;
}