From 63ddc9d98e6d626c91935ad7270c0a659c381ea3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20St=C4=99pniowski?= Date: Wed, 10 Sep 2008 14:42:17 +0200 Subject: [PATCH] Used CSS3 properties to columnize content. --- wolnelektury/media/css/master.css | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/wolnelektury/media/css/master.css b/wolnelektury/media/css/master.css index 6615ee6c8..b86875aa0 100644 --- a/wolnelektury/media/css/master.css +++ b/wolnelektury/media/css/master.css @@ -170,6 +170,16 @@ em { /* ============= */ /* = Tags list = */ /* ============= */ +#main-page #tags-list { + margin-right: 29em; +} + +#main-page #themes-list ul, #main-page #categories-list ul { + -moz-column-width: 12em; + -webkit-column-width: 12em; + column-width: 12em; +} + #tags-list { margin-top: 1em; padding: 1em; @@ -198,23 +208,13 @@ em { #main-page #categories-list { float: left; - width: 50%; + width: 47.5%; } #main-page #themes-list { - margin-left: 50%; -} - - -.column { - padding-right: 1em; -} - -.last.column { - padding-right: 0; + margin-left: 52.5%; } - #books-list { width: 38em; float: left; @@ -438,6 +438,12 @@ em { /* ======================== */ /* = Alphabetic book list = */ /* ======================== */ +#book-a-list #book-list { + -moz-column-width: 24em; + -webkit-column-width: 24em; + column-width: 24em; +} + #book-a-list #book-list ol { padding: 0; margin: 0.3em 0 1.2em 0; -- 2.20.1