Template:Note/styles.css: Difference between revisions

From dezentrale wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
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 40px;
+
padding: 0.5em 0.5em 0.5em 3em;
 
margin: 0.5em 0;
 
margin: 0.5em 0;
 
overflow: hidden;
 
overflow: hidden;
 
background-color: #f8f9fa;
 
background-color: #f8f9fa;
 
background-repeat: no-repeat;
 
background-repeat: no-repeat;
border: 1px solid #ddd;
+
border: 1px solid #dddddd;
 
}
 
}
 
.note-inline {
 
.note-inline {
Line 17: Line 17:
 
/* [[File:Icon_Info.svg]] */
 
/* [[File:Icon_Info.svg]] */
 
background-image: url(https://wiki.dezentrale.cloud/images/3/3f/Icon_Info.svg);
 
background-image: url(https://wiki.dezentrale.cloud/images/3/3f/Icon_Info.svg);
background-size: 25px;
+
background-size: 2em;
 
border-color: #ac6600;
 
border-color: #ac6600;
padding-left: 40px;
+
min-height: 2.25em;
min-height: 28px;
 
 
}
 
}
 
.note-reminder {
 
.note-reminder {
Line 26: Line 25:
 
/* [[File:Icon_Reminder.svg]] */
 
/* [[File:Icon_Reminder.svg]] */
 
background-image: url(https://wiki.dezentrale.cloud/images/b/be/Icon_Reminder.svg);
 
background-image: url(https://wiki.dezentrale.cloud/images/b/be/Icon_Reminder.svg);
background-size: 25px;
+
background-size: 2em;
 
border-color: #fc3;
 
border-color: #fc3;
min-height: 28px;
+
min-height: 2.25em;
 
}
 
}
 
.note-warn {
 
.note-warn {
Line 34: Line 33:
 
/* [[File:Icon_Warn.svg]] */
 
/* [[File:Icon_Warn.svg]] */
 
background-image: url(https://wiki.dezentrale.cloud/images/9/90/Icon_Warn.svg);
 
background-image: url(https://wiki.dezentrale.cloud/images/9/90/Icon_Warn.svg);
background-size: 25px;
+
background-size: 2em;
 
border-color: #fc3;
 
border-color: #fc3;
min-height: 28px;
+
min-height: 2.25em;
 
}
 
}
 
.note-error {
 
.note-error {
Line 42: Line 41:
 
/* [[File:Icon_Error.svg]] */
 
/* [[File:Icon_Error.svg]] */
 
background-image: url(https://wiki.dezentrale.cloud/images/8/8c/Icon_Error.svg);
 
background-image: url(https://wiki.dezentrale.cloud/images/8/8c/Icon_Error.svg);
background-size: 25px;
+
background-size: 2em;
 
border-color: #c33;
 
border-color: #c33;
min-height: 28px;
+
min-height: 2.25em;
 
}
 
}

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;
}