Template:Note/styles.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
.note { |
.note { |
||
background-position: left 0.5em top 50%; |
background-position: left 0.5em top 50%; |
||
− | padding: 0.5em 0.5em 0.5em |
+ | padding: 0.5em 0.5em 0.5em 3em; |
margin: 0.5em 0; |
margin: 0.5em 0; |
||
overflow: hidden; |
overflow: hidden; |
Latest revision as of 23:39, 14 February 2022
.note {
background-position: left 0.5em top 50%;
padding: 0.5em 0.5em 0.5em 3em;
margin: 0.5em 0;
overflow: hidden;
background-color: #f8f9fa;
background-repeat: no-repeat;
border: 1px solid #dddddd;
}
.note-inline {
display: inline-block;
vertical-align: middle;
}
.note-info {
background-color: #f6efe5;
/* [[File:Icon_Info.svg]] */
background-image: url(https://wiki.dezentrale.cloud/images/3/3f/Icon_Info.svg);
background-size: 2em;
border-color: #ac6600;
min-height: 2.25em;
}
.note-reminder {
background-color: #fff9ea;
/* [[File:Icon_Reminder.svg]] */
background-image: url(https://wiki.dezentrale.cloud/images/b/be/Icon_Reminder.svg);
background-size: 2em;
border-color: #fc3;
min-height: 2.25em;
}
.note-warn {
background-color: #fff9ea;
/* [[File:Icon_Warn.svg]] */
background-image: url(https://wiki.dezentrale.cloud/images/9/90/Icon_Warn.svg);
background-size: 2em;
border-color: #fc3;
min-height: 2.25em;
}
.note-error {
background-color: #fee7e6;
/* [[File:Icon_Error.svg]] */
background-image: url(https://wiki.dezentrale.cloud/images/8/8c/Icon_Error.svg);
background-size: 2em;
border-color: #c33;
min-height: 2.25em;
}