Mobile adaptations

This commit is contained in:
Damien Vitrac 2018-12-07 14:33:31 +01:00
parent bfc12e20f3
commit 7b84598eac
2 changed files with 6 additions and 5 deletions

View File

@ -755,6 +755,7 @@ table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p {
padding: 1.25em; padding: 1.25em;
background: #f1f1f1; background: #f1f1f1;
border-radius: 4px; border-radius: 4px;
overflow: scroll;
} }
.sidebarblock > :first-child { .sidebarblock > :first-child {
@ -776,13 +777,13 @@ table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p {
} }
.literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint { .literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint {
background: #232323; background: #282c33;
color: #e6e1dc; color: #e6e1dc;
border-radius: 4px; border-radius: 4px;
} }
.sidebarblock .literalblock pre, .sidebarblock .listingblock pre:not(.highlight), .sidebarblock .listingblock pre[class="highlight"], .sidebarblock .listingblock pre[class^="highlight "], .sidebarblock .listingblock pre.CodeRay, .sidebarblock .listingblock pre.prettyprint { .sidebarblock .literalblock pre, .sidebarblock .listingblock pre:not(.highlight), .sidebarblock .listingblock pre[class="highlight"], .sidebarblock .listingblock pre[class^="highlight "], .sidebarblock .listingblock pre.CodeRay, .sidebarblock .listingblock pre.prettyprint {
background: #232323; background: #282c33;
color: #e6e1dc; color: #e6e1dc;
} }
@ -797,8 +798,8 @@ table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p {
.literalblock pre.nowrap, .literalblock pre[class].nowrap, .listingblock pre.nowrap, .listingblock pre[class].nowrap { .literalblock pre.nowrap, .literalblock pre[class].nowrap, .listingblock pre.nowrap, .listingblock pre[class].nowrap {
overflow-x: auto; overflow-x: auto;
white-space: pre; white-space: nowrap;
word-wrap: normal; word-break: keep-all;
} }

View File

@ -145,7 +145,7 @@ body.toc2 {
#header > h1:first-child + #toc { #header > h1:first-child + #toc {
margin-top: 8px; margin-top: 8px;
border-top: 1px solid #ddddd8; border-top: 0 none;
} }
#header > h1:only-child, body.toc2 #header > h1:nth-last-child(2) { #header > h1:only-child, body.toc2 #header > h1:nth-last-child(2) {