MediaWiki:Monobook.css — различия между версиями
Материал из ПокеВики
EvilCat (обсуждение | вклад) м |
EvilCat (обсуждение | вклад) |
||
Строка 81: | Строка 81: | ||
-moz-border-radius-bottomright: 12px; | -moz-border-radius-bottomright: 12px; | ||
border-left: none 0 !important; | border-left: none 0 !important; | ||
+ | } | ||
+ | |||
+ | |||
+ | table.toccolours th {background-color: #ccccff} | ||
+ | |||
+ | #userSummaryButtonsA a { | ||
+ | white-space:nowrap; | ||
+ | background: yellow; | ||
+ | border: 2px solid gold; | ||
+ | padding: 0px 2px; | ||
+ | margin: 2px; | ||
+ | cursor: pointer; | ||
+ | font-size: 80%; | ||
+ | line-height: 17px; | ||
+ | color: olive; | ||
+ | font-weight:normal; | ||
+ | } | ||
+ | #userSummaryButtonsA a:hover { | ||
+ | background: #AAAA00; | ||
+ | border: 2px solid gold; | ||
+ | color: olive; | ||
+ | text-decoration: none | ||
+ | } | ||
+ | |||
+ | /* Infobox template style */ | ||
+ | .infobox { | ||
+ | border: 1px solid #aaa; | ||
+ | background-color: #f9f9f9; | ||
+ | color: black; | ||
+ | margin: 0.5em 0 0.5em 1em; | ||
+ | padding: 0.2em; | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | } | ||
+ | .infobox td, | ||
+ | .infobox th { | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | .infobox caption { | ||
+ | font-size: larger; | ||
+ | } | ||
+ | .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; | ||
+ | } | ||
+ | |||
+ | .infobox.sisterproject { | ||
+ | width: 20em; | ||
+ | font-size: 90%; | ||
+ | } | ||
+ | |||
+ | .infobox.standard-talk { | ||
+ | border: 1px solid #c0c090; | ||
+ | background-color: #f8eaba; | ||
+ | } | ||
+ | .infobox.standard-talk.bordered td, | ||
+ | .infobox.standard-talk.bordered th { | ||
+ | border: 1px solid #c0c090; | ||
+ | } | ||
+ | |||
+ | /* styles for bordered infobox with merged rows */ | ||
+ | .infobox.bordered .mergedtoprow td, | ||
+ | .infobox.bordered .mergedtoprow th { | ||
+ | border: 0; | ||
+ | border-top: 1px solid #aaa; | ||
+ | border-right: 1px solid #aaa; | ||
+ | } | ||
+ | |||
+ | .infobox.bordered .mergedrow td, | ||
+ | .infobox.bordered .mergedrow th { | ||
+ | border: 0; | ||
+ | border-right: 1px solid #aaa; | ||
+ | } | ||
+ | |||
+ | /* Реализация шаблона Roundy */ | ||
+ | table.roundy, td.roundy | ||
+ | { | ||
+ | -moz-border-radius:10px; | ||
+ | -webkit-border-radius:10px; | ||
+ | border-radius:10px; | ||
+ | } | ||
+ | |||
+ | table.center, td.center | ||
+ | { | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | span.versiondata, span.wordvariant { display:none; } | ||
+ | |||
+ | |||
+ | body | ||
+ | { | ||
+ | background-color:#8C94DE !important; | ||
+ | } | ||
+ | div#content, #p-cactions li a, #footer | ||
+ | { | ||
+ | background-color:#B9B9F5 !important; | ||
+ | } | ||
+ | div#content | ||
+ | { | ||
+ | float:none; | ||
+ | margin-top:54px; | ||
+ | border:1px solid black; | ||
+ | margin-left:0px; | ||
+ | } | ||
+ | |||
+ | h1, h2, h3, h4, h5, h6 | ||
+ | { | ||
+ | border-color: black; | ||
+ | } | ||
+ | |||
+ | #p-logo, #pt-logout | ||
+ | { | ||
+ | display: none !important; | ||
+ | } | ||
+ | #column-one | ||
+ | { | ||
+ | position:absolute; | ||
+ | width:100%; | ||
+ | height:200px; | ||
+ | top:0px; | ||
+ | left:0px; | ||
+ | padding:0px !important; | ||
+ | margin:0px; | ||
+ | } | ||
+ | .generated-sidebar, #p-search, #p-tb, #p-navigation | ||
+ | { | ||
+ | position:relative; | ||
+ | display:inline; | ||
+ | padding:0px; | ||
+ | margin:0px; | ||
+ | } | ||
+ | .generated-sidebar h5, #p-search h5, #p-tb h5, #p-navigation h5 | ||
+ | { | ||
+ | font-weight:bold; | ||
+ | font-family:Helvetica, tahoma; | ||
+ | } | ||
+ | .pBody | ||
+ | { | ||
+ | width:130px; | ||
+ | position:absolute; | ||
+ | top:16px; | ||
+ | left:0px; | ||
+ | z-index:100; | ||
+ | display:none; | ||
+ | } | ||
+ | #p-search .pBody | ||
+ | { | ||
+ | width:200px !important; | ||
+ | text-align:left; | ||
+ | } | ||
+ | #p-search .pBody #searchInput | ||
+ | { | ||
+ | display:block; | ||
+ | width:95%; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | } | ||
+ | .generated-sidebar:hover .pBody, #p-search:hover .pBody, #p-tb:hover .pBody | ||
+ | { | ||
+ | display:block; | ||
+ | } | ||
+ | #p-personal .pBody | ||
+ | { | ||
+ | display:block; | ||
+ | position:static; | ||
+ | padding-top:15px; | ||
+ | text-align:right; | ||
+ | width:60%; | ||
+ | margin-left:auto; | ||
+ | } | ||
+ | #p-cactions .pBody | ||
+ | { | ||
+ | display:block; | ||
+ | padding:0px; | ||
+ | margin-top:20px; | ||
+ | text-align:left; | ||
+ | background-color:transparent; | ||
+ | width:100%; | ||
+ | position:static; | ||
+ | } | ||
+ | #p-cactions | ||
+ | { | ||
+ | left:10px; | ||
+ | } | ||
+ | #p-cactions li | ||
+ | { | ||
+ | border-top-color:black; | ||
+ | border-right-color:black; | ||
+ | border-left-color:black; | ||
+ | border-bottom:red 1px solid; | ||
+ | } | ||
+ | #p-cactions li.selected | ||
+ | { | ||
+ | border-top-color:white; | ||
+ | border-right-color:white; | ||
+ | border-left-color:white; | ||
+ | } | ||
+ | a | ||
+ | { | ||
+ | color:#002A67 !important; | ||
} | } |
Версия 20:37, 18 июня 2012
/* Размещённый здесь CSS будет применяться к теме оформления Monobook */ .usermessage { background: yellow repeat-x scroll left top; border: 3px solid gold; color: #FFFFFF; font-weight: bold; margin: 2em 0em 1em 0em; padding: 0.5em 1em 0.5em 1em; vertical-align: middle; } a { color: #00B000; } a:visited { color: #009000; } a:active, a.new { color:#00C000; } a.interwiki, a.external, a.extiw { color: #32CD32 !important; } body { background: #FFFFE0 } #p-lang { display: none } #p-navigation .pBody { -moz-border-radius: 0.75em; border: 2px solid gold; background: yellow; } #p-interaction .pBody { -moz-border-radius: 0.75em; border: 2px solid gold; background: yellow; } #p-tb .pBody { -moz-border-radius: 0.75em; border: 2px solid gold; background: yellow; } input[type="radio"], input[type="checkbox"] { border:none; } input[type="text"], input[type="submit"], textarea { -moz-border-radius: 0.25em; border: 2px solid Gold !important; input[type="text"], input[type="submit"], textarea, pre, #toc { -moz-border-radius: 2px; #p-cactions li { -moz-border-radius-topleft: 12px; -moz-border-radius-topright: 12px; background-color: DarkKhaki; } #p-cactions li a { background: #FFFFE0 !important; border-bottom: yellow; padding-bottom: 1px; } #p-cactions #ca-editfirst a { padding-left: .4em; padding-right: .4em; } #footer { margin-left: 13.6em; border-left: 1px solid gold; border-right: 1px solid gold; -moz-border-radius-bottomleft: 12px; -moz-border-radius-bottomright: 12px; } .pBody { -moz-border-radius-topright: 12px; -moz-border-radius-bottomright: 12px; border-left: none 0 !important; } table.toccolours th {background-color: #ccccff} #userSummaryButtonsA a { white-space:nowrap; background: yellow; border: 2px solid gold; padding: 0px 2px; margin: 2px; cursor: pointer; font-size: 80%; line-height: 17px; color: olive; font-weight:normal; } #userSummaryButtonsA a:hover { background: #AAAA00; border: 2px solid gold; color: olive; text-decoration: none } /* Infobox template style */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; } .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; } .infobox.sisterproject { width: 20em; font-size: 90%; } .infobox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .infobox.standard-talk.bordered td, .infobox.standard-talk.bordered th { border: 1px solid #c0c090; } /* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #aaa; border-right: 1px solid #aaa; } .infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; border-right: 1px solid #aaa; } /* Реализация шаблона Roundy */ table.roundy, td.roundy { -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; } table.center, td.center { text-align:center; } span.versiondata, span.wordvariant { display:none; } body { background-color:#8C94DE !important; } div#content, #p-cactions li a, #footer { background-color:#B9B9F5 !important; } div#content { float:none; margin-top:54px; border:1px solid black; margin-left:0px; } h1, h2, h3, h4, h5, h6 { border-color: black; } #p-logo, #pt-logout { display: none !important; } #column-one { position:absolute; width:100%; height:200px; top:0px; left:0px; padding:0px !important; margin:0px; } .generated-sidebar, #p-search, #p-tb, #p-navigation { position:relative; display:inline; padding:0px; margin:0px; } .generated-sidebar h5, #p-search h5, #p-tb h5, #p-navigation h5 { font-weight:bold; font-family:Helvetica, tahoma; } .pBody { width:130px; position:absolute; top:16px; left:0px; z-index:100; display:none; } #p-search .pBody { width:200px !important; text-align:left; } #p-search .pBody #searchInput { display:block; width:95%; margin-left:auto; margin-right:auto; } .generated-sidebar:hover .pBody, #p-search:hover .pBody, #p-tb:hover .pBody { display:block; } #p-personal .pBody { display:block; position:static; padding-top:15px; text-align:right; width:60%; margin-left:auto; } #p-cactions .pBody { display:block; padding:0px; margin-top:20px; text-align:left; background-color:transparent; width:100%; position:static; } #p-cactions { left:10px; } #p-cactions li { border-top-color:black; border-right-color:black; border-left-color:black; border-bottom:red 1px solid; } #p-cactions li.selected { border-top-color:white; border-right-color:white; border-left-color:white; } a { color:#002A67 !important; }