Difference between revisions of "MediaWiki:Monobook.css"
From YTMND
m |
|||
Line 151: | Line 151: | ||
text-align: right; font-size: x-small; | text-align: right; font-size: x-small; | ||
} | } | ||
+ | |||
+ | addCustomButton('http://upload.wikimedia.org/wikipedia/commons/3/37/Btn_toolbar_commentaire.png','Comment',"<!--","-->",''); | ||
+ | addCustomButton('http://upload.wikimedia.org/wikipedia/commons/c/c8/Button_redirect.png','Redirection',"#REDIRECT [[","]]",'destination name'); | ||
+ | addCustomButton('http://upload.wikimedia.org/wikipedia/commons/b/b4/Button_category03.png','Category',"[[Category:","]]",'category name'); | ||
/* </nowiki></pre> */ | /* </nowiki></pre> */ |
Revision as of 01:55, September 29, 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; background: #ffffff url("http://img213.imageshack.us/img213/9871/ytmndbackgroundjy8.png") } /* Colors the sidebar */ .portlet { border-style: solid; border-width: 1px; border-color: #eeeeee #000000 #000000 #eeeeee; background-color: #f5f5f5; background-image: url(http://content.ytmnd.com/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 [[:Image:Wiki.png]] as logo for all modern browsers */ #p-logo a { background-image: url('http://wiki.ytmnd.com/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 !important; border: solid 1px #C0C7C0 !important; -moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px; } #p-cactions li:hover { background-color: #B0B7B0 !important; } #p-cactions li.selected { border: solid 1px #CFC8CF !important; background-color: #F0F7F0 !important; border-bottom: solid 1px #f0f7f0 !important; } #p-cactions li.selected a { background-color: transparent !important; font-weight: normal !important; } #p-cactions li a { background-color: transparent !important; font-family: "Trebuchet MS", "Helvectica", sans-serif !important; color: #000; } #p-cactions li a:hover { background-color: transparent !important; color: #000 !important; } /* colors the main section */ #content { border-style: solid; border-width: 1px; border-color: #eeeeee #000000 #000000 #eeeeee; background-color: #f5f5f5; background-image: url(http://content.ytmnd.com/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: none; } h3 { font: bold italic 14px 'Verdana', 'Arial', 'Helvetica', sans-serif; border: none; } h4 { font: bold 12px 'Verdana', 'Arial', 'Helvectica', 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%; clear: both; } #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; } /* Uppercase the search buttons */ .searchButton { text-transform: Uppercase; } /* Style site and anon notices */ #siteNotice { text-align: right; font-size: x-small; } addCustomButton('http://upload.wikimedia.org/wikipedia/commons/3/37/Btn_toolbar_commentaire.png','Comment',"<!--","-->",''); addCustomButton('http://upload.wikimedia.org/wikipedia/commons/c/c8/Button_redirect.png','Redirection',"#REDIRECT [[","]]",'destination name'); addCustomButton('http://upload.wikimedia.org/wikipedia/commons/b/b4/Button_category03.png','Category',"[[Category:","]]",'category name'); /* </nowiki></pre> */