summaryrefslogtreecommitdiff
path: root/project/assets/css
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-08-07 12:20:36 +1000
committerJed Barber <jjbarber@y7mail.com>2017-08-07 12:20:36 +1000
commit92ff13627021a5fdd4eea59bd5db493cbea5406b (patch)
treeeb95a180a88c4cd8f82aa2169a4ce1fb0ddcbe07 /project/assets/css
parent60c63100f66ea5dce4ad10941b4c40725f01f3c8 (diff)
I think I've finally struck the right width balance
Diffstat (limited to 'project/assets/css')
-rw-r--r--project/assets/css/default.css14
-rw-r--r--project/assets/css/stvcount.css2
2 files changed, 13 insertions, 3 deletions
diff --git a/project/assets/css/default.css b/project/assets/css/default.css
index fce7fbf..dff3059 100644
--- a/project/assets/css/default.css
+++ b/project/assets/css/default.css
@@ -4,7 +4,7 @@
body {
margin: auto;
- max-width: 60em;
+ max-width: 75em;
font: 1.2em/1.62em sans-serif;
}
@@ -16,8 +16,14 @@ figure {
}
+div.precontain {
+ text-align: center;
+}
+
+
code {
- display: block;
+ display: inline-block;
+ text-align: left;
font-family: monospace;
white-space: pre;
background-color: #ceecf5;
@@ -29,14 +35,18 @@ code {
padding-left: 2em;
/*padding: 2em 2em 2em 2em;*/
margin: 1em 2em 1em 2em;
+ width: 60em;
}
pre {
+ display: inline-block;
+ text-align: left;
background-color: #cef6ce;
border-radius: 1.5em;
padding: 2em 2em 2em 2em;
margin: 1em 2em 1em 2em;
+ width: 60em;
}
diff --git a/project/assets/css/stvcount.css b/project/assets/css/stvcount.css
index ac98521..0570066 100644
--- a/project/assets/css/stvcount.css
+++ b/project/assets/css/stvcount.css
@@ -7,7 +7,7 @@ table, th, td {
table {
margin: 2em auto 2em auto;
- max-width: 59em;
+ max-width: 60em;
}