diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-24 12:33:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-24 12:33:51 +0000 |
commit | 3ea39841c8049525e31e9f4d6300f0c60cdb42de (patch) | |
tree | 855de60a8872eafb5911acd303aedcdbfe713a73 /site/assets/scss/_anchor.scss | |
parent | Inital commit. (diff) | |
download | bootstrap-html-3ea39841c8049525e31e9f4d6300f0c60cdb42de.tar.xz bootstrap-html-3ea39841c8049525e31e9f4d6300f0c60cdb42de.zip |
Adding upstream version 5.2.3+dfsg.upstream/5.2.3+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | site/assets/scss/_anchor.scss | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/site/assets/scss/_anchor.scss b/site/assets/scss/_anchor.scss new file mode 100644 index 0000000..5bb3915 --- /dev/null +++ b/site/assets/scss/_anchor.scss @@ -0,0 +1,21 @@ +.anchor-link { + padding: 0 .175rem; + font-weight: 400; + color: rgba($link-color, .5); + text-decoration: none; + opacity: 0; + @include transition(color .15s ease-in-out, opacity .15s ease-in-out); + + &::after { + content: "#"; + } + + &:focus, + &:hover, + :hover > &, + :target > & { + color: $link-color; + text-decoration: none; + opacity: 1; + } +} |