mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
notice: use distinct icons for notice box type #17
This commit is contained in:
parent
510cd0b99c
commit
edbebe2ff3
1 changed files with 12 additions and 1 deletions
|
@ -493,7 +493,6 @@ div.notices > div.label {
|
|||
div.notices > div.label:first-child:before {
|
||||
font-family: "Font Awesome 5 Free";
|
||||
font-weight: 900;
|
||||
content: "\f06a";
|
||||
margin-left: -.35rem;
|
||||
margin-right: .35rem;
|
||||
}
|
||||
|
@ -501,6 +500,9 @@ div.notices.info {
|
|||
border-top: 30px solid #6AB0DE;
|
||||
background: #E7F2FA;
|
||||
}
|
||||
div.notices.info > div.label:first-child:before {
|
||||
content: "\f05a";
|
||||
}
|
||||
div.notices.info > div.label:first-child:after {
|
||||
content: 'Info';
|
||||
}
|
||||
|
@ -508,6 +510,9 @@ div.notices.warning {
|
|||
border-top: 30px solid rgba(217, 83, 79, 0.8);
|
||||
background: #FAE2E2;
|
||||
}
|
||||
div.notices.warning > div.label:first-child:before {
|
||||
content: "\f071";
|
||||
}
|
||||
div.notices.warning > div.label:first-child:after {
|
||||
content: 'Warning';
|
||||
}
|
||||
|
@ -515,6 +520,9 @@ div.notices.note {
|
|||
border-top: 30px solid #F0B37E;
|
||||
background: #FFF2DB;
|
||||
}
|
||||
div.notices.note > div.label:first-child:before {
|
||||
content: "\f06a";
|
||||
}
|
||||
div.notices.note > div.label:first-child:after {
|
||||
content: 'Note';
|
||||
}
|
||||
|
@ -522,6 +530,9 @@ div.notices.tip {
|
|||
border-top: 30px solid rgba(92, 184, 92, 0.8);
|
||||
background: #E6F9E6;
|
||||
}
|
||||
div.notices.tip > div.label:first-child:before {
|
||||
content: "\f0eb";
|
||||
}
|
||||
div.notices.tip > div.label:first-child:after {
|
||||
content: 'Tip';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue