Skip to content

Commit

Permalink
Add anchor CSS (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambre Bertucci authored Mar 28, 2023
1 parent bf7150c commit 1d39022
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quilt-bulma",
"version": "0.0.20",
"version": "0.0.21",
"description": "Bulma, customized for use on Quilt's websites",
"scripts": {
"build": "node build.mjs",
Expand Down
1 change: 1 addition & 0 deletions sass/components/_index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import "anchors";
@import "buttons";
@import "details";
@import "fonts";
Expand Down
8 changes: 8 additions & 0 deletions sass/components/anchors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:where(h1, h2, h3, h4, h5, h6) {
a .header-anchor-container .header-anchor {
visibility: hidden;
}
&:hover a .header-anchor-container .header-anchor {
visibility: visible;
}
}

0 comments on commit 1d39022

Please sign in to comment.