Skip to content

Commit 75779b6

Browse files
committed
Fix line-height, fix topbar, fix margins on headers
1 parent 4d99c03 commit 75779b6

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

themes/doingstuff-zola/sass/doingstuff/_base.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,19 @@ h2,
3131
h3,
3232
h4 {
3333
font-weight: $heading-font-weight;
34+
margin-top: .5rem;
35+
margin-bottom: .5rem;
3436
}
3537

3638
h1 {
3739
font-size: $h1-font-size;
3840
line-height: $h1-line-height;
41+
margin-top: 1rem;
3942
margin-bottom: 0;
4043
}
4144

4245
h2 {
4346
font-size: $h2-font-size;
44-
margin-bottom: .5rem;
4547
}
4648

4749
h3 {

themes/doingstuff-zola/sass/doingstuff/_misc.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
%small-center-text {
2828
font-size: $font-scale-dot7;
29-
line-height: 1.1rem;
29+
line-height: 1.1;
3030
text-align: center;
3131
}
3232

themes/doingstuff-zola/sass/doingstuff/_topbar.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
padding-bottom: $topbar-offset;
88
background-color: $topbar-color;
99
text-align: center;
10+
line-height: 1;
1011
a {
1112
color: $gray-1;
1213
border: none;
@@ -28,13 +29,15 @@
2829
.topbar-title {
2930
padding-left: 1rem;
3031
display: flex;
32+
align-items: center;
3133
font-size: $topbar-title-font-size;
3234
}
3335

3436
.topbar-menu {
3537
flex: 1 1 auto;
3638
display: flex;
3739
justify-content: right;
40+
align-items: center;
3841
font-size: $topbar-links-font-size;
3942
}
4043

themes/doingstuff-zola/sass/doingstuff/_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $root-font-family: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
2323
// poole's variables
2424
$root-font-size: 1rem;
2525
$root-font-weight: 400;
26-
$root-line-height: 1.6em;
26+
$root-line-height: 1.5;
2727

2828
$body-color: #000000;
2929
$body-bg: #fff;
@@ -48,7 +48,7 @@ $code-fence-font-size: .8rem;
4848
$code-background-color: #f3f3f3;
4949
//$code-fence-background-color: #f3f3f3;
5050
$code-fence-background-color: #0d3a58;
51-
$code-line-height: 1.6em;
51+
$code-line-height: 1.5;
5252

5353
// links
5454
$link-color: $blue;

0 commit comments

Comments
 (0)