summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-26 14:17:03 -0500
committerDan McGee <dan@archlinux.org>2012-04-26 14:17:03 -0500
commit5f22f4266cd978b4fd80cafb2201e39acaeef3fc (patch)
tree55fdf804e921283d8f567385fd73a55bd883c09d
parent104aec272669e496b8c6892d3437fb8412960595 (diff)
Developer list styles updates
* Make the developer name more prominent in dividing the blocks * Reduce the in-your-faceness of the <th> elements in every section * Other small tweaks Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--sitestatic/archweb.css49
-rw-r--r--templates/public/developer_list.html4
2 files changed, 32 insertions, 21 deletions
diff --git a/sitestatic/archweb.css b/sitestatic/archweb.css
index 407156f8..95663008 100644
--- a/sitestatic/archweb.css
+++ b/sitestatic/archweb.css
@@ -823,33 +823,46 @@ div#arch-bio-toc {
white-space: nowrap;
}
-table.arch-bio-entry td.pic {
- vertical-align: top;
- padding-right: 15px;
- padding-top: 10px;
+table.arch-bio-entry {
+ width: 75%;
+ min-width: 640px;
+ margin: 0 auto;
}
- table.arch-bio-entry td.pic img {
- padding: 4px;
- border: 1px solid #ccc;
+ table.arch-bio-entry td.pic {
+ vertical-align: top;
+ padding-right: 15px;
+ padding-top: 2.25em;
}
-table.arch-bio-entry table.bio {
- margin-bottom: 2em;
-}
+ table.arch-bio-entry td.pic img {
+ padding: 4px;
+ border: 1px solid #ccc;
+ }
- table.arch-bio-entry table.bio th {
- text-align: left;
- padding-right: 0.5em;
- vertical-align: top;
- white-space: nowrap;
+ table.arch-bio-entry td h3 {
+ border-bottom: 1px dotted #ccc;
+ margin-bottom: 0.5em;
}
- table.arch-bio-entry table.bio td {
- width: 100%;
- padding-bottom: 0.25em;
+ table.arch-bio-entry table.bio {
+ margin-bottom: 2em;
}
+ table.arch-bio-entry table.bio th {
+ color: #666;
+ font-weight: normal;
+ text-align: right;
+ 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 */
table#dev-login {
width: auto;
diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html
index 37b35b82..00d93a50 100644
--- a/templates/public/developer_list.html
+++ b/templates/public/developer_list.html
@@ -18,11 +18,9 @@
</td>
<td>
<a name="{{ dev.username }}"></a>
+ <h3>{{ dev.get_full_name }}{% if prof.latin_name %} ({{ prof.latin_name}}){% endif %}</h3>
<table class="bio bio-{{ dev.username }}">
<tr>
- <th>Name:</th>
- <td>{{ dev.get_full_name }}{% if prof.latin_name %} ({{ prof.latin_name}}){% endif %}</td>
- </tr><tr>
<th>Alias:</th>
<td>{{ prof.alias }}</td>
</tr><tr>