Skip to content

Commit 3b0ab2f

Browse files
added css
1 parent 3c146c5 commit 3b0ab2f

3 files changed

Lines changed: 26 additions & 26 deletions

File tree

docs/stylesheets/extra.css

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,50 @@
22

33
[data-md-color-scheme="slate"] {
44
--md-default-bg-color: #0f1724;
5-
--md-default-fg-color: #ffffff;
65
}
76

8-
/* MAIN TITLE */
7+
/* SIDEBAR */
8+
9+
.md-sidebar {
10+
background-color: #111827 !important;
11+
}
12+
13+
/* TITLES */
914

1015
.md-typeset h1 {
11-
font-size: 3rem;
16+
color: white !important;
17+
font-size: clamp(1.8rem, 4vw, 2.4rem);
1218
font-weight: 700;
13-
color: white;
1419
}
1520

16-
/* SECTION TITLES */
17-
1821
.md-typeset h2 {
19-
font-size: 2rem;
22+
color: white !important;
23+
24+
font-size: clamp(1.2rem, 2vw, 1.6rem);
25+
2026
font-weight: 700;
27+
2128
border-left: 4px solid #4f8cff;
22-
padding-left: 14px;
23-
color: white;
29+
30+
padding-left: 10px;
2431
}
2532

2633
/* CODE BLOCKS */
2734

28-
.md-typeset pre > code {
29-
background-color: #1a2233 !important;
30-
border-radius: 14px;
31-
}
35+
.highlight pre {
36+
background: #1a2233 !important;
3237

33-
/* INLINE CODE */
38+
border-radius: 12px;
3439

35-
.md-typeset code {
36-
border-radius: 6px;
40+
border: 1px solid rgba(255,255,255,0.06);
3741
}
3842

39-
/* SIDEBAR */
43+
/* INLINE CODE */
4044

41-
.md-sidebar {
42-
background-color: #111827;
43-
}
45+
.md-typeset code {
46+
background-color: rgba(255,255,255,0.08);
4447

45-
/* PAGE WIDTH */
48+
border-radius: 6px;
4649

47-
.md-grid {
48-
max-width: 1500px;
50+
padding: 2px 6px;
4951
}

mkdocs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ theme:
44
name: material
55

66
features:
7-
- navigation.sections
87
- navigation.expand
9-
- navigation.instant
108
- content.code.copy
119
- search.highlight
1210

@@ -32,4 +30,4 @@ markdown_extensions:
3230
permalink: true
3331

3432
extra_css:
35-
- docs/stylesheets/extra.css
33+
- stylesheets/extra.css

0 commit comments

Comments
 (0)