Template:Note/styles.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
border-color: #fff3a8; | border-color: #fff3a8; | ||
/* [[File:OOjs_UI_icon_lightbulb-yellow.svg]] */ | /* [[File:OOjs_UI_icon_lightbulb-yellow.svg]] */ | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/ | background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e5/Ic_info_outline_white.svg); | ||
background-size: 25px; | background-size: 25px; | ||
min-height: 25px; | min-height: 25px; | ||
Line 40: | Line 40: | ||
border-color: #fff3a8; | border-color: #fff3a8; | ||
/* [[File:OOjs_UI_icon_alert-warning.svg]] */ | /* [[File:OOjs_UI_icon_alert-warning.svg]] */ | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/ | background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e5/Ic_info_outline_white.svg); | ||
background-size: 25px; | background-size: 25px; | ||
min-height: 25px; | min-height: 25px; | ||
Line 52: | Line 52: | ||
line-height: 1.4; | line-height: 1.4; | ||
/* [[File:OOjs_UI_icon_notice-destructive.svg]] */ | /* [[File:OOjs_UI_icon_notice-destructive.svg]] */ | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/ | background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e5/Ic_info_outline_white.svg); | ||
/* background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg); */ | /* background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg); */ | ||
Revision as of 16:08, 29 July 2024
.note {
border: 1px;
border-radius: 4px;
background-position: left 7px top 50%;
margin: 0.5em 0;
background-color: #fff3a8;
background-repeat: no-repeat;
align-items: center;
min-height: 5.6rem;
overflow: hidden;
padding: 2rem 3.2rem 2rem 2.4rem;
position: relative;
}
.note-inline {
display: inline-block;
vertical-align: middle;
}
.note-info {
background-color: #fff3a8;
border-color: #eaf3ff;
color: #000;
/* [[File:OOjs_UI_icon_information-progressive.svg]] */
/* background-image: url("https://www.dbemakers.com/images/6/64/Info-svg.svg"); */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/2/28/Noun_Project_tick_icon_675776_cc.svg);
background-size: 25px;
padding-left: 40px;
min-height: 25px;
}
.note-reminder {
background-color: #fff3a8;
border-color: #fff3a8;
/* [[File:OOjs_UI_icon_lightbulb-yellow.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e5/Ic_info_outline_white.svg);
background-size: 25px;
min-height: 25px;
padding-left: 40px;
}
.note-warn {
background-color: #fff3a8;
border-color: #fff3a8;
/* [[File:OOjs_UI_icon_alert-warning.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e5/Ic_info_outline_white.svg);
background-size: 25px;
min-height: 25px;
padding-left: 40px;
}
.note-error {
background-color: #ff615e;
border-color: #ff615e;
font-size: calc(12.93617px + .21277vw);
line-height: 1.4;
/* [[File:OOjs_UI_icon_notice-destructive.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/e/e5/Ic_info_outline_white.svg);
/* background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg); */
background-size: 25px;
min-height: 25px;
padding-left: 40px;
}