Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Documentation/styles.css: Difference between revisions

From Vault Hunters Official Wiki
No edit summary
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.documentation {
.documentation {
border: 1px solid #ccc;
background-color: var(--color-surface-1);
border: var(--border-base);
border-radius: var(--border-radius-base);
padding: 0.8em 1em 0.7em;
padding: 0.8em 1em 0.7em;
margin-top: 1em;
margin-top: 1em;
clear: both;
clear: both;
}
}
body.wgl-theme-dark .documentation {
body.skin-theme-clientpref-night .documentation {
border-color: #121212;
background-color:var(--color-surface-1);
border-color: var(--border-color-base);
}
}


Line 12: Line 15:
.documentation-header-bottom {
.documentation-header-bottom {
padding: 0.8em 1em 0.7em;
padding: 0.8em 1em 0.7em;
background-color:var(--color-surface-2);
}
body.skin-theme-clientpref-night .documentation-header-top,
body.skin-theme-clientpref-night .documentation-header-bottom {
background-color:var(--color-surface-2);
}
}


Line 39: Line 47:
margin-right: 1em;
margin-right: 1em;
line-height: 1;
line-height: 1;
}
.documentation-badDoc {
background-color:var(--color-surface-1);
}
body.skin-theme-clientpref-night .documentation-badDoc {
background-color:var(--color-surface-1);
}
.documentation-badDoc .documentation-header-top,
.documentation-badDoc .documentation-header-bottom {
background-color:var(--color-surface-2);
}
body.skin-theme-clientpref-night .documentation-badDoc .documentation-header-top,
body.skin-theme-clientpref-night .documentation-badDoc .documentation-header-bottom {
background-color:var(--color-surface-2);
}
.documentation-noDoc {
background-color:var(--color-surface-1);
}
body.skin-theme-clientpref-night .documentation-noDoc {
background-color:var(--color-surface-1);
}
.documentation-noDoc .documentation-header-top,
.documentation-noDoc .documentation-header-bottom {
background-color:var(--color-surface-2);
}
body.skin-theme-clientpref-night .documentation-noDoc .documentation-header-top,
body.skin-theme-clientpref-night .documentation-noDoc .documentation-header-bottom {
background-color:var(--color-surface-2);
}
}


Line 48: Line 88:
     }
     }
}
}
/*
/*
[[Category:Template styles]]
[[Category:Template styles]]
[[ja:モジュール:Documentation/styles.css]]
[[uk:Модуль:Документація/styles.css]]
[[zh:Module:Documentation/styles.css]]
*/
*/

Latest revision as of 22:05, 16 June 2025

.documentation {
	background-color: var(--color-surface-1);
	border: var(--border-base);
	border-radius: var(--border-radius-base);
	padding: 0.8em 1em 0.7em;
	margin-top: 1em;
	clear: both;
}
body.skin-theme-clientpref-night .documentation {
	background-color:var(--color-surface-1);
	border-color: var(--border-color-base);
}

.documentation-header-top,
.documentation-header-bottom {
	padding: 0.8em 1em 0.7em;
	background-color:var(--color-surface-2);
}
body.skin-theme-clientpref-night .documentation-header-top,
body.skin-theme-clientpref-night .documentation-header-bottom {
	background-color:var(--color-surface-2);
}

.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 #documentation-jump-to-code {
    white-space: nowrap;
}

.documentation #documentation-header-tools {
    float: right;
    margin-left: 2em;
}

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

.documentation-badDoc {
	background-color:var(--color-surface-1);
}
body.skin-theme-clientpref-night .documentation-badDoc {
	background-color:var(--color-surface-1);
}

.documentation-badDoc .documentation-header-top,
.documentation-badDoc .documentation-header-bottom {
	background-color:var(--color-surface-2);
}
body.skin-theme-clientpref-night .documentation-badDoc .documentation-header-top,
body.skin-theme-clientpref-night .documentation-badDoc .documentation-header-bottom {
	background-color:var(--color-surface-2);
}

.documentation-noDoc {
	background-color:var(--color-surface-1);
}
body.skin-theme-clientpref-night .documentation-noDoc {
	background-color:var(--color-surface-1);
}

.documentation-noDoc .documentation-header-top,
.documentation-noDoc .documentation-header-bottom {
	background-color:var(--color-surface-2);
}
body.skin-theme-clientpref-night .documentation-noDoc .documentation-header-top,
body.skin-theme-clientpref-night .documentation-noDoc .documentation-header-bottom {
	background-color:var(--color-surface-2);
}

@media screen and (max-width: 480px) {
    .documentation #documentation-header-tools {
        float: none;
        margin-left: 0;
        display: block;
    }
}
/*
[[Category:Template styles]]
*/