Разница между страницами «Заглавная страница» и «MediaWiki:Common.css»

Материал из War Thunder Wiki
(Различия между страницами)
Перейти к: навигация, поиск
 
 
Строка 1: Строка 1:
__NOTITLE__ __NOTOC__ __NOEDITSECTION__
+
/* Код главной страницы */
Добро пожаловать в энциклопедию об игровом мире [[War Thunder - ключевые особенности|War Thunder]] — кросс-платформенной военной онлайн-игры для PC, PS4, Mac и Linux, посвященной боевой авиации и бронетехнике времен Второй мировой и Корейской войны. Здесь вы можете не только узнать об игровой механике и о применении техники в виртуальных боях, но и об истории создания знаменитых танков и самолётов. В настоящее время на вики уже {{NUMBEROFARTICLES}} статей. Приятного чтения!
+
.wt-index-main {
 +
    position: relative;
 +
    line-height: 1.6;
 +
}
  
<center>
+
.wt-index-img-main img {
{| width="100%" cellspacing="20px"
+
    width: 100%;
|width="33%"|<div class="wt-index-main"><div class="wt-index-img-main">[[Файл:Img plane.png|ссылка=Авиация]]</div><span class="wt-index-img-main-text">[[Авиация|АВИАЦИЯ]]</span></div>
+
    min-width: 220px;
|width="33%"|<div class="wt-index-main"><div class="wt-index-img-main">[[Файл:Img tank.png|ссылка=Наземная техника]]</div><span class="wt-index-img-main-text">[[Наземная техника|НАЗЕМНАЯ ТЕХНИКА]]</span></div>
+
    height: auto;
|width="33%"|<div class="wt-index-main"><div class="wt-index-img-main">[[Файл:Img ship.png|ссылка=Флот]]</div><span class="wt-index-img-main-text">[[Флот|ФЛОТ]]</span></div>
+
}
|}
+
 
</center>
+
.wt-index-img-main-text a {
----
+
    position: absolute;
 +
    bottom: 0px;
 +
    left: 0px;
 +
    display: block;
 +
    padding: 9px 0;
 +
    font-size: 25px;
 +
    background-color: rgba(0,0,0,0.25);
 +
    width: 100%;
 +
    text-align: center;
 +
    text-transform: uppercase;
 +
    white-space: nowrap;
 +
    min-width: 220px;
 +
    color: #f7f7f7;
 +
}
 +
 
 +
.wt-index-img-main-text:hover a {
 +
    color: #d50000;
 +
}
 +
 
 +
.wt-index-img-main-text a:visited {
 +
    color: #d50000;
 +
}
 +
 
 +
.wt-ul-container th {
 +
    color: #546e7a;
 +
    font-size: 18px;
 +
    margin: 5px;
 +
    font-weight: normal;
 +
}

Версия 19:07, 13 апреля 2018

/* Код главной страницы */
.wt-index-main {
    position: relative;
    line-height: 1.6;
}

.wt-index-img-main img {
    width: 100%;
    min-width: 220px;
    height: auto;
}

.wt-index-img-main-text a {
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: block;
    padding: 9px 0;
    font-size: 25px;
    background-color: rgba(0,0,0,0.25);
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    min-width: 220px;
    color: #f7f7f7;
}

.wt-index-img-main-text:hover a {
    color: #d50000;
}

.wt-index-img-main-text a:visited {
    color: #d50000;
}

.wt-ul-container th {
    color: #546e7a;
    font-size: 18px;
    margin: 5px;
    font-weight: normal;
}