From: Richard W.M. Jones Date: Fri, 25 Jan 2019 16:46:28 +0000 (+0000) Subject: Fix stylesheet to work across Firefox and Webkit. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3165ba3162c1dac7d0b8f8345765914f08286e76;p=libguestfs-talks.git Fix stylesheet to work across Firefox and Webkit. --- diff --git a/2019-fosdem/style.css b/2019-fosdem/style.css index 0f7be38..4ade616 100644 --- a/2019-fosdem/style.css +++ b/2019-fosdem/style.css @@ -86,7 +86,6 @@ div.plugins { /* Position relative is needed so that items may be positioned inside. */ position: relative; - column-count: 4; } div.plugins p#caption { @@ -99,14 +98,17 @@ div.plugins p#caption { } div.plugins ul { + position: absolute; + top: 10%; + width: 700px; + height: 380px; + column-count: 4; list-style-type: none; - top: 50%; - transform: translateY(15%); margin: 0; } div.plugins ul li { - padding: 4px; + padding: 1px; margin: 5px; } @@ -129,7 +131,6 @@ div.filters { /* Position relative is needed so that items may be positioned inside. */ position: relative; - column-count: 4; } div.filters p.filtercaption { @@ -142,14 +143,17 @@ div.filters p.filtercaption { } div.filters ul { + position: absolute; + top: 10%; + width: 700px; + height: 180px; + column-count: 4; list-style-type: none; - top: 50%; - transform: translateY(15%); margin: 0; } div.filters ul li { - padding: 4px; + padding: 1px; margin: 5px; }