MediaWiki:Monobook.css
From Geofic
(Difference between revisions)
(test) |
(more testing) |
||
Line 1: | Line 1: | ||
- | / | + | //Formatting<pre> |
- | <pre> | + | @media print { .noprint { display: none}} |
- | + | ||
- | + | /* Adjust portlet boxes on left so we can fit our title on one line in IE */ | |
- | { | + | .portlet li { margin: 0px -2px 0px -2px; } |
- | + | ||
- | + | /* Bold 'edit this page' link to encourage newcomers */ | |
- | + | #ca-edit a { font-weight: bold !important; } | |
+ | |||
+ | #pt-login { | ||
+ | font-weight: bold; | ||
+ | font-size: 110%; | ||
} | } | ||
- | /* | + | /* Adjust logo positioning (change if logo changes) */ |
- | # | + | #p-logo a { |
- | . | + | position:absolute; |
- | + | top: 3px; | |
- | + | left: 0px; | |
- | + | height: 103px; | |
- | + | width: 12.2em; | |
+ | background-repeat: no-repeat; | ||
+ | background-position: 50% 5px !important; | ||
+ | } | ||
+ | #p-logo a:hover { | ||
+ | position:absolute; | ||
+ | top: 3px; | ||
+ | left: 0px; | ||
+ | height: 103px; | ||
+ | width: 12.2em; | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: 50% 5px !important; | ||
} | } | ||
- | # | + | /*Move the left column up to match (default was 160px)*/ |
- | . | + | #column-one { padding-top: 105px;} |
- | + | ||
- | + | /* Create more space to top and left of the section Edit links and put norn in it */ | |
- | + | ||
- | + | *.editsection { position: relative; top: 1em; } | |
- | + | span.editsection:hover { | |
+ | background: url(http://images.wikia.com/furry/images/9/9f/Editnorn.png) 0px 0px no-repeat; | ||
+ | padding: 16px 0px 0px 21px; | ||
+ | position: relative; | ||
+ | top: -3px; | ||
} | } | ||
- | + | /* Nyr at bottom left */ | |
- | + | #footer { background-color: white; background: url(http://images.wikia.com/furry/images/0/02/Censor_panda_nyr_button.png); | |
- | + | clear: right; | |
- | . | + | background-repeat: no-repeat; background-position: 3px 2px; |
- | + | padding-bottom: 1.24em; padding-left: 102px; | |
- | + | ||
} | } | ||
- | # | + | /* Change background of category bar */ |
- | + | #catlinks { | |
- | + | background-image: url(http://images.wikia.com/furry/images/7/72/CategoryPaws.png); | |
- | + | background-repeat: no-repeat; | |
- | + | background-position: bottom right; | |
- | + | ||
- | + | ||
} | } | ||
- | + | /* **** Begin import from Wikipedia's Common.css **** */ | |
- | . | + | |
- | + | /* let's make a class that deals with tables better Any complaints, please message Ta bu shi da yu */ | |
+ | |||
+ | table.prettytable { | ||
+ | border-collapse: collapse; | ||
+ | background: #f9f9f9; | ||
+ | margin-left: 10px; | ||
+ | margin-right: 10px; | ||
+ | margin-top: 5px; | ||
+ | margin-bottom: 5px; | ||
+ | padding: 5px; | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | |||
+ | table.prettytable td, | ||
+ | table.prettytable th | ||
+ | { | ||
+ | border: 1px solid #ccc; | ||
+ | text-align: left; | ||
} | } | ||
- | + | table.prettytable th | |
- | + | { | |
- | + | background: #FFCC99; | |
+ | font-weight: bold; | ||
+ | text-align: center; | ||
} | } | ||
- | + | /* Style for "notices" */ | |
- | + | .notice { | |
+ | text-align: justify; | ||
+ | margin: 1em; | ||
+ | padding: 0.2em; | ||
} | } | ||
- | + | #disambig { | |
- | # | + | border-top: 3px double #cccccc; |
- | + | border-bottom: 3px double #cccccc; | |
} | } | ||
+ | #spoiler { | ||
+ | border-top: 2px solid #ddd; | ||
+ | border-bottom:2px solid #ddd; | ||
+ | } | ||
+ | /* Standard talk template style */ | ||
- | + | .Talk-Notice { | |
- | + | border: 1px solid #C0C090; | |
- | + | background-color: #F8EABA; | |
- | + | margin-bottom: 3px; | |
+ | width: 85%; | ||
+ | border-spacing: 3px; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
} | } | ||
- | + | /* Make template background appear correctly on all browsers */ | |
- | + | .Talk-Notice td { | |
- | + | background: inherit; | |
- | + | ||
- | + | ||
} | } | ||
- | + | /* Merge template style */ | |
- | # | + | .messagebox { |
- | + | border: 1px solid #aaaaaa; | |
- | + | background-color: #f9f9f9; | |
+ | width: 85%; | ||
+ | margin: 0 auto 1em auto; | ||
+ | padding: .2em; | ||
+ | text-align: justify; | ||
+ | } | ||
+ | .messagebox.merge { | ||
+ | border: 1px solid #cf9fff; | ||
+ | background-color: #f5edf5; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .messagebox.cleanup { | ||
+ | border: 1px solid #9f9fff; | ||
+ | background-color: #efefff; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .messagebox.standard-talk { | ||
+ | border: 1px solid #c0c090; | ||
+ | background-color: #f8eaba; | ||
} | } | ||
- | + | .infobox { | |
+ | border: 1px solid #aaaaaa; | ||
+ | background-color: #f9f9f9; | ||
+ | margin-bottom: 0.5em; | ||
+ | margin-left: 1em; | ||
+ | padding: .2em; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | } | ||
+ | .infobox tr { | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | .infobox caption { | ||
+ | margin-left: inherit; | ||
+ | } | ||
+ | .infobox.bordered { | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | .infobox.bordered td, .infobox.bordered th { | ||
+ | border: 1px solid #aaaaaa; | ||
+ | } | ||
+ | .infobox.sisterproject { | ||
+ | width: 22em; | ||
+ | } | ||
- | + | /* **** End import **** */ | |
- | + | /* .toccolours added here because version in | |
- | + | monobook/main.css wasn't being used by the print style */ | |
- | + | .toccolours { | |
- | + | border:1px solid #aaaaaa; | |
- | + | background-color:#f9f9f9; | |
- | + | padding:5px; | |
+ | font-size: 95%; | ||
} | } | ||
- | /* | + | /* Remove padding from external links displayed without icon */ |
- | # | + | #bodyContent .plainlinks a {padding: 0 !important} |
- | + | #siteNotice { | |
- | + | margin: 0px -10px 0px -10px; | |
- | + | text-align: center; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | /* Forum formatting -Algorithm & -Splaka */ | |
- | + | .forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; } | |
- | + | .forumlist td.forum_edited a { color: black; text-decoration: none } | |
+ | .forumlist td.forum_title a { padding-left: 20px; } | ||
+ | .forumlist td.forum_title a.forum_new { font-weight: bold; background: url(http://images.wikia.com/furry/images/4/4e/Forum_new.gif) | ||
+ | center left no-repeat; padding-left: 20px; } | ||
+ | .forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; } | ||
+ | .forumlist th.forum_title { padding-left: 20px; } | ||
- | /* | + | /* Hyphen breadlinks for dynamic page list of stubs */ |
- | + | .hyphenbread ul { margin-left: 0; padding-left: 0; display: inline; border: none; } | |
- | + | .hyphenbread ul li { margin-left: 0; padding-left: 2px; border: none; list-style: none; display: inline; } | |
- | + | .hyphenbread ul li:before { content: "\\0020-\\0020"; } | |
- | + | .hyphenbread ul li:first-child:before { content: " "; } | |
- | } | + | |
- | + | /* Paint it pink! */ | |
- | border: 1px outset # | + | /* Available for future reference |
- | + | td.even { | |
- | + | border: 1px outset #fee4fc; | |
+ | background-color: #fee4fc; | ||
} | } | ||
+ | .pBody,pre,div#catlinks,table.diff,td.diff-context,#toc,#toc #toctitle,#toc td,.infobox, #infobox td { background-color: #f8d8f5} | ||
+ | #p-personal a:hover { background-color: #f8d8f5 !important} | ||
+ | code,#column-google,table.diff,td.diff-otitle,td.diff-ntitle,table.grey,table.wiki-sidebar,table.browser,body,#bodyContent,#content,#footer,#content_withads, .selected,#p-cactions ul li a,table,td,tr,#p-personal,#p-personal a,#preftoc li {background-color: #fee4fc;} | ||
+ | .floatright, .floatright span, .floatright a.image, .floatleft, .floatleft span, .floatleft a.image { | ||
+ | background-color: transparent !important; | ||
+ | border-color: transparent !important; | ||
+ | } | ||
+ | .thumb, .tright, .tleft { | ||
+ | border-color: #fee4fc !important; | ||
+ | background-color: #fee4fc !important; | ||
+ | } | ||
+ | div.thumb div a img { border: none; } | ||
+ | div.thumb div { background-color: #f8d8f5 !important; } | ||
+ | #pagehistory li { border: 1px solid #fee4fc; } | ||
+ | #pagehistory li.selected { | ||
+ | background-color: #f8d8f5; | ||
+ | border: 1px dashed #fee4fc; | ||
+ | } | ||
+ | |||
+ | /* Classes for MU logos */ | ||
+ | pre.MU-logo { float:right; font-size:5pt; line-height: 5pt; padding-left: 5px; padding:0px; border:none; background-color:transparent;} | ||
- | |||
- | |||
*/ | */ | ||
+ | //Formatting</pre> |
Revision as of 08:01, 5 April 2007
//Formatting<pre> @media print { .noprint { display: none}} /* Adjust portlet boxes on left so we can fit our title on one line in IE */ .portlet li { margin: 0px -2px 0px -2px; } /* Bold 'edit this page' link to encourage newcomers */ #ca-edit a { font-weight: bold !important; } #pt-login { font-weight: bold; font-size: 110%; } /* Adjust logo positioning (change if logo changes) */ #p-logo a { position:absolute; top: 3px; left: 0px; height: 103px; width: 12.2em; background-repeat: no-repeat; background-position: 50% 5px !important; } #p-logo a:hover { position:absolute; top: 3px; left: 0px; height: 103px; width: 12.2em; background-repeat: no-repeat; background-position: 50% 5px !important; } /*Move the left column up to match (default was 160px)*/ #column-one { padding-top: 105px;} /* Create more space to top and left of the section Edit links and put norn in it */ *.editsection { position: relative; top: 1em; } span.editsection:hover { background: url(http://images.wikia.com/furry/images/9/9f/Editnorn.png) 0px 0px no-repeat; padding: 16px 0px 0px 21px; position: relative; top: -3px; } /* Nyr at bottom left */ #footer { background-color: white; background: url(http://images.wikia.com/furry/images/0/02/Censor_panda_nyr_button.png); clear: right; background-repeat: no-repeat; background-position: 3px 2px; padding-bottom: 1.24em; padding-left: 102px; } /* Change background of category bar */ #catlinks { background-image: url(http://images.wikia.com/furry/images/7/72/CategoryPaws.png); background-repeat: no-repeat; background-position: bottom right; } /* **** Begin import from Wikipedia's Common.css **** */ /* let's make a class that deals with tables better Any complaints, please message Ta bu shi da yu */ table.prettytable { border-collapse: collapse; background: #f9f9f9; margin-left: 10px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px; padding: 5px; vertical-align: top; } table.prettytable td, table.prettytable th { border: 1px solid #ccc; text-align: left; } table.prettytable th { background: #FFCC99; font-weight: bold; text-align: center; } /* Style for "notices" */ .notice { text-align: justify; margin: 1em; padding: 0.2em; } #disambig { border-top: 3px double #cccccc; border-bottom: 3px double #cccccc; } #spoiler { border-top: 2px solid #ddd; border-bottom:2px solid #ddd; } /* Standard talk template style */ .Talk-Notice { border: 1px solid #C0C090; background-color: #F8EABA; margin-bottom: 3px; width: 85%; border-spacing: 3px; margin-left: auto; margin-right: auto; } /* Make template background appear correctly on all browsers */ .Talk-Notice td { background: inherit; } /* Merge template style */ .messagebox { border: 1px solid #aaaaaa; background-color: #f9f9f9; width: 85%; margin: 0 auto 1em auto; padding: .2em; text-align: justify; } .messagebox.merge { border: 1px solid #cf9fff; background-color: #f5edf5; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; margin-bottom: 0.5em; margin-left: 1em; padding: .2em; float: right; clear: right; } .infobox tr { vertical-align: top; } .infobox caption { margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaaaaa; } .infobox.sisterproject { width: 22em; } /* **** End import **** */ /* .toccolours added here because version in monobook/main.css wasn't being used by the print style */ .toccolours { border:1px solid #aaaaaa; background-color:#f9f9f9; padding:5px; font-size: 95%; } /* Remove padding from external links displayed without icon */ #bodyContent .plainlinks a {padding: 0 !important} #siteNotice { margin: 0px -10px 0px -10px; text-align: center; } /* Forum formatting -Algorithm & -Splaka */ .forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; } .forumlist td.forum_edited a { color: black; text-decoration: none } .forumlist td.forum_title a { padding-left: 20px; } .forumlist td.forum_title a.forum_new { font-weight: bold; background: url(http://images.wikia.com/furry/images/4/4e/Forum_new.gif) center left no-repeat; padding-left: 20px; } .forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; } .forumlist th.forum_title { padding-left: 20px; } /* Hyphen breadlinks for dynamic page list of stubs */ .hyphenbread ul { margin-left: 0; padding-left: 0; display: inline; border: none; } .hyphenbread ul li { margin-left: 0; padding-left: 2px; border: none; list-style: none; display: inline; } .hyphenbread ul li:before { content: "\\0020-\\0020"; } .hyphenbread ul li:first-child:before { content: " "; } /* Paint it pink! */ /* Available for future reference td.even { border: 1px outset #fee4fc; background-color: #fee4fc; } .pBody,pre,div#catlinks,table.diff,td.diff-context,#toc,#toc #toctitle,#toc td,.infobox, #infobox td { background-color: #f8d8f5} #p-personal a:hover { background-color: #f8d8f5 !important} code,#column-google,table.diff,td.diff-otitle,td.diff-ntitle,table.grey,table.wiki-sidebar,table.browser,body,#bodyContent,#content,#footer,#content_withads, .selected,#p-cactions ul li a,table,td,tr,#p-personal,#p-personal a,#preftoc li {background-color: #fee4fc;} .floatright, .floatright span, .floatright a.image, .floatleft, .floatleft span, .floatleft a.image { background-color: transparent !important; border-color: transparent !important; } .thumb, .tright, .tleft { border-color: #fee4fc !important; background-color: #fee4fc !important; } div.thumb div a img { border: none; } div.thumb div { background-color: #f8d8f5 !important; } #pagehistory li { border: 1px solid #fee4fc; } #pagehistory li.selected { background-color: #f8d8f5; border: 1px dashed #fee4fc; } /* Classes for MU logos */ pre.MU-logo { float:right; font-size:5pt; line-height: 5pt; padding-left: 5px; padding:0px; border:none; background-color:transparent;} */ //Formatting</pre>