MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
trying to make it work |
mNo edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
} | } | ||
div.infobox div { | div.infobox div.plainlinks { | ||
text-align: center; | text-align: center; | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
font-size:26px; | font-size:26px; | ||
} | |||
div.infobox div.plainlinks a, div.infobox div.plainlinks a:hover { | |||
color: black; | |||
} | } | ||
Line 38: | Line 42: | ||
} | } | ||
div. | /* navbox styling */ | ||
color: black; | |||
div.navbox { | |||
background-color: #f1f1f1; | |||
border: 1px solid black; | |||
border-radius: 5px; | |||
text-align: center; | |||
margin-top: 5px; | |||
clear: both; | |||
} | |||
div.navbox div.navbox-header { | |||
background-color: #dedede; | |||
font-weight: bold; | |||
border-top-left-radius: 5px; | |||
border-top-right-radius: 5px; | |||
border-bottom: /* inherit */ 1px solid black; | |||
} | |||
div.navbox div.navbox-content { | |||
font-size: 90%; | |||
padding: 3px; | |||
} | |||
div.navbox div.navbox-toggle { | |||
float: right; | |||
margin-right: 3px; | |||
} | |||
div.ambox a { | |||
background: none !important; | |||
padding: 0 !important; | |||
} | } | ||
.page-Main_Page #firstHeading, .page-Main_Page #contentSub { | |||
display: none !important; | |||
} | } |
Latest revision as of 12:17, 23 October 2011
/* CSS placed here will be applied to all skins */ /* article message box, used by templates like Stub */ div.ambox { border: 1px solid orange; border-left: 5px solid orange; width: 70%; margin-left: auto; margin-right: auto; background: #fbfbfb; padding: 5px; margin-bottom: 5px; } /* infobox styling */ div.infobox { float: right; clear: right; width: 250px; border: 3px solid black; border-radius: 5px; background-color: #dfdfdf; padding-top: 5px; margin-bottom: 5px; } div.infobox div.plainlinks { text-align: center; margin-bottom: 8px; font-size:26px; } div.infobox div.plainlinks a, div.infobox div.plainlinks a:hover { color: black; } div.infobox hr { color: black; background-color: black; height: 2px; margin-bottom: 3px; } /* navbox styling */ div.navbox { background-color: #f1f1f1; border: 1px solid black; border-radius: 5px; text-align: center; margin-top: 5px; clear: both; } div.navbox div.navbox-header { background-color: #dedede; font-weight: bold; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom: /* inherit */ 1px solid black; } div.navbox div.navbox-content { font-size: 90%; padding: 3px; } div.navbox div.navbox-toggle { float: right; margin-right: 3px; } div.ambox a { background: none !important; padding: 0 !important; } .page-Main_Page #firstHeading, .page-Main_Page #contentSub { display: none !important; }