Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add line and padding to all headers #166

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/css/cheat-sheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ body.cheat-sheet h3:not(.discrete) {
flex: 0 0 60%;
flex-grow: 1;
padding-right: 0;
border: none;
}

body.cheat-sheet h3:not(.discrete) a {
Expand Down
18 changes: 14 additions & 4 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,21 @@ body {
padding: 0.5rem 1rem;
}

.doc h2:not(.discrete) {
border-bottom: 1px solid var(--section-divider-color);
/* margin-left: -1rem;
margin-right: -1rem; */
.doc h2 {
padding: 0.4rem 0 0.5rem;
border-bottom: 1px solid var(--section-divider-color);
}

.doc h3,
.doc h4 {
padding: 0.3rem 0 0.4rem;
border-bottom: 1px solid var(--section-divider-color);
}

.doc h5,
.doc h6 {
padding: 0.2rem 0 0.3rem;
border-bottom: 1px solid var(--section-divider-color);
}

.doc h3:not(.discrete) {
Expand Down