-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbookup.scss
274 lines (199 loc) · 7.36 KB
/
bookup.scss
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
/*-- scss:defaults --*/
$font-family-sans-serif: "Roboto", "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
$font-family-monospace: "Fira Mono", "Menlo", "Andale Mono", monospace;
$font-size-root: 16px;
$h1-font-size: 2.2em;
$h2-font-size: 1.75em;
$h3-font-size: 1.5em;
$h4-font-size: 1.25em;
$toc-color: #008080;
/*-- scss:rules --*/
:root {
--bs-body-font-weight: 300;
/*--link-color: #007bff; /* Bright blue for links */
--sidebar-active-color: #008080; /* Teal for active links in the sidebar and TOC */
--toc-border-color: #dee2e6;
--sidebar-fg: #495057; /* Dark gray for sidebar text */
--sidebar-bg-docked: #f8f9fa; /* Light gray for sidebar background */
--sidebar-border: #dee2e6;
--sidebar-part-color: #0056b3; /* Darker blue for sidebar headings */
--sidebar-input-border: #ced4da;
--sidebar-form-bg: transparent;
--figure-img-border: 1px solid #dee2e6;
--figure-img-shadow: 1px 1px 10px #dee2e6;
--bs-code-color: #7d12ba;
--bs-code-bg: #DFE2E2; /* Light Gray */
--hl-code-comments: #6c757d; /* Gray for code comments */
--header-footer-border: #dee2e6;
--table-tr-border: #dee2e6;
--table-out-borders: #adb5bd; /* Light gray for table borders */
--table-tr-hover: rgba(0, 123, 255, 0.1); /* Light blue for table row hover */
--reader-toggle-bg: #f8f9fa;
--reader-toggle-border: #ced4da;
--callout-color: #495057; /* Dark gray for callout text */
--callout-warning-bg: #fff3cd; /* Light yellow for warning callouts */
--callout-warning-title: #856404; /* Dark yellow for warning callout titles */
--callout-note-bg: #cce5ff; /* Light blue for note callouts */
--callout-note-title: #004085; /* Dark blue for note callout titles */
--callout-important-bg: #f8d7da; /* Light pink for important callouts */
--callout-important-title: #721c24; /* Dark pink for important callout titles */
--callout-caution-bg: #fff3cd; /* Light yellow for caution callouts */
--callout-caution-title: #856404; /* Dark yellow for caution callout titles */
--callout-tip-bg: #d4edda; /* Light green for tip callouts */
--callout-tip-title: #155724; /* Dark green for tip callout titles */
--listing-card-border: #ced4da;
--listing-card-shadow: rgba(0, 0, 0, 0.05);
--listing-card-shadow-hover: rgba(0, 0, 0, 0.1);
--bs-link-color-rgb: 0, 112, 112;
--bs-link-hover-color-rgb: 0, 168, 168;
}
// INLINE CODE COLOR
p code:not(.sourceCode),
li code:not(.sourceCode),
td code:not(.sourceCode) {
background-color: var(--bs-code-bg);
color: var(--bs-code-color);
padding: .2em;
border-radius: 3px;
}
/* HIDE KEYWORDS */
body main > header div.keywords {
display: none; /* Hides the keywords */
}
// CODE OUTPUT BACKGROUND
$code-output-bg: #f0f2f4; // Replace with your desired background color
$code-output-color: #2d2d2d; // Replace with your desired text color
$code-output-border-left-color: #A9C3C6; // Replace with your desired left border color
// Apply styles to .cell-output.cell-output-stdout only
.cell-output.cell-output-stdout {
background-color: $code-output-bg;
color: $code-output-color;
padding: 1px 4px 1px 4px; // Increase bottom padding to 10px
margin-bottom: 5px; // Add space below the cell output
border-top: none;
border-left: 2px solid $code-output-border-left-color;
border-right: none;
border-bottom: none;
border-radius: 1px; // Optional: for squared corners
overflow: auto; // Ensure long code doesn't overflow the container
}
// Ensure no borders on pre elements
pre {
border: none; // Remove any borders on pre elements
background: transparent; // Make sure the background is transparent if you don't want any background
padding: 0; // Remove padding if there's any applied by default
}
// Ensure no extra borders on the inner code element
pre code {
border: none; // Remove any borders on the inner code element
background: transparent; // Make sure the background is transparent
padding: 0; // Remove padding if there's any applied by default
color: inherit; // Ensure the text color inherits from the container
}
// SIDEBAR
#quarto-sidebar,
#quarto-content .sidebar-navigation {
.sidebar-item-container {
margin-bottom: 0.9em; /* Increased space between sidebar items */
a {
color: var(--sidebar-fg);
transition: color 0.3s;
}
a.active,
a:hover {
font-family: var(--toc-font-family);
color: var(--sidebar-active-color);
border-left: 3px solid var(--sidebar-active-color);
padding-left: 15px;
}
/* Making main sections bold */
.sidebar-item {
font-weight: bold;
}
}
}
// SIDEBAR STYLING
/* Style the section headers bold */
#quarto-sidebar .sidebar-item.sidebar-item-section > .sidebar-item-container > a {
font-weight: bold;
}
.sidebar-logo {
max-width: 12em;
padding-bottom: .5em;
}
/* Increase size of sidebar tools icons */
.sidebar-navigation .quarto-navigation-tool {
font-size: 1.1em; // Increase this value to make icons bigger
}
// TOC
/* Page Headings in TOC on Right Side */
#quarto-margin-sidebar,
#quarto-content .margin-sidebar,
#quarto-sidebar #TOC {
ul {
li a {
font-family: var(--toc-font-family);
color: var(--sidebar-fg); /* Set color to match the default sidebar text color */
transition: color 0.3s;
}
li a.active,
li a:hover {
color: var(--sidebar-active-color);
border-left: 3px solid var(--sidebar-active-color);
padding-left: 15px;
}
}
}
// CUSTOM INFO CARD
.custom-card {
background-color: #008080; /* Custom background color */
color: white; /* Text color */
border: none; /* Remove the border */
margin: 2px 0; /* Adjust margin for spacing */
}
.custom-card-header {
background-color: #00a2a2; /* Custom header background color */
color: white; /* Header text color */
border-bottom: none; /* Remove the bottom border of the header */
padding: 0.5rem; /* Reduce padding in the header */
}
.card-body {
padding: 0.5rem; /* Adjust padding for the body */
}
.card-title {
margin-top: 0; /* Remove any margin at the top */
margin-bottom: 0.25rem; /* Reduce margin at the bottom */
font-size: 1.25rem; /* Adjust font size if needed */
}
.card-text {
margin-bottom: 0; /* Adjust text spacing */
margin-top: 0.25rem; /* Ensure there's minimal space between title and text */
}
// The left hand sidebar
$grid-sidebar-width: 250px !default;
// The main body
$grid-body-width: 950px !default;
// The right hand margin bar
$grid-margin-width: 300px !default;
// The gutter that appears between the above columns
$grid-column-gutter-width: 1.5rem !default;
.tabset_cool .tabbed-pane .nav-tabs .nav-link {
width: 100%;
text-align: left;
padding: 12px;
font-weight: bold !important; /* Force bold style */
}
.tabset_cool .tabbed-pane .nav-tabs {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 200px; /* Adjust as needed */
margin-right: 20px; /* Space between tabs and content */
}
.tabset_cool .tabbed-pane .nav-tabs .nav-item {
width: 100%;
margin-bottom: 10px; /* Adds more space between tabs */
}
.tabset_cool .tabbed-pane .tab-content {
display: flex;
}