Difference between revisions of "MediaWiki:Monobook.css"
From Dungeon Defenders 2 Wiki
Line 9: | Line 9: | ||
div#column-content { margin-left: -11em; } | div#column-content { margin-left: -11em; } | ||
div#content { margin-left: 11em; } | div#content { margin-left: 11em; } | ||
+ | |||
+ | #p-logo a, #p-logo a:hover | ||
+ | { | ||
+ | width: 12em; | ||
+ | background-image: url("/images/c/c9/Logo.png") !important; | ||
+ | } | ||
+ | |||
+ | #p-logo | ||
+ | { | ||
+ | height: 160px; | ||
+ | margin: 0; | ||
+ | width: 12em; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | .portlet | ||
+ | { | ||
+ | width: 11em; | ||
+ | z-index: 1; | ||
+ | position: relative; | ||
+ | font-size: 1em; | ||
+ | margin: 0.8333333333em 0.5em 0.8333333333em; | ||
+ | } | ||
+ | |||
+ | .portlet .pBody, #p-search .pBody | ||
+ | { | ||
+ | border: 0; | ||
+ | padding: 0.333em; | ||
+ | line-height: 1.4285714286em; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | .portlet .pBody | ||
+ | { | ||
+ | margin: 0 0.5em; | ||
+ | padding: 0 0.333em; | ||
+ | } | ||
+ | |||
+ | #p-search .pBody | ||
+ | { | ||
+ | margin: 0; | ||
+ | padding: 0.333em 0.333em 0; | ||
+ | } | ||
+ | |||
+ | .pBody ul, .pBody li | ||
+ | { | ||
+ | line-height: 1.6666666667em; | ||
+ | } | ||
+ | |||
+ | .portlet h5, .portlet h3 | ||
+ | { | ||
+ | color: #000; | ||
+ | font-size: 1em; | ||
+ | font-weight: normal; | ||
+ | padding: 0 1em 5px; | ||
+ | line-height: 1.3333333333em; | ||
+ | margin: 0 -0.5em; | ||
+ | background-image: url("/images/4/45/Shadow_after.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: bottom center; | ||
+ | background-size: 90% 3px; | ||
+ | display: block; | ||
+ | width: 9.2em; | ||
+ | text-transform: none; | ||
+ | font-size-adjust: 0.43; | ||
+ | height: 100%; | ||
+ | } | ||
+ | |||
+ | .portlet ul | ||
+ | { | ||
+ | font-size: 1em; | ||
+ | line-height: 1.6666666667em; | ||
+ | margin: 0 0 0 1em; | ||
+ | } |
Revision as of 15:01, 20 October 2015
/* CSS placed here will affect users of the MonoBook skin */ /* set sidebar width */ #column-content { margin-left: -12em; } #column-content #content { margin-left: 12em; } #p-logo a, #p-logo a:hover { width: 12em; } #p-cactions { left: 11.5em; } .portlet { width: 11em; } div#column-content { margin-left: -11em; } div#content { margin-left: 11em; } #p-logo a, #p-logo a:hover { width: 12em; background-image: url("/images/c/c9/Logo.png") !important; } #p-logo { height: 160px; margin: 0; width: 12em; background-color: transparent; } .portlet { width: 11em; z-index: 1; position: relative; font-size: 1em; margin: 0.8333333333em 0.5em 0.8333333333em; } .portlet .pBody, #p-search .pBody { border: 0; padding: 0.333em; line-height: 1.4285714286em; background-color: transparent; } .portlet .pBody { margin: 0 0.5em; padding: 0 0.333em; } #p-search .pBody { margin: 0; padding: 0.333em 0.333em 0; } .pBody ul, .pBody li { line-height: 1.6666666667em; } .portlet h5, .portlet h3 { color: #000; font-size: 1em; font-weight: normal; padding: 0 1em 5px; line-height: 1.3333333333em; margin: 0 -0.5em; background-image: url("/images/4/45/Shadow_after.png"); background-repeat: no-repeat; background-position: bottom center; background-size: 90% 3px; display: block; width: 9.2em; text-transform: none; font-size-adjust: 0.43; height: 100%; } .portlet ul { font-size: 1em; line-height: 1.6666666667em; margin: 0 0 0 1em; }