Skip to content

Commit 6823572

Browse files
author
Patrick Marsceill
committed
Updates type hierarchy on the community page.
1 parent 2b56f51 commit 6823572

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

_includes/org-table.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
{% unless include.id == "governments" %}
33
<h3 id="{{ include.id }}" class="search-section">Return to <a href="#to-top">top</a>.</h3>
44
{% endunless %}
5-
<h2>{{ include.name }}</h2>
5+
<h3>{{ include.name }}</h3>
66
<h6 class="no-matches" style="display: none;">No matches.</h6>
77
<table class="table org-table">
88
<tbody class="searchable">
99
<tr class="table-header"><th>Avatar</th><th>Account</th><th>Affiliation</th></tr>
1010
{% for type_hash in include.orgs %}
1111
<tr class="type-block" id="{{ type_hash[0] | downcase | replace: ' ','_' }}">
12-
<td><h3>{{ type_hash[0] }} ({{ type_hash[1] | size }})</h3></td><td></td><td></td>
12+
<td><h4>{{ type_hash[0] }} ({{ type_hash[1] | size }})</h4></td><td></td><td></td>
1313
</tr>
1414
{% for org in type_hash[1] %}
1515
<tr>

assets/css/style.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ h1 {
4444
}
4545

4646
h2 {
47-
font-size: 24px;
47+
font-size: 36px;
4848
font-weight: 400;
4949
line-height: 1.5;
5050
}
@@ -316,6 +316,7 @@ li {
316316

317317
.table-header th {
318318
border-bottom: 1px solid #ddd;
319+
font-weight: 300;
319320
}
320321

321322
.table td, .table th {
@@ -354,6 +355,10 @@ code {
354355

355356
.org-table tr { height: 57px; }
356357

358+
td h4 {
359+
margin: .5em 0;
360+
}
361+
357362
/* Animations */
358363
/* -------------------------------------------------------------------------- */
359364

community.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permalink: /community/
66
---
77
<div id="to-top" class="container">
88

9-
<h3><input id="filter" type="text" class="form-control" placeholder="Type to search..."> or jump to the <a href="#civic-hackers">civic hackers</a> or <a href="#research">research</a> lists.</h3></div>
9+
<h4><input id="filter" type="text" class="form-control" placeholder="Type to search..."> or jump to the <a href="#civic-hackers">civic hackers</a> or <a href="#research">research</a> lists.</h4></div>
1010

1111
{% include org-table.html orgs=site.data.governments id="governments" name="Governments" %}
1212

0 commit comments

Comments
 (0)