Skip to content

Commit

Permalink
h1の直前のリンクが押せないバグを風星
Browse files Browse the repository at this point in the history
  • Loading branch information
i13302 committed Dec 23, 2023
1 parent 6c5b68f commit 713e7fb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/templates/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,10 @@ aside ul {
padding-top: var(--height-deviation);
}

/* ページ内リンクずれ回避 */
.content h1,h2,h3 {
clear: both;
margin-top: calc(0px - var(--height-deviation));
padding-top: var(--height-deviation);
}

/* 装飾 */
.content h1 {
clear: both;
position: relative;
/* padding: 20px; */
padding-top: calc(var(--height-deviation) + 10px);
}

.content h1:after {
Expand Down

0 comments on commit 713e7fb

Please sign in to comment.