Module:Documentation/styles.css: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
clear:both
rework this just to convince myself
Line 1: Line 1:
.template-documentation {
/* {{PP-template}} */
.ts-doc-sandbox .mbox-image {
padding:.75em 0 .75em .75em;
}

.ts-doc-doc {
clear: both;
clear: both;
margin: 1em 0 0 0;
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
background-color: #ecfcf4;
padding: 1em;
border: 1px solid #a2a9b1;
margin-top: 1em;
padding: 5px;
}
}
/*


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


.template-documentation-startbox .template-heading {
.ts-doc-header .ts-tlinks-tlinks {
font-weight: bold;
display: inline-block;
line-height: 24px;
font-size: 125%;
margin-left: 1em;
}
}


.template-documentation-startbox .other-heading {
.ts-doc-header .ts-tlinks-tlinks a.external {
font-size: 150%;
color: #0645ad;
}
}


.template-documentation-sandbox-start,
.ts-doc-header .ts-tlinks-tlinks a.external:visited {
.template-documentation-end /* So right or left floating items don't stick out of the doc box.*/
color: #0b0080;
}


.ts-doc-header .ts-tlinks-tlinks a.external:active {
color: #faa700;
}



.ts-doc-content:after {
/* {
content: '';
clear: both;
clear: both;
display: block;
}
}
*/

#documentation-meta-data {
.ts-doc-heading {
background-color: #ecfcf4;
display: inline-block;
padding-left: 55px;
background: center left/50px no-repeat;
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png);
background-image: url(https://upload.wikimedia.org/wikipedia/commons/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg);
font-size: 1.5em;
}
}


#documentation-meta-data .mbox-text {
.ts-doc-content > *:first-child,
font-style: italic;
.ts-doc-footer > *:first-child {
margin-top: .5em;
}
}


#documentation-meta-data .mbox-text .template-documentation-toolbar-link {
.ts-doc-content > *:last-child,
font-style: normal;
.ts-doc-footer > *:last-child {
margin-bottom: .5em;
font-size: 85%;
}

.ts-doc-footer {
background-color: #ecfcf4;
border: 1px solid #a2a9b1;
padding: .25em 1em;
margin-top: .2em;
font-style: italic;
}
}

Revision as of 21:05, 11 November 2020

.template-documentation {
	clear: both;
	margin: 1em 0 0 0;
	border: 1px solid #a2a9b1;
	background-color: #ecfcf4;
	padding: 1em;
}
/*

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

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

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

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



/* {
	clear: both;
}
 */
#documentation-meta-data {
	background-color: #ecfcf4;
}

#documentation-meta-data .mbox-text {
	font-style: italic;
}

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