You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-17 03:22:22 +02:00
Move CSS files into theme/
folder (#1229)
Hi all, This PR fixes https://github.com/google/comprehensive-rust/issues/1226: * Moved CSS files to `theme/css` * Moved speaker-notes.js to `theme/` * Updated paths in book.toml
This commit is contained in:
31
theme/css/speaker-notes.css
Normal file
31
theme/css/speaker-notes.css
Normal file
@ -0,0 +1,31 @@
|
||||
.content details {
|
||||
background: var(--sidebar-bg);
|
||||
color: var(--sidebar-fg) !important;
|
||||
border-radius: 0.25em;
|
||||
padding: 0.25em;
|
||||
}
|
||||
|
||||
.content details summary h4 {
|
||||
display: inline-block;
|
||||
list-style: none;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
margin: 0.5em 0.25em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.content details summary h4:target::before {
|
||||
margin-left: -40px;
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
.content details summary .pop-out {
|
||||
color: var(--icons);
|
||||
padding: 0 8px;
|
||||
cursor: pointer;
|
||||
transition: color 0.5s;
|
||||
}
|
||||
|
||||
.content details summary .pop-out i:hover {
|
||||
color: var(--icons-hover);
|
||||
}
|
Reference in New Issue
Block a user