-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_dark.scss
72 lines (59 loc) · 1.56 KB
/
_dark.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
/*-- scss:defaults --*/
// Base document colors
$body-bg: #181825 !default;
$body-color: #cdd6f4 !default;
$link-color: #eba0ac !default;
$headings-color: #a6adc8 !default;
// $title-color:#74c7ec !default;
$code-color: #a6e3a1 !default;
$code-bg: #11111b !default;
$code-block-bg: $code-bg !default;
$btn-code-copy-color: $code-bg !default;
// Navbar
$navbar-color: $code-bg !default;
$navbar-padding-y: 1.5rem !default;
// Sidebar
// $sidebar-bg: $code-bg !default;
// Exercise
$ex-background-color: #1a4e60 !default;
$ex-font-color: #fffdfd !default;
// Author box
$box-background-color: $code-bg !default;
$box-border-color: $link-color !default;
/*-- scss:rules --*/
// Bold sidebar part text
a.sidebar-item-text.sidebar-link.text-start, .sidebar-title>a{
font-weight: bold;
}
// Color sidebar text
.sidebar-navigation li a {
color: $body-color;
}
// GitHub logo colors in sidebar and TOC navbar
.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before, #quarto-margin-sidebar .toc-actions .bi:before{
color: $body-color;
}
// Exercise Headings
.exercise {
color: $ex-font-color;
background-color: $ex-background-color;
padding-left: 20px;
padding-bottom: 15px;
padding-top: 10px;
margin-left: -20px;
margin-bottom: 15px;
}
.box {
width: var(--width);
background: $box-background-color;
border-radius: 5px;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
border: 1px solid $box-border-color;
margin-left: 10px;
margin-right: 10px;
margin-top: 0px;
margin-bottom: 0px;
}