mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-14 14:52:37 +00:00
Tweak css for inline code blocks in sidebar
This commit is contained in:
parent
e40b293336
commit
2d00f40a24
2 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,9 @@ h3 {
|
||||||
left: -300px;
|
left: -300px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.sidebar code {
|
||||||
|
line-height: 2em;
|
||||||
|
}
|
||||||
.sidebar-hidden .sidebar {
|
.sidebar-hidden .sidebar {
|
||||||
left: -300px;
|
left: -300px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,10 @@
|
||||||
@media only screen and (max-width: 1060px) {
|
@media only screen and (max-width: 1060px) {
|
||||||
left: - $sidebar-width
|
left: - $sidebar-width
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
line-height: 2em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-hidden .sidebar {
|
.sidebar-hidden .sidebar {
|
||||||
|
|
Loading…
Reference in a new issue