summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorThayer Williams <thayerw@gmail.com>2010-03-16 11:15:38 -0700
committerDan McGee <dan@archlinux.org>2010-05-17 14:49:43 -0500
commit278162de2055f5d84e5887f3d68bb48b52ad2840 (patch)
treee196956c6e290699329d71c750a4da6bb000465d /media
parent6f9308abd95e6935bb173cbe6439b45f29763ba1 (diff)
Added new stylesheets which will eventually go CDN
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'media')
-rw-r--r--media/archweb-print.css11
-rw-r--r--media/archweb.css282
2 files changed, 293 insertions, 0 deletions
diff --git a/media/archweb-print.css b/media/archweb-print.css
new file mode 100644
index 00000000..2946de54
--- /dev/null
+++ b/media/archweb-print.css
@@ -0,0 +1,11 @@
+/*
+ * ARCH LINUX DJANGO (MAIN SITE)
+ *
+ * Stylesheet for printing
+ */
+
+/* general styling */
+body { font: normal 100% sans-serif; }
+#content { font-size: 0.812em; }
+#archnavbarmenu, #archdev-navbar, .admin-actions { display: none; }
+
diff --git a/media/archweb.css b/media/archweb.css
new file mode 100644
index 00000000..d981bdf1
--- /dev/null
+++ b/media/archweb.css
@@ -0,0 +1,282 @@
+/*
+ * ARCH LINUX DJANGO (MAIN SITE)
+ *
+ * Font sizing based on 16px browser defaults (use em):
+ * 14px = 0.875em
+ * 13px = 0.812em
+ * 12px = 0.75em
+ * 11px = 0.6875em
+ *
+ */
+
+/* import the global navbar stylesheet */
+@import url('http://cinderwick.ca/archnavbar/archnavbar.css');
+
+/* simple reset */
+* { margin: 0; padding: 0; border: 0; line-height: 1.4; }
+
+/* general styling */
+body { min-width: 650px; background: #eef; color: #444; font: normal 100% sans-serif; text-align: center; }
+p { margin: .33em 0 1em; }
+ol, ul { margin-bottom: 1em; padding-left: 2em; }
+ul { list-style: square; }
+code { font: 1.2em monospace; background: #ffa; padding: 0.15em 0.25em; }
+pre { font: 1.2em monospace; border: 1px solid #bdb; background: #dfd; padding: 0.5em; margin: 0.25em 2em; }
+blockquote { margin: 1.5em 2em; }
+input { vertical-align: middle; }
+.clear { clear: both; }
+hr { border: none; border-top: 1px solid #888; }
+
+/* scale fonts down to a sane default (16 * .812 = 13px) */
+#content { font-size: 0.812em; }
+
+/* link style */
+a { text-decoration: none; }
+a:link, th a:visited { color: #07b; }
+a:visited { color: #549; }
+a:hover { text-decoration: underline; }
+a:active { color: #e90; }
+
+/* headings */
+h2 { font-size: 1.5em; margin-bottom: 0.5em; border-bottom: 1px solid #888; }
+h3 { font-size: 1.25em; margin-top: 1em; }
+h4 { font-size: 1.15em; margin-top: 1em; }
+h5 { font-size: 1em; margin-top: 1em; }
+
+/* general layout */
+div#content { width: 95%; margin: 0 auto; text-align: left; }
+div#content-left-wrapper { float: left; width: 100%; } /* req to keep content above sidebar in source code */
+div#content-left { margin: 0 340px 0 0; }
+div#content-right { float: left; width: 300px; margin-left: -300px; }
+div.box { margin-bottom: 1.5em; padding: 0.65em; background: #fff; border: 1px solid #bcd; }
+div#footer { clear: both; margin: 2em 0 1em; }
+div#footer p { margin: 0; text-align: center; font-size: 0.85em; }
+
+/* alignment */
+div.center, table.center, img.center { width: auto; margin-left: auto; margin-right: auto; }
+p.center, td.center, th.center { text-align: center; }
+
+/* table generics */
+table { width: 100%; border-collapse: collapse; }
+table .wrap { white-space: normal; }
+th, td { white-space: nowrap; text-align: left; }
+th { vertical-align: middle; font-weight: bold; }
+td { vertical-align: top; }
+
+/* table pretty styles */
+table.pretty1 { width: auto; margin-top: 0.25em; margin-bottom: 0.5em; border-collapse: collapse; border: 1px solid #bcd; }
+table.pretty1 th { padding: 0.35em; background: #eef; border: 1px solid #bcd; }
+table.pretty1 td { padding: 0.35em; border: 1px dotted #bcd; }
+table.pretty2 { width: auto; margin-top: 0.25em; margin-bottom: 0.5em; border-collapse: collapse; border: 1px solid #bbb; }
+table.pretty2 th { padding: 0.35em; background: #eee; border: 1px solid #bbb; }
+table.pretty2 td { padding: 0.35em; border: 1px dotted #bbb; }
+
+
+/* forms and input styling */
+form p { margin: 0.5em 0; }
+label { width: 12em; vertical-align: top; display: inline-block; font-weight: bold; }
+input, textarea, select { background: #ffc; border: 1px solid #cca; }
+input[type=text], input[type=password], textarea { padding: 0.10em; }
+input[type=submit], input[type=button] { background: #6af; color: #fff; border: 1px solid #37c; font-weight: bold; margin: 0; padding: 0.10em 0.25em; }
+input[type=submit]:hover, input[type=button]:hover { background: #38d; border-color: #04a; }
+form.general-form label, form.general-form .form-help { width: 10em; vertical-align: top; display: inline-block; }
+form.general-form input[type=text], form.general-form textarea { width: 45%; }
+
+/* archdev navbar */
+div#archdev-navbar { margin: 1.5em 0; }
+div#archdev-navbar ul { list-style: none; margin: -0.5em 0; padding: 0; }
+div#archdev-navbar li { display: inline; margin: 0; padding: 0; font-size: 0.9em; }
+div#archdev-navbar li a { padding: 0 0.5em; color: #07b; }
+
+/* error/info messages (x pkg is already flagged out-of-date, etc) */
+#sys-message { width: 35em; text-align: center; margin: 1em auto; padding: 0.5em; background: #fff; border: 1px solid #f00; }
+#sys-message p { margin: 0; }
+
+/*
+ * PAGE SPECIFIC STYLES
+ */
+
+/* home: introduction */
+#intro p.readmore { margin: -0.5em 0 0 0; font-size: .9em; text-align: right; }
+
+/* home: news */
+#news { margin-top: 1.5em; }
+#news p { margin-bottom: 1.5em; }
+#news h3 { border-bottom: 1px solid #888; }
+#news .more { font-weight: normal; }
+#news .rss-icon { float: right; margin: -1.6em 0.4em 0 0; }
+#news h4 { font-size: 1em; margin-top: 1.5em; border-bottom: 1px dotted #bbb; }
+#news .timestamp { float: right; font-size: 0.85em; margin: -1.8em 0.5em 0 0; }
+
+/* home: pkgsearch box */
+#pkgsearch { padding: 1em 0.75em; background: #3ad; color: #fff; border: 1px solid #08b; }
+#pkgsearch p { margin: 0; padding: 0; font-weight: bold; font-size: 0.9em; text-align: right; }
+#pkgsearch input { vertical-align: bottom; width: 12em; padding: 0.15em; font-size: 1em; background: #fff; border: 1px solid #09c; }
+
+/* home: recent pkg updates */
+#pkg-updates h3 { margin: 0 0 0.3em; }
+#pkg-updates .more { font-weight: normal; }
+#pkg-updates .rss-icon { float: right; margin: -2em 0 0 0; }
+#pkg-updates table { margin: 0; }
+#pkg-updates td.pkg-arch { text-align: right; }
+#pkg-updates a.testing, #pkg-updates a.community-testing { font-style: italic; }
+
+/* home: sidebar navigation */
+div#nav-sidebar ul { list-style: none; margin: 0.5em 0 0.5em 1em; padding: 0; }
+
+/* home: sponsor banners */
+div#sponsors img { padding: 0.3em 0; }
+
+/* home: sidebar components (navlist, sponsors, pkgsearch, etc) */
+div.widget { margin-bottom: 1.5em; }
+
+/* feeds page */
+#rss-feeds .rss { padding-right: 20px; background: url(rss.png) top right no-repeat; }
+
+/* artwork: logo images */
+#artwork img.inverted { background: #333; padding: 0; }
+#artwork div.imagelist img { display: inline; margin: 0.75em; }
+
+/* news: article pages */
+div#news-article .article-info { margin: 0; color: #999; }
+
+/* news: add/edit article */
+form#newsform { width: 60em; }
+form#newsform input[type=text], form#newsform textarea { width: 75%; }
+
+
+/* donate: donor list */
+div#donor-list ul { margin: 0.5em 0; padding: 0; list-style: none; }
+div#donor-list li { margin: 0; padding: 0; font-size: 0.8em; }
+div#donor-list br { clear: left; }
+div.donor-slice { float: left; width: 16em; }
+
+/* download page */
+#arch-downloads h3 { border-bottom: 1px dotted #aaa; }
+table#download-torrents .cpu-arch { text-align: center; }
+table#download-mirrors { width: auto; margin-bottom: 1em; }
+table#download-mirrors td.mirror-country { padding-top: 1em; }
+table#download-mirrors td.mirror-server { padding-right: 1em; }
+table#download-mirrors a { display: block; float: right; width: 4em; }
+
+/* pkglists/devlists */
+table.results { font-size: 0.846em; }
+table.results th { padding: 0.5em 1em 0.25em 0.25em; border-bottom: 1px solid #999; white-space: nowrap; }
+table.results td { padding: .3em 1em .3em 3px; }
+table.results tr.even { background: #e7ecff; }
+
+/* pkglist: layout */
+div#pkglist-search { margin-bottom: 1.5em; }
+div#pkglist-about { margin-top: 1.5em; }
+
+/* pkglist: results */
+#pkglist-results .flagged { color: red; }
+
+/* pkglist: results navigation */
+#pkglist-stats-top { font-size: 0.85em; border-bottom: 1px dotted #999; }
+#pkglist-stats-bottom { font-size: 0.85em; border-top: 1px dotted #999; }
+#pkglist-results .pkglist-nav { float: right; margin-top: -2.2em; }
+.pkglist-nav .prev { margin-right: 1em; }
+.pkglist-nav .next { margin-right: 1em; }
+
+/* pkglist: search fields */
+#pkglist-search h3 { font-size: 1em; margin-top:0; }
+#pkglist-search div { float: left; margin-right: 1.65em; font-size: 0.85em; }
+#pkglist-search legend { display: none; }
+#pkglist-search label { width: auto; display: block; font-weight: normal; }
+
+/* pkgdetails: action list (svn entries, flag out-of-date) */
+#pkgdetails #actionlist { float: right; }
+#pkgdetails #actionlist ul { list-style: none; padding: 0; font-size: 0.846em }
+#pkgdetails #actionlist .flagged { color: red; font-size: 0.9em; font-style: italic; }
+
+/* pkgdetails: pkg info */
+#pkgdetails #pkginfo { width: auto; }
+#pkgdetails #pkginfo td { padding: 0.25em 0 0.25em 1.5em; }
+
+/* pkgdetails: flag package */
+form#flag-pkg-form label { width: 10em; }
+form#flag-pkg-form textarea, form#flag-pkg-form input[type=text] { width: 45%; }
+
+/* pkgdetails: deps, required by and file lists */
+#pkgdetails #metadata h3 { background: #555; color: #fff; font-size: 1em; margin-bottom: 0.5em; padding: 0.2em 0.35em; }
+#pkgdetails #metadata ul { list-style: none; margin: 0; padding: 0; }
+#pkgdetails #metadata li { padding-left: 0.5em; }
+#pkgdetails #metadata br { clear: both; }
+#pkgdetails #pkgdeps { float: left; width: 48%; margin-right: 2%; }
+#pkgdetails #pkgreqs { float: left; width: 50%; }
+#pkgdetails #pkgfiles { clear: left; padding-top: 1em; }
+
+/* dev/TU biographies */
+div#arch-bio-toc { width: 75%; margin: 0 auto; text-align: center; }
+table.arch-bio-entry td.pic { vertical-align: top; padding-right: 15px; padding-top: 10px; }
+table.arch-bio-entry td.pic img { padding: 4px; border: 1px solid #ccc; }
+/* ************************************** TEMPORARY *****************************/
+
+td.pic-dale img,
+td.pic-dan img,
+td.pic-dgriffiths img,
+td.pic-francois img,
+td.pic-geoffroy img,
+td.pic-james img,
+td.pic-jgc img,
+td.pic-kevin img,
+td.pic-pierre img,
+td.pic-romashka img,
+td.pic-ronald img,
+td.pic-thomas img,
+td.pic-vesa img { display: none; }
+td.pic-dale,
+td.pic-dan,
+td.pic-dgriffiths,
+td.pic-francois,
+td.pic-geoffroy,
+td.pic-james,
+td.pic-jgc,
+td.pic-kevin,
+td.pic-pierre,
+td.pic-romashka,
+td.pic-ronald,
+td.pic-thomas,
+td.pic-vesa { background: url(http://cinderwick.ca/archnavbar/arch-bio-nopic.png) no-repeat; vertical-align: top; padding-right: 15px; padding-top: 10px; }
+/* ************************************** END TEMPORARY *****************************/
+table.arch-bio-entry table.bio { margin-bottom: 2em; }
+table.arch-bio-entry table.bio th { text-align: left; padding-right: 0.5em; vertical-align: top; white-space: nowrap; }
+table.arch-bio-entry table.bio td { width: 100%; padding-bottom: 0.25em; }
+
+/* dev: login/out */
+p.login-error {}
+table#dev-login { width: auto; }
+
+/* dev dashboard: flagged packages */
+form#dash-pkg-notify { text-align: right; padding: 1em 0 0; margin-top: 1em; font-size: 0.85em; border-top: 1px dotted #aaa; }
+form#dash-pkg-notify label { width: auto; font-weight: normal; }
+form#dash-pkg-notify input { vertical-align: middle; margin: 0 0.25em; }
+form#dash-pkg-notify input[type=submit] { margin-top: -0.25em; }
+form#dash-pkg-notify p { margin: 0; }
+
+/* dev dashboard: collapse stat tables by default */
+table#stats-by-maintainer, table#stats-by-repo, table#stats-by-arch { display: none; }
+table.dash-stats .key { width: 50%; }
+span.dash-click { font-weight: normal; font-size: 0.8em; color: #888; }
+div.dash-stats h3 { color: #07b; border-bottom: 1px dotted #aaa; }
+
+/* dev dashboard: admin actions (add news items, todo list, etc) */
+ul.admin-actions { float: right; list-style: none; margin-top: -2.5em; }
+ul.admin-actions li { display: inline; padding-left: 1.5em; }
+
+/* dev: todo list */
+#dev-todo .complete, #dev-todo-details .complete { color: green; }
+#dev-todo .incomplete, #dev-todo-details .incomplete { color: red; }
+
+/* dev: signoff page */
+#dev-signoffs ul { list-style: none; margin: 0; padding: 0; }
+#dev-signoffs .signoff-yes { color: green; font-weight: bold; }
+#dev-signoffs .signoff-no { color: red; }
+#dev-signoffs .signed-username { color: #888; margin-left: 0.5em; }
+
+/* Used by Django's FormWrappers */
+textarea.vLargeTextField { width: 450px; height: 250px; }
+
+/* highlight current website in the navbar */
+#archnavbar ul li.selected a { color: white !important; }