Module:Documentation/styles.css: Difference between revisions
Jump to navigation
Jump to search
TemplateStyles, copied from Module:Documentation. See that page's history for attribution. |
m 9 revisions imported |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
.documentation { | .documentation { | ||
border: 1px solid # | background-color: hsl(215, 75%, 92%); | ||
border: 1px solid #ccc; | |||
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 { | |||
background-color: hsl(215, 25%, 8%); | |||
border-color: #121212; | |||
} | } | ||
Line 9: | Line 14: | ||
.documentation-header-bottom { | .documentation-header-bottom { | ||
padding: 0.8em 1em 0.7em; | padding: 0.8em 1em 0.7em; | ||
background-color: | 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%); | |||
} | } | ||
Line 21: | Line 30: | ||
border-top: inherit; | border-top: inherit; | ||
clear: both; | clear: both; | ||
} | |||
.documentation #documentation-jump-to-code { | |||
white-space: nowrap; | |||
} | |||
.documentation #documentation-header-tools { | |||
float: right; | |||
margin-left: 2em; | |||
} | } | ||
Line 31: | Line 49: | ||
.documentation-badDoc { | .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%); | |||
} | } | ||
/* | |||
[[Category:Template styles]] | |||
[[zh:Module:Documentation/styles.css]] | |||
*/ |
Latest revision as of 08:07, 4 July 2024
.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%);
}
/*
[[Category:Template styles]]
[[zh:Module:Documentation/styles.css]]
*/