Created
August 7, 2024 03:04
-
-
Save s7887177/4992236d88d14673e7b2f07835e2ec5c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
.alert { | |
margin: 20px; | |
padding: 5px 15px; /* Adjust padding to make room for the icon */ | |
border-radius: 3px; | |
border-left: 4px solid; | |
} | |
.alert::before{ | |
margin-bottom:3px; | |
display: block; | |
font-weight: bold; | |
} | |
.note { | |
border-color: #007acc; | |
} | |
.note::before { | |
color: #007acc; | |
content: 'Note '; | |
} | |
.tip { | |
border-color: #3fb950; | |
} | |
.tip::before { | |
color: #3fb950; | |
content: 'Tip '; | |
} | |
.important { | |
border-color: #ab7df8; | |
} | |
.important::before { | |
color: #ab7df8; | |
content: 'Important '; | |
} | |
.warning { | |
border-color: #d29922; | |
} | |
.warning::before { | |
color: #d29922; | |
content: 'Warning '; | |
} | |
.caution { | |
border-color: #f85149; | |
} | |
.caution::before { | |
color: #f85149; | |
content: 'Caution '; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment