diff options
author | Dan McGee <dan@archlinux.org> | 2010-03-04 06:52:11 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-17 17:19:24 +0200 |
commit | e7a58b9d57d77a83dd1879feafbaccef5d367587 (patch) | |
tree | c324a74f3a0fa05407f442a98938ede5bd56c50b /media/arch.css | |
parent | 073e00ca703aa90858e70a7ddef71f0a16094d57 (diff) | |
download | archweb-e7a58b9d57d77a83dd1879feafbaccef5d367587.tar.gz archweb-e7a58b9d57d77a83dd1879feafbaccef5d367587.tar.xz |
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 <dan@archlinux.org>
Diffstat (limited to 'media/arch.css')
-rw-r--r-- | media/arch.css | 12 |
1 files changed, 12 insertions, 0 deletions
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; +} + |