diff --git a/src/stylus/core.styl b/src/stylus/core.styl index 2c7e798..fe67d02 100644 --- a/src/stylus/core.styl +++ b/src/stylus/core.styl @@ -35,26 +35,28 @@ body *:first-child { margin-top: 0 } > h1, > h2, > h3, > h4, > h5, > h6 + display flex + .anchor-link - padding-left 0.5em + flex-grow 1 + padding 0 0.5em font-weight normal font-size 75% text-decoration none display none - position absolute &:hover .anchor-link - display inline-flex + display flex @media (max-width: 600px) > h1, > h2, > h3, > h4, > h5, > h6 .anchor-link - padding-right 0.25em + padding 0 0.25em font-weight normal font-size 75% text-decoration none - display inline-flex + display flex position absolute right 0