Difference between revisions of "MediaWiki:Monobook.css"
From YTMND
Line 46: | Line 46: | ||
/* Use [[:Image:Wiki.png]] as logo for all modern browsers */ | /* Use [[:Image:Wiki.png]] as logo for all modern browsers */ | ||
− | body > #p-logo a { | + | body > #globalWrapper #p-logo a { |
background-image: url('http://www.ytmnd.com/wiki/images/b/bc/Wiki.png') !important; | background-image: url('http://www.ytmnd.com/wiki/images/b/bc/Wiki.png') !important; | ||
} | } |
Revision as of 03:29, June 15, 2006
/* <pre><nowiki> */ /* edit this file to customize the monobook skin to look similar to YTMND's site */ /* convert side boxes to YTMND style */ /* take out that retarded Monobook background */ body { background: #fff; } /* Colors the sidebar */ .portlet { border-style: solid; border-width: 1px; border-color: #eeeeee #000000 #000000 #eeeeee; background-color: #f5f5f5; background-image: url(http://66.254.99.158/assets/images/ytmnd/grad.png); background-repeat: repeat-y; margin-left: 3px; margin-right: 3px; } .pBody { background: none; border: none; } /* Set the fonts for the sidebar headers */ .portlet h5 { font-family: 'Century Gothic', 'Gothic', sans-serif; font-size: 10pt; text-transform: uppercase; } /* Remove sidebar styling to logo */ #p-logo { background: transparent; border: none; } /* Use fallback [[:Image:Wiki.gif]] as logo for IE 6 and below */ #p-logo a { background-image: url('http://www.ytmnd.com/wiki/images/3/38/Wiki.gif;) !important; } /* Use [[:Image:Wiki.png]] as logo for all modern browsers */ body > #globalWrapper #p-logo a { background-image: url('http://www.ytmnd.com/wiki/images/b/bc/Wiki.png') !important; } /* Remove sidebar styling to tab bar */ #p-cactions { border: none; background: transparent; } /* Color tabs */ #p-cactions li { background: #C0C7C0; border-color: #C0C7C0; -moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px; } #p-cactions li:hover { background-color: #B0B7B0; } #p-cactions li.selected { border-color: #CFC8CF; background-color: #F0F7F0; } #p-cactions li.selected a { background-color: transparent; font-weight: normal; } #p-cactions li a { background-color: transparent; font-family: "Trebuchet MS", "Helvectica", sans-serif; color: #000; } #p-cactions li a:hover { background-color: transparent; color: #000; } /* colors the main section */ #content { border-style: solid; border-width: 1px; border-color: #eeeeee #000000 #000000 #eeeeee; background-color: #f5f5f5; background-image: url(http://66.254.99.158/assets/images/ytmnd/grad.png); background-repeat: repeat-y; margin: 2.8em 5px 0 12.5em; } /* styles for the headers */ h1 { border: none; font-family: 'Century Gothic', 'Gothic', sans-serif; } h2 { font: bold 16px 'Verdana', 'Arial', 'Helvetica', sans-serif; border-bottom: dotted 1px #000; } h3 { font: bold 14pt 'Verdana', 'Arial', 'Helvetica', sans-serif; border: none; } /* Styles for the footer */ #footer { background-color: transparent; color: #AEAEAE; border-color: #AEAEAE; border-width: 1px 0 0 0; margin: auto; width: 80% } #footer a { color: #aeaeae; } /* Remove white margins from thumbnails */ div.thumb { border: none; margin-top: 10px; margin-bottom: 0px; } div.tleft { border: none; } div.tright { margin-left: 13px; } /* </nowiki></pre> */