forked from nmfs-ocio/radfish
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.css
More file actions
136 lines (118 loc) · 3.39 KB
/
custom.css
File metadata and controls
136 lines (118 loc) · 3.39 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
/**
* 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.
*/
/* You can override the default Infima variables here. */
:root {
--radfish-primary-blue: #205493;
--radfish-gray-dark: #666;
--radfish-gray-darker: #333;
--radfish-gray-light: #ddd;
--ifm-color-primary: #205493;
--ifm-color-primary-dark: #1d4c84;
--ifm-color-primary-darker: #1b477d;
--ifm-color-primary-darkest: #163b67;
--ifm-color-primary-light: #235ca2;
--ifm-color-primary-lighter: #2561a9;
--ifm-color-primary-lightest: #2a6dbf;
--ifm-color-secondary: #06d2f3;
--ifm-color-secondary-dark: #05bddb;
--ifm-color-secondary-darker: #05b2cf;
--ifm-color-secondary-darkest: #0493aa;
--ifm-color-secondary-light: #19daf9;
--ifm-color-secondary-lighter: #25dcfa;
--ifm-color-secondary-lightest: #49e2fb;
/* Search box icon & focus. Same color as --radfish-primary-blue */
--aa-primary-color-rgb: 32, 84, 147 !important;
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme="dark"] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
/* Search box icon & focus. Same color as --ifm-color-secondary */
--aa-primary-color-rgb: 6, 210, 243 !important;
/* Search box border & selected color: blue */
--aa-input-border-color-rgb: 221, 221, 221 !important;
--aa-selected-color-rgb: 32, 84, 147 !important;
/* Search text. Same color as --radfish-gray-light */
--aa-muted-color-rgb: 102, 102, 102 !important;
}
.buttons {
display: flex;
align-items: center;
justify-content: center;
gap: 2rem;
}
.button {
border: 1.5px solid black;
border-radius: 0;
font-weight: 600;
}
.button--primary {
background-color: var(--ifm-color-primary);
color: white;
padding: 1rem 2rem;
text-decoration: none;
font-size: 16px;
}
.button--primary:hover {
background-color: var(--ifm-color-primary-light);
}
.button--secondary {
background-color: var(--ifm-color-secondary);
color: var(--radfish-primary-blue);
padding: 1rem 2rem;
text-decoration: none;
font-size: 16px;
}
.button--secondary:hover {
background-color: var(--ifm-color-secondary-light);
}
/* Code diff highlighting start */
.code-block-diff-add-line {
background-color: #ccffd8;
display: block;
margin: 0 -40px;
padding: 0 40px;
}
.code-block-diff-add-line::before {
position: absolute;
left: 8px;
padding-right: 8px;
content: '+';
}
.code-block-diff-remove-line {
background-color: #ffebe9;
display: block;
margin: 0 -40px;
padding: 0 40px;
}
.code-block-diff-remove-line::before {
position: absolute;
left: 8px;
padding-right: 8px;
content: '-';
}
/**
* use magic comments to mark diff blocks
*/
pre code:has(.code-block-diff-add-line) {
padding-left: 40px!important;
}
pre code:has(.code-block-diff-remove-line) {
padding-left: 40px!important;
}
[data-theme="dark"] pre code .token-line.code-block-diff-add-line {
background-color: #4A5827;
}
[data-theme="dark"] pre code .token-line.code-block-diff-remove-line {
background-color: #542936;
}
/* Code diff highlighting end */