Template:Note/styles.css: Difference between revisions

From CCDirectLink
Add the MediaWiki note styles
 
m Update the icon URLs
Line 16: Line 16:
background-color: #f6efe5;
background-color: #f6efe5;
/* [[File:Ui note info.svg]] */
/* [[File:Ui note info.svg]] */
background-image: url(https://wiki.c2dl.info/w/images/3/39/Ui_note_info.svg);
background-image: url(https://wiki.c2dl.info/w/images/a/a7/Ui_note_info.svg);
background-size: 25px;
background-size: 25px;
border-color: #ac6600;
border-color: #ac6600;
Line 25: Line 25:
background-color: #fff9ea;
background-color: #fff9ea;
/* [[File:Ui note reminder.svg]] */
/* [[File:Ui note reminder.svg]] */
background-image: url(https://wiki.c2dl.info/w/images/3/39/Ui_note_reminder.svg);
background-image: url(https://wiki.c2dl.info/w/images/f/fd/Ui_note_reminder.svg);
background-size: 25px;
background-size: 25px;
border-color: #fc3;
border-color: #fc3;
Line 33: Line 33:
background-color: #fff9ea;
background-color: #fff9ea;
/* [[File:Ui note alert.svg]] */
/* [[File:Ui note alert.svg]] */
background-image: url(https://wiki.c2dl.info/w/images/3/39/Ui_note_alert.svg);
background-image: url(https://wiki.c2dl.info/w/images/0/04/Ui_note_alert.svg);
background-size: 25px;
background-size: 25px;
border-color: #fc3;
border-color: #fc3;

Revision as of 20:13, 25 May 2023

/* Taken from https://www.mediawiki.org/w/index.php?title=Template:Note/styles.css&oldid=4199118 */
.note {
	background-position: left 7px top 50%;
	padding: 0.5em 0.5em 0.5em 40px;
	margin: 0.5em 0;
	overflow: hidden;
	background-color: #f8f9fa;
	background-repeat: no-repeat;
	border: 1px solid #ddd;
}
.note-inline {
	display: inline-block;
	vertical-align: middle;
}
.note-info {
	background-color: #f6efe5;
	/* [[File:Ui note info.svg]] */
	background-image: url(https://wiki.c2dl.info/w/images/a/a7/Ui_note_info.svg);
	background-size: 25px;
	border-color: #ac6600;
	padding-left: 40px;
	min-height: 28px;
}
.note-reminder {
	background-color: #fff9ea;
	/* [[File:Ui note reminder.svg]] */
	background-image: url(https://wiki.c2dl.info/w/images/f/fd/Ui_note_reminder.svg);
	background-size: 25px;
	border-color: #fc3;
	min-height: 28px;
}
.note-warn {
	background-color: #fff9ea;
	/* [[File:Ui note alert.svg]] */
	background-image: url(https://wiki.c2dl.info/w/images/0/04/Ui_note_alert.svg);
	background-size: 25px;
	border-color: #fc3;
	min-height: 28px;
}

.note-error {
	background-color: #fee7e6;
	/* [[File:Ui note notice.svg]] */
	background-image: url(https://wiki.c2dl.info/w/images/3/39/Ui_note_notice.svg);
	background-size: 25px;
	border-color: #c33;
	min-height: 28px;
}