Difference between revisions of "MediaWiki:Monobook.css"
From TheBookbag
Jump to navigationJump to searchm (1 revision) |
Sophivorus (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
/* edit this file to customize the monobook skin for the entire site */ | /* edit this file to customize the monobook skin for the entire site */ | ||
− | body | + | body { |
− | { | + | font-family: "verdana", "trebuchet ms", "arial", sans-serif; |
− | font-family: "verdana", "trebuchet ms", "arial", sans-serif; } | + | background: #f9f9f9 url(/background.jpg?78766) 0 0 no-repeat |
+ | } | ||
+ | h2 { | ||
+ | padding-bottom: 7px; | ||
+ | } | ||
+ | p { | ||
+ | background-color: #ffffff; | ||
+ | color: #000000; | ||
+ | font-size: 95%; | ||
+ | padding-bottom: 5px; | ||
+ | } | ||
+ | |||
+ | a:link { color: #4169E1; } /* Unvisited link */ | ||
+ | a:visited { color: #1E90FF; } /* Visited link */ | ||
+ | a:hover { color:#000080; } /* Mouse over link */ | ||
+ | a:active { color: #3CB371; } /* Selected link */ | ||
+ | a.new { color: #ba0000 !important; } /* Red link */ | ||
− | + | #ca-nstab-mediawiki, | |
− | + | #ca-view, | |
− | + | #ca-talk, | |
− | + | #pt-mytalk { | |
− | + | display: none !important; | |
} | } | ||
− | + | #p-ad .pBody { | |
− | + | padding: 0; | |
− | + | } | |
− | + | #p-ad img { | |
− | + | width: 100%; | |
+ | } | ||
/* Infobox template style */ | /* Infobox template style */ | ||
.infobox { | .infobox { | ||
− | + | border: 1px solid #aaa; | |
− | + | background-color: #f9f9f9; | |
− | + | color: black; | |
− | + | margin-bottom: 0.5em; | |
− | + | margin-left: 1em; | |
− | + | padding: 0.2em; | |
− | + | float: right; | |
− | + | clear: right; | |
} | } | ||
.infobox td, | .infobox td, | ||
.infobox th { | .infobox th { | ||
− | + | vertical-align: top; | |
} | } | ||
.infobox caption { | .infobox caption { | ||
− | + | font-size: larger; | |
− | + | margin-left: inherit; | |
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
− | + | border-collapse: collapse; | |
} | } | ||
.infobox.bordered td, | .infobox.bordered td, | ||
.infobox.bordered th { | .infobox.bordered th { | ||
− | + | border: 1px solid #aaa; | |
} | } | ||
.infobox.bordered .borderless td, | .infobox.bordered .borderless td, | ||
.infobox.bordered .borderless th { | .infobox.bordered .borderless th { | ||
− | + | border: 0; | |
} | } | ||
− | .firstHeading {padding-bottom :15px;} | + | .firstHeading { |
− | + | padding-bottom :15px; | |
− | .floatright { float: right; | + | } |
− | clear: both; | + | .floatright { |
+ | float: right; | ||
+ | clear: both; | ||
+ | } | ||
+ | .floatleft { | ||
+ | float:left; | ||
+ | clear: both; | ||
} | } | ||
− | . | + | .newreview { |
− | + | min-height: 250px; | |
− | |||
− | |||
} | } | ||
− | + | .matched_ad_div { | |
− | + | float: right; | |
− | .matched_ad_div | + | clear: both; |
− | |||
− | clear: both; | ||
} | } |
Latest revision as of 12:25, 27 June 2020
/* edit this file to customize the monobook skin for the entire site */ body { font-family: "verdana", "trebuchet ms", "arial", sans-serif; background: #f9f9f9 url(/background.jpg?78766) 0 0 no-repeat } h2 { padding-bottom: 7px; } p { background-color: #ffffff; color: #000000; font-size: 95%; padding-bottom: 5px; } a:link { color: #4169E1; } /* Unvisited link */ a:visited { color: #1E90FF; } /* Visited link */ a:hover { color:#000080; } /* Mouse over link */ a:active { color: #3CB371; } /* Selected link */ a.new { color: #ba0000 !important; } /* Red link */ #ca-nstab-mediawiki, #ca-view, #ca-talk, #pt-mytalk { display: none !important; } #p-ad .pBody { padding: 0; } #p-ad img { width: 100%; } /* Infobox template style */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } .firstHeading { padding-bottom :15px; } .floatright { float: right; clear: both; } .floatleft { float:left; clear: both; } .newreview { min-height: 250px; } .matched_ad_div { float: right; clear: both; }