MediaWiki:Monobook.css — различия между версиями

Материал из Librarium Elementum
Перейти к: навигация, поиск
(Создана новая страница размером /* Размещённый здесь CSS будет применяться к теме оформления Monobook */ <pre>: @imp...)
 
 
(не показано 12 промежуточных версии этого же участника)
Строка 1: Строка 1:
/* Размещённый здесь CSS будет применяться к теме оформления Monobook */
+
#content
 
+
{
/*
+
  -moz-border-radius-topleft: 1em;  
 
+
  -moz-border-radius-bottomleft: 1em;
<pre>
+
*/
+
@import "/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css&smaxage=2678400";
+
 
+
div#column-google { background-color:#ffffff; color:#000000; top: 60px; }
+
 
+
.not_patrolled { background-color: #480000; }
+
 
+
#siteNotice {
+
    padding-left: 4px;
+
    font-style: italic;
+
    font-weight: bold;
+
    text-align: center;
+
    color: white;
+
    line-height: 85%;
+
 
}
 
}
 
+
div#catlinks {
+
div.pBody
   border: 1px inset #999999;
+
{
  background-color: #2A2A2A;
+
   -moz-border-radius-topright: 1em;
   color: inherit;
+
   -moz-border-radius-bottomright: 1em;
  padding: 0;
+
 
}
 
}
 +
 +
#p-cactions li
 +
{
 +
    position: relative;
 +
    float: left;
 +
        -moz-border-radius-topleft: .5em;
 +
        -moz-border-radius-topright: .5em;
  
p.catlinks {
 
  border: 1px outset #222222;
 
  margin: 2px;
 
  padding: 7px;
 
 
}
 
}
 
+
 
+
#p-cactions li li
body {
+
{
background-image: url(/images/5/50/Background_monobook.gif);
+
    float: none;
background-repeat: repeat;
+
    display: block;
background-color: #333333;
+
    border-top: 1px solid lightgrey;
 +
    border-bottom: 1px solid lightgrey;
 +
    text-align: center;
 +
    background: #F8FCFF;
 +
    background-color: #F8FCFF;
 +
  -moz-border-radius-topleft: .0em;
 +
  -moz-border-radius-topright: .0em;
 +
  -moz-border-radius-bottomright: .0em;
 +
  -moz-border-radius-bottomleft: .0em;
 
}
 
}
 
+
#bodyContent, #content, #footer {
+
.tabmenu ul
background-color: #333333;
+
{
color: #FFFFFF;
+
    display: none;
 +
    z-index: 2;
 +
    position: relative;
 +
    top: -2px;
 +
    border-top: 1px solid #aaaaaa;
 +
    padding: 0px;
 +
    margin: 0px;
 +
    background: #F8FCFF;
 +
    background-color: grey;
 
}
 
}
 
+
#bodyContent {  
+
.tabmenu:hover ul
        background: none;  
+
{
 +
    display: block;
 
}
 
}
 
+
#content_withads {
+
.tabmenu a
    background-color: #333333;
+
{
 +
    padding: 0pt 0.8em !important;
 +
    background: #F8FCFF;
 +
    background-color: #F8FCFF;
 
}
 
}
 
+
#footer {  
+
.tabmenu ul a:hover
  z-index: 200;
+
{
 +
    font-weight: bold;
 
}
 
}
  
 
+
body.page-Заглавная_страница #t-cite,
 
+
body.page-Заглавная_страница #lastmod,
.pBody {
+
body.page-Заглавная_страница #siteSub,
background-color: #333333;
+
body.page-Заглавная_страница #contentSub,
color: #FFFFFF;
+
body.page-Заглавная_страница h1.firstHeading {
 +
  display: none !important
 
}
 
}
 
#p-logo {
 
height: 100px !important;
 
}
 
 
#column-one { padding-top: 140px !important; }
 
 
h1, h2, h3, h4, h5, h6 { color: #FFCC00; }
 
a { color: #00CCFF; }
 
a:visited { color: #0066FF; }
 
a:hover { text-decoration: underline; }
 
a.new, #p-personal a.new { color: #DD5010 !important; }
 
a.new:visited, #p-personal a.new:visited { color: #DD5010 !important; }
 
#p-cactions .new a { color: #DD5010 !important; }
 
#bodyContent a.extiw, #bodyContent a.extiw:active { color: #00CCFF; }
 
#bodyContent a.extiw:visited { color: #0066FF; }
 
#bodyContent a.external { color: #00CCFF; }
 
#bodyContent a.external:visited { color: #0066FF; }
 
#bodyContent a.stub, #bodyContent a.stub:visited { color: #FF5500; }
 
 
h1 { border-bottom: 1px solid #aaaaaa; }
 
 
/*
 
** keep the whitespace in front of the ^=, hides rule from konqueror
 
** this is css3, the validator doesn't like it when validating as css2
 
*/
 
/*
 
#bodyContent a[href ^="http://"],
 
#bodyContent a[href ^="gopher://"] {
 
    background: url("/graphics/link_external.gif") center right no-repeat;
 
}
 
#bodyContent a[href ^="https://"],
 
.link-https {
 
    background: url("/graphics/link_secure.gif") center right no-repeat;
 
    padding-right: 16px;
 
}
 
#bodyContent a[href ^="mailto:"],
 
.link-mailto {
 
    background: url("/graphics/link_mail.gif") center right no-repeat;
 
}
 
#bodyContent a[href ^="news://"],
 
#bodyContent a[href ^="nntp://"] {
 
    background: url("/graphics/link_news.gif") center right no-repeat;
 
    padding-right: 15px !important;
 
}
 
#bodyContent a[href ^="ftp://"],
 
.link-ftp {
 
    background: url("/graphics/link_ftp.gif") center right no-repeat;
 
    padding-right: 14px !important;
 
}
 
#bodyContent a[href ^="irc://"],
 
#bodyContent a[href ^="aim://"],
 
#bodyContent a[href ^="ichat://"],
 
.link-irc {
 
    background: url("/graphics/link_chat.gif")  center right no-repeat;
 
}
 
#bodyContent a[href ^="itms://"] {
 
background: url("/graphics/link_itms.gif") center right no-repeat;
 
padding-right: 14px !important;
 
}
 
*/
 
#bodyContent a.extiw, #bodyContent a.extiw:active {
 
    background: none;
 
    padding: 0;
 
}
 
#bodyContent div.noicon a {
 
background: none;
 
padding: 0;
 
}
 
 
.selected {
 
background-color: #333333;
 
color: #FFFFFF;
 
border-color: #CCCCCC;
 
}
 
 
#p-cactions ul li a {
 
background-color: #333333;
 
color: #FFFFFF;
 
}
 
 
pre {
 
background-color: transparent;
 
color: inherit;
 
border: none;
 
}
 
 
code {
 
background-color: transparent;
 
}
 
 
#footer {
 
border-top: 1px solid #aaaaaa;
 
border-bottom: 1px solid #aaaaaa;
 
min-height: 39px;
 
}
 
 
#p-personal {
 
background-color: transparent;
 
color: #00CCFF;
 
}
 
 
#p-personal a {
 
color: #00CCFF !important;
 
background-color: transparent;
 
}
 
 
#p-personal a:hover { background-color: transparent !important; }
 
 
#pagehistory li { border: 1px solid #333333; }
 
 
#pagehistory li.selected {
 
background-color: #222222;
 
border: 1px dashed #aaaaaa;
 
}
 
 
table.diff { background: #222222; }
 
td.diff-otitle { background: #282828; }
 
td.diff-ntitle { background: #282828; }
 
 
td.diff-addedline {
 
font-size: smaller;
 
background-color: #000033;
 
}
 
 
td.diff-deletedline {
 
font-size: smaller;
 
background-color: #330000;
 
}
 
 
td.diff-context {
 
background: #282828;
 
font-size: smaller;
 
}
 
 
table.grey, table.wiki-sidebar, table.browser {
 
border: 1px inset #999999;
 
background-color: #2A2A2A;
 
color: inherit;
 
}
 
 
table.grey td {
 
border: 1px outset #2A2A2A;
 
}
 
 
table.grey tr th, table.grey thead tr th {
 
color: inherit;
 
background-color: #660000;
 
border: 1px outset #660000;
 
text-align: left;
 
font-weight: bold;
 
}
 
 
th {
 
text-align: left;
 
color: #FFCC00;
 
background-color: inherit;
 
font-size: 106.25%;
 
}
 
 
td.odd {
 
background-color: #222222;
 
border: 1px outset #222222;
 
}
 
td.even {
 
border: 1px outset #333333;
 
background-color: #333333;
 
}
 
table.wiki-sidebar {
 
float: right;
 
margin-left: 5px;
 
width: 200px;
 
}
 
table.wiki-sidebar td {
 
line-height: 130%;
 
}
 
table.wiki-sidebar td.odd {
 
width: 35%;
 
font-weight: bold;
 
text-align: right;
 
}
 
table.browser {
 
width: 100%;
 
clear: both;
 
}
 
table.browser td {
 
text-align: center;
 
width: 33%;
 
background: #2A2A2A;
 
border: 1px outset #2A2A2A;
 
line-height: 130%;
 
}
 
table.browser td.topic {
 
background-color: #222222;
 
border: 1px outset #222222;
 
}
 
 
span.diffchange { color: red; }
 
tr[bgcolor] td { color: black; }
 
 
#siteSub {
 
display: block !important;
 
margin-top: -5px;
 
font-size: smaller;
 
color: white;
 
}
 
 
#contentSub {
 
color: #AAAAAA;
 
}
 
 
table.mainpage {
 
width: 100%;
 
background-color: #282828;
 
/*background-image: url(/graphics/tableborder.png);*/
 
border: 1px inset #666666;
 
}
 
 
table.mainpage tr td, table.mainpage tr th {
 
padding: 4px;
 
width: 33%;
 
}
 
 
table.mainpage tr th {
 
background: #660000;
 
text-align: center;
 
font-size: 1.2em;
 
}
 
 
/*table.mainpage tr td ul li {
 
        margin-left: -2.0em;
 
}*/
 
 
caption {
 
color: #FFCC00;
 
font-size: 1.2em;
 
text-decoration: underline;
 
}
 
 
div.header-notice, div.warning {
 
width: 90%;
 
margin: 1.0em auto 0.5em auto;
 
padding: 0 10px 0 10px;
 
text-align: left;
 
background-color: #404040;
 
border: 1px inset #999999;
 
color: #FFFFFF;
 
line-height: 120%;
 
}
 
 
div.warning {
 
color: red !important;
 
font-weight: bold;
 
}
 
 
div.notice, div.usermessage {
 
width: 90%;
 
margin: 1.0em auto 0.5em auto;
 
padding: 4px 10px 4px 10px;
 
text-align: center;
 
border: 1px solid #ffcc00;
 
background-color: #404040;
 
color: #FFFFFF;
 
line-height: 120%;
 
}
 
 
div.header-notice#fa {
 
width: auto;
 
font-size: inherit !important;
 
}
 
 
div.notice p, div.header-notice p, div.warning p {
 
line-height: 120% !important;
 
}
 
 
.floatright, .floatright span, .floatright a.image, .floatleft, .floatleft span, .floatleft a.image {
 
background-color: transparent !important;
 
border-color: transparent !important;
 
}
 
.thumb, .tright, .tleft {
 
border: 1px inset #999999 !important;
 
background-color: #2A2A2A !important;
 
}
 
 
div.thumb div a img { border: none; }
 
 
div.thumb div { background-color: #2A2A2A !important; }
 
table, td, tr {
 
background-color: transparent;
 
color: #FFFFFF;
 
}
 
td, th {
 
vertical-align: top;
 
}
 
 
div.fullImage {
 
text-align: center;
 
}
 
 
#toc {
 
background-color: #2A2A2A;
 
border: 1px inset #999999;
 
}
 
 
#toc #toctitle { background-color: transparent; }
 
 
legend {
 
background-color: #2A2A2A;
 
border: 1px solid #2f6fab;
 
color: #FFCC00;
 
}
 
 
fieldset { background-color: #2A2A2A; }
 
 
#preftoc li {
 
background-color: transparent;
 
border: 0px;
 
}
 
 
#preftoc li a { color: #00CCFF; }
 
 
#preftoc li.selected {
 
border: 1px;
 
background-color: #2A2A2A;
 
}
 
 
ol ol { list-style-type: lower-latin; }
 
 
ol ol ol { list-style-type: lower-roman; }
 
 
li#pt-userpage {
 
background: url("/graphics/user.gif") top left no-repeat !important;
 
background-repeat: no-repeat;
 
background-color: transparent !important;
 
padding-left: 20px;
 
text-transform: none;
 
}
 
 
 
table.gallery {
 
border:  none;
 
background-color: transparent;
 
}
 
 
table.gallery td {
 
background-color: transparent;
 
border: none;
 
}
 
 
div.gallerytext {
 
        background-color: #222222;
 
border: 1px outset #222222;
 
}
 
 
div.gallerybox div.thumb {
 
border: none;
 
}
 
 
ul { list-style-image: url(/images/7/7a/Bullet.png); }
 
.portlet ul { list-style-image: url(/images/7/7a/Smallbullet.png); }
 
 
 
table.popupBorderTable { background: #404040 }
 
table.popupTable { background: #404040 }
 
font.popupFont { color: white }
 
 
/* Fix for tabs --Obermeister */
 
#p-cactions li a:hover {
 
background-color: transparent;
 
}
 
#p-cactions li.selected a {
 
background-color: transparent;
 
}
 
 
/*
 
</pre>
 
*/
 

Текущая версия на 02:11, 29 апреля 2009

#content 
{ 
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
}
 
div.pBody 
{
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}
 
#p-cactions li
{
    position: relative;
    float: left;
        -moz-border-radius-topleft: .5em;
        -moz-border-radius-topright: .5em;

}
 
#p-cactions li li
{
    float: none;
    display: block;
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    text-align: center;
    background: #F8FCFF;
    background-color: #F8FCFF;
  -moz-border-radius-topleft: .0em;
  -moz-border-radius-topright: .0em;
  -moz-border-radius-bottomright: .0em;
  -moz-border-radius-bottomleft: .0em;
}
 
.tabmenu ul
{
    display: none;
    z-index: 2;
    position: relative;
    top: -2px;
    border-top: 1px solid #aaaaaa;
    padding: 0px;
    margin: 0px;
    background: #F8FCFF;
    background-color: grey;
}
 
.tabmenu:hover ul
{
    display: block;
}
 
.tabmenu a
{
    padding: 0pt 0.8em !important;
    background: #F8FCFF;
    background-color: #F8FCFF;
}
 
.tabmenu ul a:hover
{
    font-weight: bold;
}

body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #lastmod, 
body.page-Заглавная_страница #siteSub, 
body.page-Заглавная_страница #contentSub, 
body.page-Заглавная_страница h1.firstHeading {
  display: none !important
}