Difference between revisions of "MediaWiki:Common.css"
From PDP/Grid Wiki
Jump to navigationJump to search (Replaced content with "→CSS placed here will be applied to all skins: →increase sidebar width: #column-content { margin-left: -15em } #column-content #content { margin-left: 15em } #p-logo ...") |
(enable list numbering) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
div#column-content { margin-left: -14em } | div#column-content { margin-left: -14em } | ||
div#content { margin-left: 14em } | div#content { margin-left: 14em } | ||
+ | |||
+ | /* | ||
+ | |||
+ | ==Dynamic hidden boxes== | ||
+ | Copied from [[w:Mediawiki:monobook.css]] (not common.css). rev: http://en.wikipedia.org/w/index.php?title=MediaWiki:Monobook.css&oldid=73496939 originally from german 'pedia apearently. note: proably under GFDL. | ||
+ | Might make work better*/ | ||
+ | div.Boxmerge, | ||
+ | div.NavFrame { | ||
+ | margin: 0px; | ||
+ | padding: 2px; | ||
+ | border: 1px solid #aaaaaa; | ||
+ | /*text-align: center;*/ | ||
+ | border-collapse: collapse; | ||
+ | font-size: 95%; | ||
+ | } | ||
+ | div.Boxmerge div.NavFrame { | ||
+ | border-style: none; | ||
+ | border-style: hidden; | ||
+ | } | ||
+ | div.NavFrame + div.NavFrame { | ||
+ | border-top-style: none; | ||
+ | border-top-style: hidden; | ||
+ | } | ||
+ | div.NavPic { | ||
+ | background-color: #ffffff; | ||
+ | margin: 0px; | ||
+ | padding: 2px; | ||
+ | float: left; | ||
+ | } | ||
+ | div.NavFrame div.NavHead { | ||
+ | height: 1.6em; | ||
+ | font-weight: bold; | ||
+ | font-size: 100%; | ||
+ | background-color: #efefef; | ||
+ | position:relative; | ||
+ | padding-right:2em; /*Possibly should be in ch. stop down arrow from running together w/title */ | ||
+ | /*overflow:hidden;*/ /*otherwise runs into text; WvE enabled again otherwise list-numbers disappear*/ | ||
+ | } | ||
+ | div.NavFrame p { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavFrame div.NavContent { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavFrame div.NavContent p { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavEnd { | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
+ | line-height: 1px; | ||
+ | clear: both; | ||
+ | } | ||
+ | a.NavToggle { | ||
+ | position:absolute; | ||
+ | top:0px; | ||
+ | right:3px; | ||
+ | font-weight:normal; | ||
+ | font-size:smaller; | ||
+ | } |
Latest revision as of 15:54, 21 February 2012
/* CSS placed here will be applied to all skins */ /* increase sidebar width */ #column-content { margin-left: -15em } #column-content #content { margin-left: 15em } #p-logo a, #p-logo a:hover { width: 15em } #p-cactions { left: 14.5em } .portlet { width: 14em } div#column-content { margin-left: -14em } div#content { margin-left: 14em } /* ==Dynamic hidden boxes== Copied from [[w:Mediawiki:monobook.css]] (not common.css). rev: http://en.wikipedia.org/w/index.php?title=MediaWiki:Monobook.css&oldid=73496939 originally from german 'pedia apearently. note: proably under GFDL. Might make work better*/ div.Boxmerge, div.NavFrame { margin: 0px; padding: 2px; border: 1px solid #aaaaaa; /*text-align: center;*/ border-collapse: collapse; font-size: 95%; } div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #ffffff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; position:relative; padding-right:2em; /*Possibly should be in ch. stop down arrow from running together w/title */ /*overflow:hidden;*/ /*otherwise runs into text; WvE enabled again otherwise list-numbers disappear*/ } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } a.NavToggle { position:absolute; top:0px; right:3px; font-weight:normal; font-size:smaller; }