Difference between revisions of "Template:InfoCard/cardStyles.css"

From Bergsbruk
Jump to navigation Jump to search
(T-Bone changed the content model of the page Template:InfoCard/cardStyles.css from "wikitext" to "Sanitized CSS": its css)
Tag: content model change
Tag: Manual revert
 
Line 1: Line 1:
.note {
.wiki-template-infocard {
background-position: left 7px top 50%;
border: 1px solid #ccc;
padding: 0.5em 0.5em 0.5em 40px;
box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 );
margin: 0.5em 0;
border-radius: 2px;
overflow: hidden;
padding: 1em;
background-color: #f8f9fa;
background-repeat: no-repeat;
border: 1px solid #ddd;
}
}
.note-inline {
 
display: inline-block;
.wiki-template-infocard-title {
vertical-align: middle;
padding: 0 0 0.5625em 0;
}
margin: 0;
.note-info {
background-color: #f6efe5;
/* [[File:OOjs_UI_icon_reference_20_ac6600.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/d/d5/OOjs_UI_icon_reference_20_ac6600.svg);
background-size: 25px;
border-color: #ac6600;
padding-left: 40px;
min-height: 28px;
}
.note-reminder {
background-color: #fff9ea;
/* [[File:OOjs_UI_icon_lightbulb-yellow.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg);
background-size: 25px;
border-color: #fc3;
min-height: 28px;
}
.note-warn {
background-color: #fff9ea;
/* [[File:OOjs_UI_icon_alert-warning.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg);
background-size: 25px;
border-color: #fc3;
min-height: 28px;
}
}


.note-error {
.wiki-template-infocard-content {
background-color: #fee7e6;
clear: both;
/* [[File:OOjs_UI_icon_notice-destructive.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg);
background-size: 25px;
border-color: #c33;
min-height: 28px;
}
}

Latest revision as of 09:57, 19 July 2021

.wiki-template-infocard {
	border: 1px solid #ccc;
	box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 );
	border-radius: 2px;
	padding: 1em;
}

.wiki-template-infocard-title {
	padding: 0 0 0.5625em 0;
	margin: 0;
}

.wiki-template-infocard-content {
	clear: both;
}