Module:Documentation/styles.css: Difference between revisions

From Infarupedia
userbox>Jdlrobson
No edit summary
m (1 revision imported)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
.ts-doc-sandbox .mbox-image {
/* {{pp|small=yes}} */
padding:.75em 0 .75em .75em;
.documentation,
}
.documentation-metadata {
border: 1px solid #a2a9b1;
.ts-doc-doc {
background-color: #ecfcf4;
clear: both;
clear: both;
background-color: #eaf3ff;
color: #333;
border: 1px solid #a3caff;
margin-top: 1em;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
}


.ts-doc-header {
.documentation {
background-color: #c2dcff;
margin: 1em 0 0 0;
color: #333;
padding: 1em;
padding: .642857em 1em .5em;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
}


.ts-doc-heading {
.documentation-metadata {
display: inline-block;
margin: 0.2em 0; /* same margin left-right as .documentation */
padding-left: 30px;
    font-style: italic;
background: center left / 24px 24px no-repeat;
    padding: 0.4em 1em; /* same padding left-right as .documentation */
/* @noflip */
background-image: url( //upload.wikimedia.org/wikipedia/commons/f/fb/OOjs_UI_icon_puzzle-ltr.svg );
height: 24px;
line-height: 24px;
font-size: 13px;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
}
}


.ts-doc-header .ts-tlinks-tlinks {
.documentation-startbox {
line-height: 24px;
padding-bottom: 3px;
margin-left: 0;
border-bottom: 1px solid #aaa;
margin-bottom: 1ex;
}
}


.ts-doc-header .ts-tlinks-tlinks a.external {
.documentation-heading {
color: #0645ad;
font-weight: bold;
font-size: 125%;
}
}


.ts-doc-header .ts-tlinks-tlinks a.external:visited {
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
color: #0b0080;
clear: both;
}
}


.ts-doc-header .ts-tlinks-tlinks a.external:active {
.documentation-toolbar {
color: #faa700;
font-style: normal;
font-size: 85%;
}
}


.ts-doc-content {
padding: .214286em 1em;
}


.ts-doc-content:after {
@media screen {
content: '';
    html.skin-theme-clientpref-night .documentation,
clear: both;
html.skin-theme-clientpref-night .documentation-metadata {
display: block;
    background-color: #0b1e1c;
}
}
}


.ts-doc-content > :first-child {
margin-top: .5em;
}


.ts-doc-content > :last-child {
@media screen and ( prefers-color-scheme: dark) {
margin-bottom: .5em;
    html.skin-theme-clientpref-os .documentation,
}
    html.skin-theme-clientpref-os .documentation-metadata {
 
        background-color: #0b1e1c;
.ts-doc-footer {
    }
background-color: #eaf3ff;
color: #333;
border: 1px solid #a3caff;
padding: .214286em 1em;
margin-top: .214286em;
font-style: italic;
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
}
 
@media all and (min-width: 720px) {  
.ts-doc-header .ts-tlinks-tlinks {
float: right;
}
}
}

Latest revision as of 21:57, 12 December 2024

/* {{pp|small=yes}} */
.documentation,
.documentation-metadata {
	border: 1px solid #a2a9b1;
	background-color: #ecfcf4;
	clear: both;
}

.documentation {
	margin: 1em 0 0 0;
	padding: 1em;
}

.documentation-metadata {
	margin: 0.2em 0; /* same margin left-right as .documentation */
    font-style: italic;
    padding: 0.4em 1em; /* same padding left-right as .documentation */
}

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

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

.documentation-clear { /* Don't want things to stick out where they shouldn't. */
	clear: both;
}

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


@media screen {
    html.skin-theme-clientpref-night .documentation,
	html.skin-theme-clientpref-night .documentation-metadata {
	    background-color: #0b1e1c;
	}
}


@media screen and ( prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .documentation,
    html.skin-theme-clientpref-os .documentation-metadata {
        background-color: #0b1e1c;
    }
}