Skip to content

Commit 851ad2c

Browse files
committed
Minor CSS cleaning for /wg/ pages
- Legacy-Id: 2035
1 parent bf4c927 commit 851ad2c

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

ietf/templates/wginfo/wg-dir.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@
3636

3737
{% block title %}Active IETF Working Groups{% endblock %}
3838

39+
{% block morecss %}
40+
.ietf-wg-table { width: 100%; max-width:50em; }
41+
.ietf-wg-table tr { vertical-align:top; }
42+
{% endblock morecss %}
43+
3944
{% block content %}
4045
<h1>Active IETF Working Groups</h1>
4146

@@ -72,9 +77,9 @@ <h2 class="ietf-divider" id="{{area.area_acronym.name|cut:" "}}">{{ area.area_ac
7277
{% if forloop.first %}
7378
<p>Active Working Groups:</p>
7479
<div style="margin-left:2em;">
75-
<table width="100%" style="max-width:50em;">
80+
<table class="ietf-wg-table">
7681
{% endif %}
77-
<tr valign="top"><td width="10%;"><a href="/wg/{{wg}}/">{{ wg }}</a></td><td width="50%">{{ wg.group_acronym.name }}</td>
82+
<tr><td width="10%;"><a href="/wg/{{wg}}/">{{ wg }}</a></td><td width="50%">{{ wg.group_acronym.name }}</td>
7883
<td width="39%">{% for chair in wg.chairs %}<a href="mailto:{{chair.person.email}}">{{chair.person}}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</td></tr>
7984
{% if forloop.last %}
8085
</table>

ietf/templates/wginfo/wg_base.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
}
4545
.ietf-navset .selected { font-weight:bold; padding: 0 3px; }
4646
.ietf-navset a, .ietf-navset a:visited { color: white; padding:0 3px; }
47+
48+
.ietf-wg-details { background:#edf5ff; border:1px solid #cccccc; float:right; padding: 4px;margin-top:16px; margin-left: 16px; }
49+
.ietf-wg-details tr { vertical-align: top; }
4750
{% endblock morecss %}
4851

4952
{% block content %}

ietf/templates/wginfo/wg_charter.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,11 @@
3333
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3434
{% endcomment %}
3535
{% load ietf_filters %}
36-
3736
{% block wg_titledetail %}Charter{% endblock %}
3837

3938
{% block wg_content %}
4039

41-
<div style="background:#edf5ff;border:1px solid #cccccc;float:right;padding: 4px;margin-top:16px;">
42-
40+
<div class="ietf-wg-details">
4341
<table>
4442
<tr>
4543
<td colspan="2">

0 commit comments

Comments
 (0)