Template:Note/styles.css: Difference between revisions

From dezentrale wiki
Jump to navigation Jump to search
(Created page with ".note { background-position: left 0.5em 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; }")
 
mNo edit summary
 
(2 intermediate revisions 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 {
 
display: inline-block;
 
display: inline-block;
 
vertical-align: middle;
 
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;
 
}
 
}

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