styles.css: Porovnání verzí

Z Wiki JU
hidden>Izno
(rework this just to convince myself)
m (naimportována 1 revize)
 
(Není zobrazeno 23 mezilehlých verzí od 8 dalších uživatelů.)
Řádek 1: Řádek 1:
.template-documentation {
.ts-doc-sandbox .mbox-image {
padding:.75em 0 .75em .75em;
}
.ts-doc-doc {
clear: both;
clear: both;
margin: 1em 0 0 0;
background-color: #eaf3ff;
border: 1px solid #a2a9b1;
color: var(--color-fixed, #333);
background-color: #ecfcf4;
border: 1px solid #a3caff;
padding: 1em;
margin-top: 1em;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
}
/*


.template-documentation-startbox {
.ts-doc-header {
padding-bottom: 3px;
background-color: #c2dcff;
border-bottom: 1px solid #aaa;
color: var(--color-fixed, #333 );
margin-bottom: 1ex;
padding: .642857em 1em .5em;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
}


.template-documentation-startbox .template-heading {
.ts-doc-heading {
font-weight: bold;
display: inline-block;
font-size: 125%;
padding-left: 30px;
background: center left / 24px 24px no-repeat;
/* @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;
}
}


.template-documentation-startbox .other-heading {
.ts-doc-header .ts-tlinks-tlinks {
font-size: 150%;
line-height: 24px;
margin-left: 0;
}
}


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


.ts-doc-header .ts-tlinks-tlinks a.external:visited {
color: #0b0080;
}


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


/* {
.ts-doc-content {
padding: .214286em 1em;
}
 
.ts-doc-content:after {
content: '';
clear: both;
clear: both;
display: block;
}
}
*/
 
#documentation-meta-data {
.ts-doc-content > :first-child {
background-color: #ecfcf4;
margin-top: .5em;
}
}


#documentation-meta-data .mbox-text {
.ts-doc-content > :last-child {
margin-bottom: .5em;
}
 
.ts-doc-footer {
background-color: #eaf3ff;
color: var(--color-fixed, #333);
border: 1px solid #a3caff;
padding: .214286em 1em;
margin-top: .214286em;
font-style: italic;
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;
}
}
}


#documentation-meta-data .mbox-text .template-documentation-toolbar-link {
/* fix headers in dark mode */
font-style: normal;
.ts-doc-content .mw-heading {
font-size: 85%;
color: var(--color-fixed, #222);
}
.mw-templatedata-caption,
.mw-templatedata-format {
color: var(--color-fixed, #222);
}
/* fix icon for templatedata params (inline/block) in dark mode */
.mw-templatedata-doc-params .oo-ui-widget {
filter: unset !important;
}
}

Aktuální verze z 23. 9. 2024, 15:03

.ts-doc-sandbox .mbox-image	{
	padding:.75em 0 .75em .75em;
}
	
.ts-doc-doc {
	clear: both;
	background-color: #eaf3ff;
	color: var(--color-fixed, #333);
	border: 1px solid #a3caff;
	margin-top: 1em;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.ts-doc-header {
	background-color: #c2dcff;
	color: var(--color-fixed, #333 );
	padding: .642857em 1em .5em;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.ts-doc-heading {
	display: inline-block;
	padding-left: 30px;
	background: center left / 24px 24px no-repeat;
	/* @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 {
	line-height: 24px;
	margin-left: 0;
}

.ts-doc-header .ts-tlinks-tlinks a.external {
	color: #0645ad;
}

.ts-doc-header .ts-tlinks-tlinks a.external:visited {
	color: #0b0080;
}

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

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

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

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

.ts-doc-content > :last-child {
	margin-bottom: .5em;
}

.ts-doc-footer {
	background-color: #eaf3ff;
	color: var(--color-fixed, #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;
	}
}

/* fix headers in dark mode */
.ts-doc-content .mw-heading {
	color: var(--color-fixed, #222);
}
.mw-templatedata-caption,
.mw-templatedata-format {
	color: var(--color-fixed, #222);
}
/* fix icon for templatedata params (inline/block) in dark mode */
.mw-templatedata-doc-params .oo-ui-widget {
	filter: unset !important;
}