Skip to content

Commit 0478d30

Browse files
committed
Tweaks to layout
1 parent 43a2fdd commit 0478d30

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

docs/templates/bunit/styles/main.css

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,23 @@
1515
color: #fff;
1616
}
1717

18+
.sidetoc {
19+
top: 142px;
20+
}
21+
22+
#toc {
23+
margin: 0;
24+
}
25+
26+
#toc .nav > li > .expand-stub {
27+
display: none;
28+
}
29+
30+
.nav.level2 {
31+
display: block !important;
32+
margin-left: 0;
33+
}
34+
1835
.body-content {
1936
font-size: 1.4rem;
2037
}
@@ -69,14 +86,19 @@ code[name] {
6986
top: 0;
7087
right: 0;
7188
font-style: italic;
72-
z-index: 0;
7389
text-align: right;
7490
color: #c5c5c5;
75-
background: white;
91+
background: rgba(255,255,255, 0.7);
7692
border-radius: 4px;
7793
padding: 0 6px;
7894
}
7995

96+
@media (max-width: 900px) {
97+
code[name] {
98+
padding-top: 1.5em;
99+
}
100+
}
101+
80102
.alert-info code {
81103
background-color: inherit;
82104
color: #131ed2;

0 commit comments

Comments
 (0)