[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

http://www.debian.org/mirror/list page layout update



To whom it might concern.

Hello.

Proposal for smaller code for http://www.debian.org/mirror/list page's 'Secondary mirrors of the Debian archive' table.

1. Add new CSS styles:

td h3 {
    border-top: 1px solid #BBBBBB;
    padding-top: 1em;
}

table.center td {
    vertical-align: top;
}

.arch {
    font-size: 0.563em;
}

.hosts {
    padding-left: 1.5em;
    font-family: monospace;
}

It could be separate CSS file or even <style> block of <head> section.

2. Remove rows with <tr><td colspan="4"><hr style="height:1"></td></tr> over country names.

3. Change rows to show country names from:

<tr><td colspan="4"><big><strong>Australia</strong></big></td></tr>

to:

<tr><td colspan="4"><h3>Australia</h3></td></tr>


4. Show host column (1st <td>) as follow:

<td>
<code>ftp.au.debian.org</code>
<div class="hosts">([placeholder for hosts under common host name])</div>
</td>

5. Instead of double <small> in last <td> use <span class="arch">...</span>

6. Remove valign="top" attribute from <td> tag because of 'table.center td' CSS rule.


Regards,
Mitry.


Reply to: