Module:Documentation/styles.css: Difference between revisions

m remove redundant styles
m 1 revision imported
Tags: Mobile edit Mobile web edit
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
/* [[Category:Template styles]] */
.documentation {
.documentation {
background-color: hsl(215, 75%, 92%);
background-color: hsl(215, 75%, 92%);
border: 1px solid #ccc;
border: 1px solid #ccc;
padding: 0.8em 1em 0.7em;
padding: 0.8em 1em 0.7em;
margin-top: 1em;
margin: 1em 0;
clear: both;
clear: both;
}
}
body.wgl-theme-dark .documentation {
body.wgl-theme-dark .documentation {
background-color: hsl(215, 25%, 8%);
background-color: hsl(215, 25%, 8%);
Line 18: Line 16:
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-top,
body.wgl-theme-dark .documentation-header-bottom {
body.wgl-theme-dark .documentation-header-bottom {
Line 38: Line 35:
     white-space: nowrap;
     white-space: nowrap;
}
}
.documentation #documentation-header-tools {
 
.documentation .documentation-header-tools {
     float: right;
     float: right;
     margin-left: 2em;
     margin-left: 2em;
Line 53: Line 51:
background-color: hsl(40, 75%, 92%);
background-color: hsl(40, 75%, 92%);
}
}
body.wgl-theme-dark .documentation-badDoc {
body.wgl-theme-dark .documentation-badDoc {
background-color: hsl(40, 25%, 8%);
background-color: hsl(40, 25%, 8%);
Line 62: Line 59:
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-top,
body.wgl-theme-dark .documentation-badDoc .documentation-header-bottom {
body.wgl-theme-dark .documentation-badDoc .documentation-header-bottom {
Line 71: Line 67:
background-color: hsl(0, 0%, 92%);
background-color: hsl(0, 0%, 92%);
}
}
body.wgl-theme-dark .documentation-noDoc {
body.wgl-theme-dark .documentation-noDoc {
background-color: hsl(0, 0%, 8%);
background-color: hsl(0, 0%, 8%);
Line 80: Line 75:
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-top,
body.wgl-theme-dark .documentation-noDoc .documentation-header-bottom {
body.wgl-theme-dark .documentation-noDoc .documentation-header-bottom {
background-color: hsl(0, 0%, 12%);
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]]
*/