mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-04 19:45:19 +02:00
019e464ba8
This uses the same media query as the rest of the mdbook theme: devices with a width less than 1080px (mobiles) will not see the link to open speaker notes in a new window.
31 lines
544 B
CSS
31 lines
544 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 a {
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
@media only screen and (max-width: 1080px) {
|
|
.content details summary a {
|
|
display: none;
|
|
}
|
|
}
|