From e7a58b9d57d77a83dd1879feafbaccef5d367587 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 3 Mar 2010 23:52:11 -0600 Subject: Donor page rework for list formatting Instead of doing slicing and ugly table-based layout, move to a CSS-based organization of the donor list. Shoot for 4 columns but should degrade gracefully to fewer, and will look just fine with no CSS at all (one big tall list). Signed-off-by: Dan McGee --- media/arch.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'media/arch.css') diff --git a/media/arch.css b/media/arch.css index 37a1acf..83d239e 100644 --- a/media/arch.css +++ b/media/arch.css @@ -373,3 +373,15 @@ form#newsform input[type=text] { form#newsform textarea { width: 100%; } + +/* donate page styles */ +ul#donorlist { + width: 100%; +} +ul#donorlist li { + float: left; + /* max 4 columns, but possibly fewer if screen size doesn't allow for more */ + width: 25%; + min-width: 20em; +} + -- cgit v1.2.3-24-g4f1b