~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[RFC PATCH core.sr.ht] Fix alignment and sizing of header anchor tags

Details
Message ID
<20201002154949.462-1-gildarts@orbital.rocks>
DKIM signature
fail
Download raw message
Patch: +2 -6 DKIM signature: fail
- 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.
---
 srht/scss/base.scss | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/srht/scss/base.scss b/srht/scss/base.scss
index 3235e63..dd35633 100644
--- a/srht/scss/base.scss
+++ b/srht/scss/base.scss
@@ -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;
    }
-- 
2.25.1

[core.sr.ht/patches] build success

builds.sr.ht
Details
Message ID
<C62IYDIA2ELW.2USL0E7PI1WEZ@cirno>
In-Reply-To
<20201002154949.462-1-gildarts@orbital.rocks> (view parent)
DKIM signature
missing
Download raw message
core.sr.ht/patches: SUCCESS in 3m0s

[Fix alignment and sizing of header anchor tags][0] from [gildarts][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/14157
[1]: mailto:gildarts@orbital.rocks

✓ #312865 SUCCESS core.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/312865
✓ #312866 SUCCESS core.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/312866
✓ #312867 SUCCESS core.sr.ht/patches/debian.yml    https://builds.sr.ht/~sircmpwn/job/312867
Details
Message ID
<C62M81ONOP0S.1HMNL56B888TG@homura>
In-Reply-To
<C62IYDIA2ELW.2USL0E7PI1WEZ@cirno> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
LGTM. Thanks!

To git.sr.ht:~sircmpwn/core.sr.ht
   e9ee60a..df403d6  master -> master
Reply to thread Export thread (mbox)