aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/global.css20
-rw-r--r--www/template.html1
2 files changed, 19 insertions, 2 deletions
diff --git a/www/global.css b/www/global.css
index 80309059..87df287d 100644
--- a/www/global.css
+++ b/www/global.css
@@ -18,7 +18,20 @@ body {
}
pre {
- margin-left: 2.5em
+ padding: 0.3em;
+}
+
+pre,table {
+ overflow-x: auto;
+ display: block;
+}
+
+code, pre {
+ background-color: #DDD;
+}
+
+img {
+ max-width: 100%;
}
#logo {
@@ -31,6 +44,11 @@ a {
color: #22D;
}
+/* probably generated with autolink_bare_uris extension */
+a.uri {
+ word-wrap: break-word;
+}
+
a:hover {
color: #008;
}
diff --git a/www/template.html b/www/template.html
index 4ce72774..c2bdcda0 100644
--- a/www/template.html
+++ b/www/template.html
@@ -14,7 +14,6 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
- <style type="text/css">code{white-space: pre;}</style>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$