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

docs: add underline styles to admonition content #5435

Merged
merged 1 commit into from
Aug 23, 2023
Merged
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
17 changes: 13 additions & 4 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -160,25 +160,34 @@ h4 {
padding-bottom: 0;
}

// distribute icons beside search input more evenly
[class^='toggle_'] button {
margin-left: 0.15rem;
}

.alert.alert--info {
margin-bottom: 2rem;
}

/* using attribute selector for these dynamic classes */
[class^='admonitionHeading'] {
display: none;
}

.alert.alert--info {
margin-bottom: 2rem;
}

.alert.alert--info h2,
h3 {
border-bottom: none;
padding-bottom: 0;
}

// ensure text links in admonitions have underline
.alert.alert--info a {
border-bottom: 1px dotted var(--ifm-link-color);
&:hover {
border-bottom: 1px solid var(--ifm-link-color);
}
}

div[class^='announcementBar'] {
font-size: 1rem;
font-weight: var(--ifm-font-weight-semibold);
Expand Down