Skip to content

Commit 3dc6520

Browse files
authored
Merge pull request #167 from kayjan/fix-sphinx-css
Fixed: Sphinx documentation CSS
2 parents 5f4bbe7 + 4f6f21f commit 3dc6520

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88
### Changed
99
- Misc: Update SEO image.
10+
- Misc: Fix Sphinx documentation CSS for font size difference.
1011

1112
## [0.15.6] - 2023-01-20
1213
### Added

docs/source/_static/custom.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/* Font */
2+
body {
3+
font-size: 14px;
4+
}
25
.md-typeset h2 {
36
margin: 1.5rem 0 0.5rem;
47
}
@@ -22,9 +25,9 @@ li, ul {
2225
}
2326

2427
/* Code Font */
25-
span.pre, .highlight {
28+
span.pre, .highlight, .highlight * {
2629
font-family: monospace;
27-
font-size: 0.9rem;
30+
font-size: 0.7rem;
2831
}
2932
.sig span {
3033
color: #212322 !important;

0 commit comments

Comments
 (0)