mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
doc: fix dark-mode-toggle style
- Use designated CSS parts to style the toggle properly - Use breadcrumbs_aside block to render dark mode toggle Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
committed by
Carles Cufí
parent
13c516e04b
commit
8b3f23eddc
12
doc/_static/css/custom.css
vendored
12
doc/_static/css/custom.css
vendored
@@ -927,8 +927,16 @@ kbd, .kbd {
|
||||
background-color: var(--admonition-danger-background-color);
|
||||
}
|
||||
|
||||
#dark-mode-toggle {
|
||||
float: right;
|
||||
|
||||
dark-mode-toggle::part(fieldset) {
|
||||
padding-inline: 0.75rem;
|
||||
padding-block: 0;
|
||||
}
|
||||
|
||||
dark-mode-toggle::part(darkLabel),
|
||||
dark-mode-toggle::part(lightLabel),
|
||||
dark-mode-toggle::part(toggleLabel){
|
||||
font-size: unset;
|
||||
}
|
||||
|
||||
/* Home page grid display */
|
||||
|
||||
Reference in New Issue
Block a user