Skip to content

Commit 2cfbb60

Browse files
authored
Merge pull request #48 from pysv/layout_improvements
Layout improvements
2 parents fa435b1 + 78b30b5 commit 2cfbb60

3 files changed

Lines changed: 17 additions & 4 deletions

File tree

assets/stylesheets/main.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ h4 {
110110
blog/event/page bodies don't read as a wall of text. Existing
111111
section-scoped overrides (.conf-block h3, .ecosystem-section > h2,
112112
…) still win because they're more specific. */
113+
.content h1,
113114
.content h2,
114115
.content h3,
115116
.content h4,
@@ -118,6 +119,7 @@ h4 {
118119
margin-bottom: calc(var(--rythm-unit) / 2);
119120
}
120121

122+
.content h1,
121123
.content h2 {
122124
margin-bottom: calc(var(--rythm-unit) * 0.66);
123125
}
@@ -609,6 +611,9 @@ p {
609611
.content ul,
610612
.content ol {
611613
margin-left: 1em;
614+
/* Match the paragraph rhythm so a heading or paragraph that follows
615+
a list isn't flush against it. */
616+
margin-bottom: var(--rythm-unit);
612617
}
613618

614619
.content ul {
@@ -623,6 +628,9 @@ p {
623628
ol.content-list {
624629
list-style-type: none;
625630
margin-left: 0;
631+
/* The card grids (board, companies, blog index) provide their own
632+
gap rules — don't add a list margin-bottom on top of that. */
633+
margin-bottom: 0;
626634
}
627635

628636
.board-member h3 {
@@ -635,6 +643,13 @@ ol.content-list {
635643
gap: var(--rythm-unit);
636644
}
637645

646+
.current-members,
647+
.current-auditors,
648+
.former-members {
649+
margin-top: calc(var(--rythm-unit) * 3);
650+
margin-bottom: var(--rythm-unit);
651+
}
652+
638653
.board-member,
639654
.company-member {
640655
display: flex;

content/board/contents+en.lr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ title: Board
22
---
33
body:
44

5-
The board of the Python Software Verband is elected at the annual general meeting.
6-
5+
The board of the Python Software Verband is elected at the annual general meeting.
76
The board manages the affairs of the association and represents it externally.

content/board/contents.lr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ title: Vorstand
22
---
33
body:
44

5-
Der Vorstand des Python Software Verband wird auf der jährlich stattfindenden Mitgliederversammlung gewählt.
6-
5+
Der Vorstand des Python Software Verband wird auf der jährlich stattfindenden Mitgliederversammlung gewählt.
76
Der Vorstand leitet die Geschäfte des Verbands und vertritt ihn nach außen.

0 commit comments

Comments
 (0)