-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change theme and fix some css issues
- Loading branch information
1 parent
4d88f2b
commit ee2433a
Showing
3 changed files
with
52 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* force a centered display math */ | ||
span.katex-display { | ||
width: 100%; | ||
} | ||
|
||
/* fix the version dropdown button */ | ||
.version-switcher__button { | ||
margin-bottom: unset !important; | ||
} | ||
|
||
/* fix dropdown menu position */ | ||
.bd-header-article .dropdown-menu { | ||
position: absolute; | ||
inset: 0px auto auto 0px; | ||
margin: 0px; | ||
transform: translate3d(0px, 28px, 0px); | ||
} | ||
|
||
/* fix dropdown menu hover */ | ||
.bd-header-article .dropdown-source-buttons:hover + .btn + .dropdown-menu { | ||
display: block; | ||
} | ||
.bd-header-article .btn { | ||
display: block; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters