From 377e0a01c94fa7f8873610ba0ae3ada3ebd2acb1 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Sat, 14 Nov 2015 11:31:17 +0100 Subject: [PATCH] add background picture and some fixes This adds some fixes for the size of the article boxes. --- themes/zero/static/css/style.css | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/themes/zero/static/css/style.css b/themes/zero/static/css/style.css index d659336..48e0e5e 100644 --- a/themes/zero/static/css/style.css +++ b/themes/zero/static/css/style.css @@ -23,10 +23,15 @@ body > header > h1 > a { align-items: stretch; } .entries > li { - margin-top: 1em; + margin-top: 0.5em; + margin-bottom: 0.5em; padding: 1em; } +body { + background-image: url('/img/background.png'); +} + @media screen and ((max-width: 750px) or (orientation: portait)) { .entries > li { width: 100%; @@ -34,17 +39,17 @@ body > header > h1 > a { } @media screen and (min-width: 750px) and (orientation: landscape) { .entries > li { - width: 50%; + width: 49%; } } @media screen and (min-width: 1000px) and (orientation: landscape) { .entries > li { - width: 33%; + width: 32%; } } @media screen and (min-width: 1450px) and (orientation: landscape) { .entries > li { - width: 25%; + width: 24%; } }