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
templatewiki>Rodejong
Updating and/or correcting
 
Created page with ".documentation { background-color: hsl(215, 75%, 92%); border: 1px solid #ccc; padding: 0.8em 1em 0.7em; margin-top: 1em; clear: both; } body.wgl-theme-dark .documentation { background-color: hsl(215, 25%, 8%); border-color: #121212; } .documentation-header-top, .documentation-header-bottom { padding: 0.8em 1em 0.7em; background-color: hsl(215, 75%, 85%); } body.wgl-theme-dark .documentation-header-top, body.wgl-theme-dark .documentation-header-bottom { backgr..."
Line 1: Line 1:
.documentation,
.documentation {
.documentation-metadata {
background-color: hsl(215, 75%, 92%);
border: 1px solid #a2a9b1;
border: 1px solid #ccc;
background-color: #ecfcf4;
padding: 0.8em 1em 0.7em;
margin-top: 1em;
clear: both;
clear: both;
}
body.wgl-theme-dark .documentation {
background-color: hsl(215, 25%, 8%);
border-color: #121212;
}
.documentation-header-top,
.documentation-header-bottom {
padding: 0.8em 1em 0.7em;
background-color: hsl(215, 75%, 85%);
}
body.wgl-theme-dark .documentation-header-top,
body.wgl-theme-dark .documentation-header-bottom {
background-color: hsl(215, 25%, 12%);
}
.documentation-header-top {
margin: -0.8em -1em 0.8em;
border-bottom: inherit;
}
}


.documentation {
.documentation-header-bottom {
margin: 1em 0 0 0;
margin: 0.7em -1em -0.7em;
padding: 1em;
border-top: inherit;
clear: both;
}
}


.documentation-metadata {
.documentation #documentation-jump-to-code {
margin: 0.2em 0; /* same margin left-right as .documentation */
     white-space: nowrap;
     font-style: italic;
    padding: 0.4em 1em; /* same padding left-right as .documentation */
}
}


.documentation-startbox {
.documentation #documentation-header-tools {
padding-bottom: 3px;
    float: right;
border-bottom: 1px solid #aaa;
    margin-left: 2em;
margin-bottom: 1ex;
}
}


.documentation-heading {
.documentation-header-title {
font-weight: bold;
font-weight: bold;
font-size: 125%;
font-size: 130%;
margin-right: 1em;
line-height: 1;
}
 
.documentation-badDoc {
background-color: hsl(40, 75%, 92%);
}
body.wgl-theme-dark .documentation-badDoc {
background-color: hsl(40, 25%, 8%);
}
}


.documentation-clear { /* Don't want things to stick out where they shouldn't. */
.documentation-badDoc .documentation-header-top,
clear: both;
.documentation-badDoc .documentation-header-bottom {
background-color: hsl(40, 75%, 85%);
}
body.wgl-theme-dark .documentation-badDoc .documentation-header-top,
body.wgl-theme-dark .documentation-badDoc .documentation-header-bottom {
background-color: hsl(40, 25%, 12%);
}
}


.documentation-toolbar {
.documentation-noDoc {
font-style: normal;
background-color: hsl(0, 0%, 92%);
font-size: 85%;
}
body.wgl-theme-dark .documentation-noDoc {
background-color: hsl(0, 0%, 8%);
}
}


/* Darkmode */
.documentation-noDoc .documentation-header-top,
@media screen {
.documentation-noDoc .documentation-header-bottom {
    html.skin-theme-clientpref-night .documentation,
background-color: hsl(0, 0%, 85%);
html.skin-theme-clientpref-night .documentation-metadata {
}
    background-color: #0b1e1c;
body.wgl-theme-dark .documentation-noDoc .documentation-header-top,
}
body.wgl-theme-dark .documentation-noDoc .documentation-header-bottom {
background-color: hsl(0, 0%, 12%);
}
}


@media screen and ( prefers-color-scheme: dark) {
@media screen and (max-width: 480px) {
     html.skin-theme-clientpref-os .documentation,
     .documentation #documentation-header-tools {
    html.skin-theme-clientpref-os .documentation-metadata {
         float: none;
         background-color: #0b1e1c;
        margin-left: 0;
        display: block;
     }
     }
}
}


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

Revision as of 17:14, 16 June 2025

.documentation {
	background-color: hsl(215, 75%, 92%);
	border: 1px solid #ccc;
	padding: 0.8em 1em 0.7em;
	margin-top: 1em;
	clear: both;
}
body.wgl-theme-dark .documentation {
	background-color: hsl(215, 25%, 8%);
	border-color: #121212;
}

.documentation-header-top,
.documentation-header-bottom {
	padding: 0.8em 1em 0.7em;
	background-color: hsl(215, 75%, 85%);
}
body.wgl-theme-dark .documentation-header-top,
body.wgl-theme-dark .documentation-header-bottom {
	background-color: hsl(215, 25%, 12%);
}

.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: hsl(40, 75%, 92%);
}
body.wgl-theme-dark .documentation-badDoc {
	background-color: hsl(40, 25%, 8%);
}

.documentation-badDoc .documentation-header-top,
.documentation-badDoc .documentation-header-bottom {
	background-color: hsl(40, 75%, 85%);
}
body.wgl-theme-dark .documentation-badDoc .documentation-header-top,
body.wgl-theme-dark .documentation-badDoc .documentation-header-bottom {
	background-color: hsl(40, 25%, 12%);
}

.documentation-noDoc {
	background-color: hsl(0, 0%, 92%);
}
body.wgl-theme-dark .documentation-noDoc {
	background-color: hsl(0, 0%, 8%);
}

.documentation-noDoc .documentation-header-top,
.documentation-noDoc .documentation-header-bottom {
	background-color: hsl(0, 0%, 85%);
}
body.wgl-theme-dark .documentation-noDoc .documentation-header-top,
body.wgl-theme-dark .documentation-noDoc .documentation-header-bottom {
	background-color: hsl(0, 0%, 12%);
}

@media screen and (max-width: 480px) {
    .documentation #documentation-header-tools {
        float: none;
        margin-left: 0;
        display: block;
    }
}

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