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
Line 11: Line 11:
 
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: 25px;
  +
border-color: #ac6600;
  +
padding-left: 40px;
  +
min-height: 28px;
  +
}
  +
.note-reminder {
  +
background-color: #fff9ea;
  +
/* [[File:Icon_Reminder.svg]] */
  +
background-image: url(https://wiki.dezentrale.cloud/images/b/be/Icon_Reminder.svg);
  +
background-size: 25px;
  +
border-color: #fc3;
  +
min-height: 28px;
  +
}
  +
.note-warn {
  +
background-color: #fff9ea;
  +
/* [[File:Icon_Warn.svg]] */
  +
background-image: url(https://wiki.dezentrale.cloud/images/9/90/Icon_Warn.svg);
  +
background-size: 25px;
  +
border-color: #fc3;
  +
min-height: 28px;
  +
}
  +
.note-error {
  +
background-color: #fee7e6;
  +
/* [[File:Icon_Error.svg]] */
  +
background-image: url(https://wiki.dezentrale.cloud/images/8/8c/Icon_Error.svg);
  +
background-size: 25px;
  +
border-color: #c33;
  +
min-height: 28px;
 
}
 
}

Revision as of 22:39, 14 February 2022

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

.note-info {
	background-color: #f6efe5;
	/* [[File:Icon_Info.svg]] */
	background-image: url(https://wiki.dezentrale.cloud/images/3/3f/Icon_Info.svg);
	background-size: 25px;
	border-color: #ac6600;
	padding-left: 40px;
	min-height: 28px;
}
.note-reminder {
	background-color: #fff9ea;
	/* [[File:Icon_Reminder.svg]] */
	background-image: url(https://wiki.dezentrale.cloud/images/b/be/Icon_Reminder.svg);
	background-size: 25px;
	border-color: #fc3;
	min-height: 28px;
}
.note-warn {
	background-color: #fff9ea;
	/* [[File:Icon_Warn.svg]] */
	background-image: url(https://wiki.dezentrale.cloud/images/9/90/Icon_Warn.svg);
	background-size: 25px;
	border-color: #fc3;
	min-height: 28px;
}
.note-error {
	background-color: #fee7e6;
	/* [[File:Icon_Error.svg]] */
	background-image: url(https://wiki.dezentrale.cloud/images/8/8c/Icon_Error.svg);
	background-size: 25px;
	border-color: #c33;
	min-height: 28px;
}