Skip to content

Commit

Permalink
Revert "add underline styles to admonition content (#5435)" (#5436)
Browse files Browse the repository at this point in the history
This reverts commit 8a7fbb5.
  • Loading branch information
jaffrepaul authored Aug 23, 2023
1 parent 8a7fbb5 commit e021a98
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -160,34 +160,25 @@ 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

0 comments on commit e021a98

Please sign in to comment.