mirror of
https://github.com/boostorg/boostlook.git
synced 2026-01-19 04:02:14 +00:00
prevent h2 border from extending to the left
adjust anchor link vertical positioning next to the heading
This commit is contained in:
@@ -287,6 +287,26 @@ p, h1, h2, h3, h4, h5, h6 {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.boostlook .doc h2:not(.discrete) {
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.boostlook .doc h1 .anchor {
|
||||
margin: 3px 0 0 -1.3ex;
|
||||
}
|
||||
|
||||
.boostlook .doc h2 .anchor,
|
||||
.boostlook .doc h3 .anchor {
|
||||
margin: 2px 0 0 -1.3ex;
|
||||
}
|
||||
|
||||
.boostlook .doc h4 .anchor,
|
||||
.boostlook .doc h5 .anchor,
|
||||
.boostlook .doc h6 .anchor {
|
||||
margin: 1px 0 0 -1.3ex;
|
||||
}
|
||||
|
||||
.boostlook p {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
|
||||
Reference in New Issue
Block a user