Module:Documentation/styles.css: Difference between revisions

From Meta Wiki
Jump to navigation Jump to search
and resave as this
consistent styles for main and metadata boxes
Line 1: Line 1:
.template-documentation {
.template-documentation,
clear: both;
.template-documentation-metadata {
margin: 1em 0 0 0;
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
background-color: #ecfcf4;
padding: 1em;
padding: 1em;
clear: both;
}
.template-documentation {
margin: 1em 0 0 0;
}
}


Line 13: Line 17:
}
}


.template-documentation-startbox .template-heading {
.template-documentation-heading {
font-weight: bold;
font-weight: bold;
font-size: 125%;
font-size: 125%;
}
}


.template-documentation-startbox .other-heading {
.template-documentation-other-heading {
font-size: 150%;
font-size: 150%;
}
}
Line 28: Line 32:
}
}


#documentation-meta-data {
.template-documentation-metadata {
background-color: #ecfcf4;
margin: 0.2em 0;
}
    font-style: italic;
 
#documentation-meta-data .mbox-text {
font-style: italic;
}
}


#documentation-meta-data .mbox-text .template-documentation-toolbar-link {
.template-documentation-toolbar {
font-style: normal;
font-style: normal;
font-size: 85%;
font-size: 85%;
}
}

Revision as of 04:32, 12 November 2020

.template-documentation,
.template-documentation-metadata {
	border: 1px solid #a2a9b1;
	background-color: #ecfcf4;
	padding: 1em;
	clear: both;
}

.template-documentation {
	margin: 1em 0 0 0;
}

.template-documentation-startbox {
	padding-bottom: 3px;
	border-bottom: 1px solid #aaa;
	margin-bottom: 1ex;
}

.template-documentation-heading {
	font-weight: bold;
	font-size: 125%;
}

.template-documentation-other-heading {
	font-size: 150%;
}

.template-documentation-sandbox-start,
/* So right or left floating items don't stick out of the doc box.*/
.template-documentation-end {
	clear: both;
}

.template-documentation-metadata {
	margin: 0.2em 0;
    font-style: italic;
}

.template-documentation-toolbar {
	font-style: normal;
	font-size: 85%;
}