Skip to content

Commit 4886f0b

Browse files
committed
change colors and fonts weight
1 parent 54cec40 commit 4886f0b

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

mkdocs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ theme:
1212
name: material
1313
custom_dir: overrides
1414
palette:
15-
- scheme: default
16-
primary: blue grey
17-
accent: light blue
15+
- scheme: openssl
1816
toggle:
1917
icon: material/brightness-7
2018
name: Switch to dark mode

scaffold/stylesheets/extra.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,27 @@
22
overflow: hidden;
33
text-overflow: ellipsis;
44
}
5+
6+
[data-md-color-scheme="openssl"] {
7+
--md-primary-fg-color: #f6f6f6;
8+
--md-primary-bg-color: #731513;
9+
--md-accent-fg-color: #9d5b59;
10+
--md-accent-bg-color: #731513;
11+
--md-typeset-a-color: var(--md-accent-bg-color);
12+
}
13+
14+
.md-header--shadow {
15+
box-shadow: none;
16+
}
17+
18+
.md-typeset {
19+
font-weight: 300;
20+
}
21+
22+
.md-typeset a {
23+
font-weight: 400;
24+
}
25+
26+
.md-search__form:hover {
27+
background-color: #00000064;
28+
}

0 commit comments

Comments
 (0)