Module:Documentation/styles.css: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
TemplateStyles, copied from Module:Documentation. See that page's history for attribution.
 
No edit summary
Line 1: Line 1:
.documentation {
.documentation {
border: 1px solid #AAA;
background-color: hsl(215, 75%, 92%);
border: 1px solid #ccc;
padding: 0.8em 1em 0.7em;
padding: 0.8em 1em 0.7em;
margin-top: 1em;
margin-top: 1em;
Line 9: Line 10:
.documentation-header-bottom {
.documentation-header-bottom {
padding: 0.8em 1em 0.7em;
padding: 0.8em 1em 0.7em;
background-color: #33333333;
background-color: hsl(215, 75%, 85%);
}
}


Line 31: Line 32:


.documentation-badDoc {
.documentation-badDoc {
margin-bottom: 0.8em;
background-color: hsl(40, 75%, 92%);
padding: 0.8em 1em 0.7em;
}
border: 1px solid #AAA;
 
.documentation-badDoc .documentation-header-top,
.documentation-badDoc .documentation-header-bottom,
.documentation-header.documentation-badDoc {
background-color: hsl(40, 75%, 85%);
}
 
.documentation-noDoc {
background-color: hsl(0, 0%, 92%);
}
 
.documentation-noDoc .documentation-header-top,
.documentation-noDoc .documentation-header-bottom,
.documentation-header.documentation-noDoc {
background-color: hsl(0, 0%, 85%);
}
}

Revision as of 10:37, 27 September 2023

.documentation {
	background-color: hsl(215, 75%, 92%);
	border: 1px solid #ccc;
	padding: 0.8em 1em 0.7em;
	margin-top: 1em;
	clear: both;
}

.documentation-header-top,
.documentation-header-bottom {
	padding: 0.8em 1em 0.7em;
	background-color: hsl(215, 75%, 85%);
}

.documentation-header-top {
	margin: -0.8em -1em 0.8em;
	border-bottom: inherit;
}

.documentation-header-bottom {
	margin: 0.7em -1em -0.7em;
	border-top: inherit;
	clear: both;
}

.documentation-header-title {
	font-weight: bold;
	font-size: 130%;
	margin-right: 1em;
	line-height: 1;
}

.documentation-badDoc {
	background-color: hsl(40, 75%, 92%);
}

.documentation-badDoc .documentation-header-top,
.documentation-badDoc .documentation-header-bottom,
.documentation-header.documentation-badDoc {
	background-color: hsl(40, 75%, 85%);
}

.documentation-noDoc {
	background-color: hsl(0, 0%, 92%);
}

.documentation-noDoc .documentation-header-top,
.documentation-noDoc .documentation-header-bottom,
.documentation-header.documentation-noDoc {
	background-color: hsl(0, 0%, 85%);
}