~edwargix/git.sr.ht

84cb142b803fd1247c4db0529cca4b353eefa31f — Ivan Habunek 7 years ago ab262df
Highlight line of code indicated by fragment
1 files changed, 11 insertions(+), 0 deletions(-)

M scss/main.scss
M scss/main.scss => scss/main.scss +11 -0
@@ 81,6 81,17 @@ pre {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    background: #eee;

    a:target::before, a.selected::before {
      display: block;
      content: "";
      // +2px to connect multiple selected lines
      height: calc(1rem + 2px);
      width: 100%;
      z-index: -1;
      position: absolute;
      background: lighten($blue, 35);
    }
  }

  .highlight {