-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.scss
173 lines (134 loc) · 2.9 KB
/
style.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
/*-- scss:defaults --*/
@import url(https://fonts.googleapis.com/css2?family=Domine:[email protected]&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Domine:wght@700&family=Roboto&display=swap);
// Fonts
$font-family-sans-serif: "Domine", sans-serif !default;
// Custom colours
// add accent colour
$accent: #f4f4f5 !default;
$accent-dark: #27272a80 !default;
$accent-light: #f4f4f5;
$gray-100: rgb(245, 241, 238) !default;
$gray-200: rgb(230, 226, 223) !default;
$gray-300: rgb(213, 209, 206) !default;
$gray-400: rgb(166, 162, 159) !default;
// General
$body-bg: #18181b !default;
$body-color: $gray-200 !default;
$link-color: rgb(250, 246, 243) !default;
$input-bg: $gray-100 !default;
$footer-fg: $gray-300 !default;
// Sidebar
$sidebar-fg: $gray-300 !default;
// $sidebar-hl: red !default;
// Table of contents
$toc-color: $accent !default;
// Callouts
// $callout-border-width: 1 !default;
$callout-border-colour: rgba(16, 185, 129, 0.3) !default;
$callout-border-colour-left: #1cc35f !default;
$callout-note-bg: #0f1b11 !default;
$callout-note-text: rgb(167, 243, 208) !default;
// make all links bold
a {
font-weight: bold;
}
main a {
text-decoration: none;
border-bottom: 1px solid $accent;
}
main a:hover {
color: $link-color;
border-bottom: 2px solid $accent;
}
// title
// .sidebar-title a {
// color: red;
// }
// subtitle
.subtitle {
color: $accent;
}
// SIDEBAR
.menu-text {
color: $gray-400;
}
.sidebar-title {
color: $gray-200;
}
.sidebar-item-container {
border-radius: .5rem;
padding: .5rem;
}
// change sidebar colours on hover
.sidebar-item-container:hover {
background-color: #1b1511;
}
.sidebar-item-container:hover span, .sidebar-item-container:hover .bi {
color: $gray-300;
}
// active sidebar item
.sidebar-item-container:has(.active) {
background-color: $accent-dark;
}
.sidebar-item-container .active span, .sidebar-item-container .active .bi {
color: $accent;
}
// add margin to sidebar icon
.bi {
margin-right: .1rem;
}
// bottom nav links
.pagination-link {
background-color: $accent-dark;
padding: .5rem;
border: 1px solid $accent;
border-radius: 9999px;
line-height: 1.3;
}
.pagination-link span, .pagination-link .bi {
color: $accent;
font-weight: normal;
}
.pagination-link:hover {
border-color: $accent-light;
}
.pagination-link:hover span, .pagination-link:hover .bi {
color: $accent-light;
}
.nav-page-previous {
margin-right: .3rem;
}
.nav-page-next {
margin-left: .3rem;
}
.nav-page-text {
border-bottom: none;
}
// quotes
blockquote p {
color: $gray-400;
}
// code
code:not(.sourceCode) {
color: $accent-light;
}
p code:not(.sourceCode) {
color: $accent-dark;
}
// callouts
.callout-title-container {
color: white;
}
.callout, .callout-body {
background-color: black;
}
// footer
.nav-footer div a {
text-decoration: none;
color: $gray-400;
}
.nav-footer div a:hover {
color: #000;
color: $gray-300;
}