summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-03 23:52:11 -0600
committerDan McGee <dan@archlinux.org>2010-05-17 10:19:24 -0500
commite7a58b9d57d77a83dd1879feafbaccef5d367587 (patch)
treec324a74f3a0fa05407f442a98938ede5bd56c50b /media
parent073e00ca703aa90858e70a7ddef71f0a16094d57 (diff)
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')
-rw-r--r--media/arch.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/media/arch.css b/media/arch.css
index 37a1acf5..83d239e3 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;
+}
+