From ea2e6b670604db4e6a4599098edcac84ea99d6e5 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 2 May 2019 23:24:34 +0200 Subject: [PATCH] portal: fix background style --- content/static/style/default.css | 8 ++++---- xsl/xhtml5.xsl | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/content/static/style/default.css b/content/static/style/default.css index a8d3d4471..e2b69553e 100644 --- a/content/static/style/default.css +++ b/content/static/style/default.css @@ -379,10 +379,6 @@ abbr.dtstart, abbr.dtend { vertical-align: middle; margin: 0.3em 0.15em 0; padding: 0; - - background-size: cover; - background-position: center; - background-repeat: no-repeat; } #portal article > a { display: block; @@ -391,6 +387,10 @@ abbr.dtstart, abbr.dtend { padding: 0; width: 14.5em; height: 14.5em; + + background-size: cover; + background-position: center; + background-repeat: no-repeat; } #portal article > a:hover { margin: 0; diff --git a/xsl/xhtml5.xsl b/xsl/xhtml5.xsl index dbc167027..b901e822f 100644 --- a/xsl/xhtml5.xsl +++ b/xsl/xhtml5.xsl @@ -354,8 +354,9 @@ -