Skip to content

Commit

Permalink
Line numbering and code now line up. Fixes issue docstrap#5.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelw committed Jul 9, 2013
1 parent 3ed7bda commit 3b21274
Show file tree
Hide file tree
Showing 14 changed files with 146 additions and 104 deletions.
13 changes: 8 additions & 5 deletions template/static/styles/site.amelia.css
Expand Up @@ -826,12 +826,12 @@ code {
white-space: nowrap;
}
pre {
display: block;
/*display: block;*/
padding: 9.5px;
margin: 0 0 10px;
/*margin: 0 0 10px;*/
font-size: 13px;
line-height: 20px;
word-break: break-all;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
Expand All @@ -840,7 +840,10 @@ pre {
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 2px 9.5px !important;
}
pre.prettyprint {
margin-bottom: 20px;
Expand Down
17 changes: 10 additions & 7 deletions template/static/styles/site.cerulean.css
Expand Up @@ -826,21 +826,24 @@ code {
white-space: nowrap;
}
pre {
display: block;
/*display: block;*/
padding: 9.5px;
margin: 0 0 10px;
/*margin: 0 0 10px;*/
font-size: 13px;
line-height: 20px;
word-break: break-all;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 20px;
Expand Down
17 changes: 10 additions & 7 deletions template/static/styles/site.cosmo.css
Expand Up @@ -826,21 +826,24 @@ code {
white-space: nowrap;
}
pre {
display: block;
/*display: block;*/
padding: 9.5px;
margin: 0 0 10px;
/*margin: 0 0 10px;*/
font-size: 13px;
line-height: 20px;
word-break: break-all;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 20px;
Expand Down
17 changes: 10 additions & 7 deletions template/static/styles/site.cyborg.css
Expand Up @@ -826,21 +826,24 @@ code {
white-space: nowrap;
}
pre {
display: block;
/*display: block;*/
padding: 9.5px;
margin: 0 0 10px;
/*margin: 0 0 10px;*/
font-size: 13px;
line-height: 20px;
word-break: break-all;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 20px;
Expand Down
17 changes: 10 additions & 7 deletions template/static/styles/site.darkstrap.css
Expand Up @@ -826,21 +826,24 @@ code {
white-space: nowrap;
}
pre {
display: block;
/*display: block;*/
padding: 9.5px;
margin: 0 0 10px;
/*margin: 0 0 10px;*/
font-size: 13px;
line-height: 20px;
word-break: break-all;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 20px;
Expand Down
21 changes: 12 additions & 9 deletions template/static/styles/site.flatly.css
Expand Up @@ -826,21 +826,24 @@ code {
white-space: nowrap;
}
pre {
display: block;
padding: 10px;
margin: 0 0 10.5px;
font-size: 14px;
line-height: 21px;
word-break: break-all;
/*display: block;*/
padding: 9.5px;
/*margin: 0 0 10px;*/
font-size: 13px;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 21px;
Expand Down
17 changes: 10 additions & 7 deletions template/static/styles/site.journal.css
Expand Up @@ -826,21 +826,24 @@ code {
white-space: nowrap;
}
pre {
display: block;
/*display: block;*/
padding: 9.5px;
margin: 0 0 10px;
/*margin: 0 0 10px;*/
font-size: 13px;
line-height: 20px;
word-break: break-all;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 20px;
Expand Down
21 changes: 12 additions & 9 deletions template/static/styles/site.readable.css
Expand Up @@ -826,21 +826,24 @@ code {
white-space: nowrap;
}
pre {
display: block;
padding: 12.5px;
margin: 0 0 13px;
font-size: 16px;
line-height: 26px;
word-break: break-all;
/*display: block;*/
padding: 9.5px;
/*margin: 0 0 10px;*/
font-size: 13px;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 26px;
Expand Down
13 changes: 8 additions & 5 deletions template/static/styles/site.simplex.css
Expand Up @@ -826,12 +826,12 @@ code {
white-space: nowrap;
}
pre {
display: block;
/*display: block;*/
padding: 9.5px;
margin: 0 0 10px;
/*margin: 0 0 10px;*/
font-size: 13px;
line-height: 20px;
word-break: break-all;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
Expand All @@ -840,7 +840,10 @@ pre {
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 20px;
Expand Down
19 changes: 11 additions & 8 deletions template/static/styles/site.slate.css
Expand Up @@ -825,21 +825,24 @@ code {
white-space: nowrap;
}
pre {
display: block;
padding: 10px;
margin: 0 0 10.5px;
/*display: block;*/
padding: 9.5px;
/*margin: 0 0 10px;*/
font-size: 13px;
line-height: 21px;
word-break: break-all;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 21px;
Expand Down
21 changes: 12 additions & 9 deletions template/static/styles/site.spacelab.css
Expand Up @@ -826,21 +826,24 @@ code {
white-space: nowrap;
}
pre {
display: block;
padding: 10px;
margin: 0 0 10.5px;
font-size: 14px;
line-height: 21px;
word-break: break-all;
/*display: block;*/
padding: 9.5px;
/*margin: 0 0 10px;*/
font-size: 13px;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 21px;
Expand Down
21 changes: 12 additions & 9 deletions template/static/styles/site.spruce.css
Expand Up @@ -826,21 +826,24 @@ code {
white-space: nowrap;
}
pre {
display: block;
padding: 10px;
margin: 0 0 10.5px;
font-size: 14px;
line-height: 21px;
word-break: break-all;
/*display: block;*/
padding: 9.5px;
/*margin: 0 0 10px;*/
font-size: 13px;
/*line-height: 20px;*/
/*word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;*/
}
.sunlight-line-number-margin {
padding: 9.5px !important;
}
pre.prettyprint {
margin-bottom: 21px;
Expand Down

0 comments on commit 3b21274

Please sign in to comment.