Made it so code listings have horizontal scrollbars instead of getting super wide and messig with the design

This commit is contained in:
Kenton Hamaluik
2014-01-26 20:47:02 -07:00
parent 1bc386fdee
commit f73be382f1
2 changed files with 26 additions and 4 deletions

View File

@@ -50,9 +50,6 @@
.highlighttable { .highlighttable {
background: #272822; background: #272822;
border: 1px solid #8f908a; border: 1px solid #8f908a;
/* uncomment to center the code blocks */
/*margin-left: auto;
margin-right: auto;*/
width: 100%; width: 100%;
} }
@@ -115,3 +112,28 @@ p {
.archive-entry { .archive-entry {
border-top: 1px dotted; border-top: 1px dotted;
} }
table.highlighttable {
table-layout: fixed;
white-space: nowrap;
width:100%;
}
.linenos {
width: 2.25rem;
text-align: right;
margin: 0;
padding: 0;
vertical-align: top;
}
.highlight{
width: 100%;
height: auto;
overflow: auto;
}
.linenodiv {
margin: 0.55rem 0.5rem 0 0;
padding: 0;
}