~sircmpwn/core.sr.ht

df403d6717d4933dc8aa69a0dfce4f71d41faeb6 — gildarts 1 year, 16 days ago e9ee60a 0.64.10
Fix alignment and sizing of header anchor tags

- Switch to `inherit` for font-size to allow the achor to change as the
  font-size of the anchor changes
- Switch to relative spacing so that the position change also adjusts
  with header text size.
- Remove margin rule that appeared to be causing issues aligning the
  header properly.
1 files changed, 2 insertions(+), 6 deletions(-)

M srht/scss/base.scss
M srht/scss/base.scss => srht/scss/base.scss +2 -6
@@ 310,8 310,8 @@ code {
      transition: opacity 0.15s linear;
      opacity: 0;
      position: absolute;
      font-size: 1.2rem;
      left: -1rem;
      font-size: inherit;
      left: -.7em;
    }

    @media(prefers-reduced-motion) {


@@ 324,10 324,6 @@ code {
      opacity: 1;
    }

    * {
      margin: 0 .5rem;
    }

    img {
      margin: 0 .2rem;
    }