mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-14 22:15:54 +02:00
cc0a78ed9a
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
32 lines
589 B
CSS
32 lines
589 B
CSS
.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);
|
|
}
|