Module:Documentation/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
margin-top: 1em; | margin-top: 1em; | ||
clear: both; | clear: both; | ||
} | |||
body.wgl-darkmode .documentation { | |||
background-color: hsl(215, 25%, 8%); | |||
border-color: #121212; | |||
} | } | ||
Line 12: | Line 17: | ||
margin: -0.8em -1em 0.8em; | margin: -0.8em -1em 0.8em; | ||
background-color: hsl(215, 75%, 85%); | background-color: hsl(215, 75%, 85%); | ||
} | |||
body.wgl-darkmode .documentation-header-top, | |||
body.wgl-darkmode .documentation-header-bottom { | |||
background-color: hsl(215, 25%, 12%); | |||
} | } | ||
Line 48: | Line 58: | ||
.documentation-badDoc { | .documentation-badDoc { | ||
background-color: hsl(40, 75%, 92%); | background-color: hsl(40, 75%, 92%); | ||
} | |||
body.wgl-darkmode .documentation-badDoc { | |||
background-color: hsl(40, 25%, 8%); | |||
} | } | ||
.documentation-badDoc .documentation-header-top, | .documentation-badDoc .documentation-header-top, | ||
.documentation-badDoc .documentation-header-bottom | .documentation-badDoc .documentation-header-bottom { | ||
background-color: hsl(40, 75%, 85%); | background-color: hsl(40, 75%, 85%); | ||
} | |||
body.wgl-darkmode .documentation-badDoc .documentation-header-top, | |||
body.wgl-darkmode .documentation-badDoc .documentation-header-bottom { | |||
background-color: hsl(40, 25%, 12%); | |||
} | } | ||
.documentation-noDoc { | .documentation-noDoc { | ||
background-color: hsl(0, 0%, 92%); | background-color: hsl(0, 0%, 92%); | ||
} | |||
body.wgl-darkmode .documentation-noDoc { | |||
background-color: hsl(0, 0%, 8%); | |||
} | } | ||
.documentation-noDoc .documentation-header-top, | .documentation-noDoc .documentation-header-top, | ||
.documentation-noDoc .documentation-header-bottom | .documentation-noDoc .documentation-header-bottom { | ||
background-color: hsl(0, 0%, 85%); | background-color: hsl(0, 0%, 85%); | ||
} | |||
body.wgl-darkmode .documentation-noDoc .documentation-header-top, | |||
body.wgl-darkmode .documentation-noDoc .documentation-header-bottom { | |||
background-color: hsl(0, 0%, 12%); | |||
} | } |
Revision as of 11:09, 27 September 2023
.documentation {
background-color: hsl(215, 75%, 92%);
border: 1px solid #ccc;
padding: 0.8em 1em 0.7em;
margin-top: 1em;
clear: both;
}
body.wgl-darkmode .documentation {
background-color: hsl(215, 25%, 8%);
border-color: #121212;
}
.documentation-header-top,
.documentation-header-bottom {
padding: 0.8em 1em 0.7em;
margin: -0.8em -1em 0.8em;
background-color: hsl(215, 75%, 85%);
}
body.wgl-darkmode .documentation-header-top,
body.wgl-darkmode .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-header-title {
margin-right: 1em;
font-weight: 500;
line-height: 1;
font-size: 130%;
}
.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-darkmode .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-darkmode .documentation-badDoc .documentation-header-top,
body.wgl-darkmode .documentation-badDoc .documentation-header-bottom {
background-color: hsl(40, 25%, 12%);
}
.documentation-noDoc {
background-color: hsl(0, 0%, 92%);
}
body.wgl-darkmode .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-darkmode .documentation-noDoc .documentation-header-top,
body.wgl-darkmode .documentation-noDoc .documentation-header-bottom {
background-color: hsl(0, 0%, 12%);
}