Difference between revisions of "MediaWiki:Common.css"
From MoiWiki
Jump to navigationJump to search (New page: →* CSS placed here will be applied to all skins: →Disable "Main page" h1 element.: body.page-Main_Page h1.firstHeading { display:none; } →Disable footer.: #footer { display:no...) |
|||
Line 12: | Line 12: | ||
#column-one { padding-top:235px; padding-left:5px; } | #column-one { padding-top:235px; padding-left:5px; } | ||
− | /* Increase | + | /* Increase text sizes and adjust positions to compensate. */ |
.portlet { font-size:110%; } | .portlet { font-size:110%; } | ||
− | #column-content { margin-left: - | + | #column-content { margin-left: -9.8em; } |
− | #content { margin-left: | + | #content { margin-left:9.8em; margin-top:2.2em; font-size:140%; } |
− | #p-cactions { left: | + | #p-cactions { left:12.5em; font-size:105%; } |
+ | |||
+ | /* Shrink some heading sizes a bit */ | ||
+ | h1 { font-size: 145%; } | ||
+ | h2 { font-size: 125%; } | ||
+ | h3 { font-size: 115%; } | ||
+ | h4 { font-size: 110%; } | ||
+ | |||
+ | h1, h2 { border-bottom-color: #ccc; } |
Revision as of 21:14, 14 November 2007
/** CSS placed here will be applied to all skins */ /* Disable "Main page" h1 element. */ body.page-Main_Page h1.firstHeading { display:none; } /* Disable footer. */ #footer { display:none; } /* Increase height and center upper-left logo. */ #p-logo, #p-logo a, #p-logo a:hover { height:230px; } #p-logo { left:12px; } #column-one { padding-top:235px; padding-left:5px; } /* Increase text sizes and adjust positions to compensate. */ .portlet { font-size:110%; } #column-content { margin-left: -9.8em; } #content { margin-left:9.8em; margin-top:2.2em; font-size:140%; } #p-cactions { left:12.5em; font-size:105%; } /* Shrink some heading sizes a bit */ h1 { font-size: 145%; } h2 { font-size: 125%; } h3 { font-size: 115%; } h4 { font-size: 110%; } h1, h2 { border-bottom-color: #ccc; }