Module:Documentation/styles.css: Difference between revisions
No edit summary |
m 1 revision imported Tags: Mobile edit Mobile web edit |
||
| (13 intermediate revisions by 5 users not shown) | |||
| Line 3: | Line 3: | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
padding: 0.8em 1em 0.7em; | padding: 0.8em 1em 0.7em; | ||
margin | margin: 1em 0; | ||
clear: both; | clear: both; | ||
} | |||
body.wgl-theme-dark .documentation { | |||
background-color: hsl(215, 25%, 8%); | |||
border-color: #121212; | |||
} | } | ||
| Line 11: | Line 15: | ||
padding: 0.8em 1em 0.7em; | padding: 0.8em 1em 0.7em; | ||
background-color: hsl(215, 75%, 85%); | 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 22: | 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 33: | Line 50: | ||
.documentation-badDoc { | .documentation-badDoc { | ||
background-color: hsl(40, 75%, 92%); | 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-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-theme-dark .documentation-badDoc .documentation-header-top, | |||
body.wgl-theme-dark .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-theme-dark .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-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]] | |||
*/ | |||