Template:Note/styles.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
align-items: center; | align-items: center; | ||
margin-bottom: calc(9.3617px + 2.12766vw); | margin-bottom: calc(9.3617px + 2.12766vw); | ||
border-radius: 4px; | |||
margin-left: 2.4rem; | margin-left: 2.4rem; | ||
min-height: 5.6rem; | min-height: 5.6rem; | ||
Line 18: | Line 19: | ||
.note-info { | .note-info { | ||
background-color: #eaf3ff; | background-color: #eaf3ff; | ||
border-color: #eaf3ff; | |||
/* [[File:OOjs_UI_icon_information-progressive.svg]] */ | /* [[File:OOjs_UI_icon_information-progressive.svg]] */ | ||
/* background-image: url("https://www.dbemakers.com/images/6/64/Info-svg.svg"); */ | /* background-image: url("https://www.dbemakers.com/images/6/64/Info-svg.svg"); */ | ||
Line 27: | Line 29: | ||
.note-reminder { | .note-reminder { | ||
background-color: #57c2d8; | background-color: #57c2d8; | ||
border-color: #57c2d8; | |||
/* [[File:OOjs_UI_icon_lightbulb-yellow.svg]] */ | /* [[File:OOjs_UI_icon_lightbulb-yellow.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); | ||
Line 35: | Line 38: | ||
.note-warn { | .note-warn { | ||
background-color: #fff3a8; | background-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/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); | ||
Line 44: | Line 48: | ||
.note-error { | .note-error { | ||
background-color: #ff615e; | background-color: #ff615e; | ||
border-color: #ff615e; | |||
font-size: calc(12.93617px + .21277vw); | font-size: calc(12.93617px + .21277vw); | ||
line-height: 1.4; | line-height: 1.4; |
Revision as of 13:37, 29 July 2024
.note {
background-position: left 7px top 50%;
margin: 0.5em 0;
background-color: #f8f9fa;
background-repeat: no-repeat;
align-items: center;
margin-bottom: calc(9.3617px + 2.12766vw);
border-radius: 4px;
margin-left: 2.4rem;
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: #eaf3ff;
border-color: #eaf3ff;
/* [[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/b/bf/OOjs_UI_icon_notice-destructive.svg");
background-size: 25px;
padding-left: 40px;
min-height: 25px;
}
.note-reminder {
background-color: #57c2d8;
border-color: #57c2d8;
/* [[File:OOjs_UI_icon_lightbulb-yellow.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;
}
.note-warn {
background-color: #fff3a8;
border-color: #fff3a8;
/* [[File:OOjs_UI_icon_alert-warning.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;
}
.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/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); */
background-size: 25px;
min-height: 25px;
padding-left: 40px;
}