summaryrefslogtreecommitdiffstats
path: root/styling
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2013-06-26 22:48:31 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2013-06-26 22:48:31 +0530
commitaae6c1097a6e5345a011cc2ce066cdc25188f6ad (patch)
treea107d0936c9bdc0458bdd77fdf175502fc3f35e3 /styling
parentd2b2ea4d6fd8d8b2529d8df37ef151982c596e44 (diff)
modified: parsers/CodeBlocks.java ( code blocks are wrapped around <pre> element)
Diffstat (limited to 'styling')
-rw-r--r--styling/style.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/styling/style.css b/styling/style.css
index 1929ca3..13dd629 100644
--- a/styling/style.css
+++ b/styling/style.css
@@ -63,9 +63,13 @@ span.monospace {
font-family:monospace;
}
-div.code {
+pre {
+ display:block;
font-family:monospace;
- font-size:0.625em;
+ font-size:0.6em;
+ word-break:break-all;
+ word-wrap:break-word;
+ white-space:pre-wrap;
background-color:#fcfcfc;
margin-left:auto;
margin-right:auto;