Site Notice
hello, world
Difference between revisions of "MediaWiki:Css-doc.css"
From Project-EPB Commons
Line 4: | Line 4: | ||
* CC BY-NC-SA | * CC BY-NC-SA | ||
**/ | **/ | ||
+ | /** Background **/ | ||
body{ | body{ | ||
display: block; | display: block; | ||
Line 24: | Line 25: | ||
background: linear-gradient(65deg, #dbdbdb 5%, #f2f5f5 5%, #f2f5f5 80%, #90e7ff 80%, #a8d9f2 95%, #28caff 95%) center 0 no-repeat; | background: linear-gradient(65deg, #dbdbdb 5%, #f2f5f5 5%, #f2f5f5 80%, #90e7ff 80%, #a8d9f2 95%, #28caff 95%) center 0 no-repeat; | ||
} | } | ||
+ | /** Sidenav **/ | ||
nav a.sidenav-trigger { | nav a.sidenav-trigger { | ||
display: unset !important; | display: unset !important; | ||
Line 35: | Line 37: | ||
.sidenav li:not(.tab) > a { | .sidenav li:not(.tab) > a { | ||
padding: 0 8px 0 32px; | padding: 0 8px 0 32px; | ||
+ | } | ||
+ | /** Article area **/ | ||
+ | main > .row { | ||
+ | margin-bottom: 0; | ||
} | } |
Revision as of 20:35, 12 September 2019
/**
*『Wjghj Project Static』
* This _CascadingStyleSheets_ code is from https://common.wjghj.cn
* CC BY-NC-SA
**/
/** Background **/
body{
display: block;
position: absolute;
left: 0;
top: 0;
z-index: 10;
width: 100%;
height: 100%;
}
body:before {
content: '';
position: fixed;
z-index: -1;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-size: cover !important;
background: linear-gradient(65deg, #dbdbdb 5%, #f2f5f5 5%, #f2f5f5 80%, #90e7ff 80%, #a8d9f2 95%, #28caff 95%) center 0 no-repeat;
}
/** Sidenav **/
nav a.sidenav-trigger {
display: unset !important;
}
#sidenav {
height: 100%;
}
#sidenav .tabs a {
padding: 0 4px;
}
.sidenav li:not(.tab) > a {
padding: 0 8px 0 32px;
}
/** Article area **/
main > .row {
margin-bottom: 0;
}