From 92ff13627021a5fdd4eea59bd5db493cbea5406b Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 7 Aug 2017 12:20:36 +1000 Subject: I think I've finally struck the right width balance --- project/assets/css/default.css | 14 ++++++++++++-- project/assets/css/stvcount.css | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'project/assets') 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; } -- cgit