making raw source display better

* Make the code fill up the full width of the page (no massive whitespace on the left)
* Move the code down to make it not intersect the logo
* Set a min-width and remove the max-width so that the code doesn't scroll internally, but instead scrolls the page, meaning horizontal scroll bars are always available
* Set overflow to actually overflow, just to be sure

Fixes #15891
This commit is contained in:
Alexis Beingessner 2014-07-28 22:33:43 -04:00 committed by Alex Crichton
parent 9cffd7faea
commit 7669f04fb0

View File

@ -129,6 +129,14 @@ pre {
padding: 20px;
}
.content.source {
margin-top: 50px;
max-width: none;
overflow: visible;
margin-left: 0px;
min-width: 70em;
}
nav.sub {
font-size: 16px;
text-transform: uppercase;