This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7d7e5b
commit 880f5e9
Showing
4 changed files
with
14 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,116 +0,0 @@ | ||
//deprecated | ||
|
||
.admonition { | ||
margin-bottom: 1em; | ||
padding: 16px 42px 16px 16px; | ||
margin-bottom: 60px; | ||
border-left: 7px solid; | ||
background-color: var(--card-hover); | ||
} | ||
|
||
.admonition h5 { | ||
margin-top: 0; | ||
margin-bottom: 16px; | ||
text-transform: capitalize; | ||
position: relative; | ||
font-size: 18px; | ||
line-height: 30px; | ||
color: var(--color-300); | ||
padding-left: 36px; | ||
} | ||
|
||
.admonition h5::before { | ||
content: ''; | ||
position: absolute; | ||
background-repeat: no-repeat; | ||
background-position: center center; | ||
} | ||
|
||
.admonition-icon { | ||
display: none; | ||
} | ||
|
||
.admonition-content { | ||
color: var(--color-300); | ||
|
||
p, ol li, p ul li { | ||
margin-bottom: 0; | ||
font-size: 18px; | ||
line-height: 30px; | ||
color: var(--color-300); | ||
} | ||
} | ||
|
||
|
||
.admonition-content a { | ||
color: var(--color-300); | ||
text-decoration-color: var(--color-300); | ||
|
||
&:hover { | ||
text-decoration-color: var(--color-primary); | ||
} | ||
} | ||
|
||
/** Customization */ | ||
|
||
.admonition-tip { | ||
border-color:var(--admonition-tip); | ||
} | ||
|
||
.admonition-tip h5::before { | ||
width: 24px; | ||
height: 36px; | ||
left: 0; | ||
top: -3px; | ||
background-image: url(/img/icons/tip.svg); | ||
} | ||
|
||
.admonition-notes { | ||
border-left: 7px solid var(--color-600); | ||
} | ||
|
||
.admonition-notes h5::before, .alert--secondary h5::before { | ||
width: 46px; | ||
height: 52px; | ||
left: -8px; | ||
top: -11px; | ||
background-image: url(/img/icons/note.svg); | ||
} | ||
|
||
|
||
.admonition-warning { | ||
background-color: var(--admonition-warning); | ||
border-color: var(--color-error); | ||
} | ||
|
||
.admonition-warning h5::before { | ||
width: 23px; | ||
height: 36px; | ||
left: 0; | ||
top: -3px; | ||
background-image: url(/img/icons/warning.svg); | ||
} | ||
|
||
.admonition-caution { | ||
border-color: var(--admonition-caution); | ||
} | ||
|
||
.admonition-caution h5::before { | ||
width: 30px; | ||
height: 27px; | ||
left: 0; | ||
top: -3px; | ||
background-image: url(/img/icons/caution.svg); | ||
} | ||
|
||
.admonition-important { | ||
border-color: var(--admonition-important); | ||
} | ||
|
||
.admonition-important h5::before { | ||
width: 30px; | ||
height: 30px; | ||
left: 0; | ||
top: 0px; | ||
background-image: url(/img/icons/important.svg); | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters