summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-08 00:46:04 -0500
committerDan McGee <dan@archlinux.org>2010-09-08 00:46:08 -0500
commit8117e9b8779eeba45399162be03bc2aab7580ca7 (patch)
tree1911cd809c255202e89b4f9c33685edb3c27c7f5 /media
parentf637a1eb67ed906b936ef70c0c1d8572edfe5bd7 (diff)
Paginate the news list viewrelease_2010-09-08
This view was getting huge with ~500 items on it, and most people are not really interested in seeing every single news item. Use the drop in pagination and add some controls that still allow browsing to any page of the list. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'media')
-rw-r--r--media/archweb.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/archweb.css b/media/archweb.css
index f417e5ee..e662c670 100644
--- a/media/archweb.css
+++ b/media/archweb.css
@@ -142,6 +142,10 @@ div.widget { margin-bottom: 1.5em; }
#artwork img.inverted { background: #333; padding: 0; }
#artwork div.imagelist img { display: inline; margin: 0.75em; }
+/* news: article list */
+.news-nav { float: right; margin-top: -2.2em; }
+.news-nav .prev, .news-nav .next { margin-left: 1em; margin-right: 1em; }
+
/* news: article pages */
div.news-article .article-info { margin: 0; color: #999; }