MediaWiki:Common.css

Материал из Wiki Grepolis RU
Перейти к навигации

Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
  • Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
  • Internet Explorer / Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
  • Opera: Нажмите Ctrl+F5.
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
p {text-align:justify;}
ul {text-align:justify;}
ul li {text-align:justify;}
ul li p {text-align:justify;}
.invisible {display:none;}

table.struct {margin-left:5%; width:90%; cellpadding:2px; margin-top:10px; backgroud:#feb; border-radius:8px; border:2px solid black; text-align:center;}
table.struct th {background:#edb; border-top:1px solid grey; border-right:1px solid grey; padding: 8px 0px 8px 0px;}
table.struct td {background:#feb; border-top:1px solid grey;}

table.t1 {backgroud:#feb; border-radius:8px; border:2px solid black; text-align:center;}
table.t1 th {background:#edb; border-top:1px solid grey; border-right:1px solid grey; padding: 8px 0px 8px 0px;}
table.t1 td {background:#feb; border-top:1px solid grey; text-align:jusity;}

/* navigation menu */
table.t2 {border-collapse:collapse; border:1px solid grey; margin-top:10px; font-size:80%; text-align:left;}
table.t2 th {background:#edb; text-align:right; padding-right:4px; border-right:1px solid grey;}
table.t2 td {background:#eee; border-bottom:1px solid grey; padding-left:8px;}

/* my menu */
.mn {width:140px; position:relative; z-index:10;}
.mn ul {padding:0; margin:0;}
.mn ul li {position:relative; margin-top:0; margin-bottom:0; border:0;}
.mn ul li p {margin-top:0; margin-bottom:0; display:block; width:135px; height:18px; text-align:left; font-color:black; font-size:12px; overflow:hidden;}
.mn ul li ul {display: none;}
.mn ul li ul li ul {display: none;}

.mn ul li:hover li ul {display: none;}
.mn ul li:hover p {background:#ef8;}
.mn ul li:hover p.title {background:#ccc;}
.mn ul li:hover ul {display:block; position:absolute; top:0px; left:128px; width:180px; z-index:11; border-left:2px solid #cba; border-right:2px solid #cba;}
.mn ul li:hover ul li {display:block; width:180px; height:20px; text-align:left; background:#eda;}
.mn ul li:hover ul li p {padding-left:4px; margin-top:0; margin-bottom:0; display:block; text-decoration:none; width:180px; height:20px; text-align:left; font-color:black; background:#eda;}
.mn ul li:hover ul li:hover p {background:#dca;}
.mn ul li:hover ul li:hover p.title {background:#ccc;}

.mn ul li:hover ul li:hover ul {display:block; position:absolute; top:0px; left:176px; width:180px; z-index:11; border-left:2px solid #cba; border-right:2px solid #cba; background:#eda;}
.mn ul li:hover ul li:hover ul li {display:block; width:180px; height:20px; text-align:left; background:#eda;}
.mn ul li:hover ul li:hover ul li p {padding-left:4px; margin-top:0; margin-bottom:0; display:block; text-decoration:none; width:180px; height:20px; text-align:left; font-color:black; background:#eda;}
.mn ul li:hover ul li:hover ul li:hover p {background:#dca;}
.mn ul li:hover ul li:hover ul li:hover p.title {background:#ccc;}

/* table list */
span.tl ol {list-style-type:none; padding:0; margin:0; width:100%; background:#eef; border:0}
span.tl ol li {border-bottom:1px solid #ccf; border-right:1px solid #ccf;}
span.tl ol li:hover {background:#ddf;}
span.tl ol li.ttl {background:#cbe; border-bottom:1px solid grey; border-right:1px solid grey;}
span.tl ol li.cp {background:#feb; border-right:0;}

/* navigation menu */
.jnav { -webkit-border-radius: 0.3em; -moz-border-radius: 0.3em; border-radius: 0.3em; margin: 0 0.25em 0.2em; font-size: 13px; border: 0 !important; -webkit-box-shadow: 0 0 20px -3px grey; -moz-box-shadow: 0 0 20px -3px grey; box-shadow: 0 0 20px -3px grey; padding:0.15em 0.4em; white-space: nowrap }
.jnav a:hover { text-decoration: none !important }
.jnav a:visited { color: #002BB8 !important }
#jnav-container { text-align:center; line-height: 1.8 }
.jnav-inactive { background-color: #F0F0F0 }
.jnav-active { background-color: moccasin }
 
.znav-wrapper { margin-top:1.4em }
.znav-body { clear:both; background:rgb(242,242,242); width:100%; -webkit-border-radius: 0.4em 0.4em 0.4em 0.4em; -moz-border-radius: 0.4em 0.4em 0.4em 0.4em; border-radius: 0.4em 0.4em 0.4em 0.4em }
.znav-header { text-align:center; background-color:#f0f0f0; -webkit-border-radius: 0.4em; -moz-border-radius: 0.4em; border-radius: 0.4em; -webkit-box-shadow: 0 0 22px -4px darkgrey; -moz-box-shadow: 0 0 22px -4px darkgrey; box-shadow: 0 0 22px -4px darkgrey }
.znav-header-text { font-size: 115%; font-weight: bold }
Подробнее: http://wikireality.ru/wiki/MediaWiki:Common.css
#document-wrapper
{
max-width: 1200px;
}
.tribal-button 
{ 
background-color: black; 
}

.tribal-borderbox #contentheader #pt-logout a 
{ margin-right: 2px; 
}

.tribal-borderbox .with-button .tribal-button 
{ width: 21%; 
}
#toc, #toctitle
{ width: 98%; 
}
.toc
{
width: 98%; 
}