Template:Note/styles.css: Difference between revisions

From DBE Makers
No edit summary
No edit summary
Line 1: Line 1:
svg {
    filter: brightness(0) saturate(100%);
}
.note {
.note {
font-family: proxima-nova, Helvetica, Arial, sans-serif;
font-family: proxima-nova, Helvetica, Arial, sans-serif;
Line 34: Line 38:
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/e/e5/Ic_info_outline_white.svg);
background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a6/Ic_info_outline_48px.svg);
background-size: 25px;
background-size: 25px;
min-height: 25px;
min-height: 25px;
Line 44: Line 48:
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/e/e5/Ic_info_outline_white.svg);
background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a6/Ic_info_outline_48px.svg);
background-size: 25px;
background-size: 25px;
min-height: 25px;
min-height: 25px;
Line 58: Line 62:
/* [[File:OOjs_UI_icon_notice-destructive.svg]] */
/* [[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/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/a/a6/Ic_info_outline_48px.svg); */

Revision as of 16:37, 29 July 2024

svg {
    filter: brightness(0) saturate(100%);
}

.note {
font-family: proxima-nova, Helvetica, Arial, sans-serif;
	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"); */
color: #000;
	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 {
color: #000;
	background-color: #fff3a8;
	border-color: #fff3a8;
	/* [[File:OOjs_UI_icon_lightbulb-yellow.svg]] */
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a6/Ic_info_outline_48px.svg);
	background-size: 25px;
	min-height: 25px;
	padding-left: 40px;
}
.note-warn {
color: #000;
	background-color: #fff3a8;
	border-color: #fff3a8;
	/* [[File:OOjs_UI_icon_alert-warning.svg]] */
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a6/Ic_info_outline_48px.svg);
	background-size: 25px;
	min-height: 25px;
	padding-left: 40px;
}

.note-error {
color: #000;
	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/a/a6/Ic_info_outline_48px.svg); */
	
	
	background-size: 25px;
	min-height: 25px;
	padding-left: 40px;
	
}