~sircmpwn/core.sr.ht

b0882a5ed8adf1f7287a79fcd879593df8c14ee9 — Alberto Restifo 1 year, 5 months ago 45b7fc3
Space out headers in markdown content

I have noticed that markdown headers are really close to each other.
Personally, I think they look much better with just a bit of extra space
added at the top to separate them.

Here you can see a screenshot of the different:

Current situation: https://i.imgur.com/Hs4jeR8.png
With extra spacing: https://i.imgur.com/tS5KahL.png
1 files changed, 12 insertions(+), 2 deletions(-)

M srht/scss/base.scss
M srht/scss/base.scss => srht/scss/base.scss +12 -2
@@ 291,6 291,16 @@ code {
  color: black;
}

.markdown table {
  @extend .table;
.markdown {
  table {
    @extend .table;
  }

  h1, h2, h3, h4, h5, h6 {
    margin-top: 1em;

    &:first-child {
      margin-top: 0;
    }
  }
}