Добро пожаловать на Lesta Games Wiki!

Участник:_DiWoD_:ru/common.css — различия между версиями

Перейти к: навигация, поиск
Версия 05:14, 14 июня 2023Версия 05:50, 14 июня 2023
Строка 36:Строка 36:
  text-indent: 0px;  text-indent: 0px;
 } }
?table.chartable > th {+table.chartable > tbody > tr > th {
  background: #DDDDDD;  background: #DDDDDD;
  width: 8%;  width: 8%;
Строка 42:Строка 42:
  vertical-align: middle;  vertical-align: middle;
 } }
?table.chartable > th:first-child {+table.chartable > tbody > tr > th:first-child {
  background: #DDDDDD;  background: #DDDDDD;
  width: 50px;  width: 50px;
Строка 48:Строка 48:
  vertical-align: middle;  vertical-align: middle;
 } }
?table.chartable > th:last-child {+table.chartable > tbody > tr > th:last-child {
  background: #DDDDDD;  background: #DDDDDD;
  width: auto;  width: auto;
Строка 54:Строка 54:
  vertical-align: middle;  vertical-align: middle;
 } }
?table.chartable > td {+table.chartable > tbody > tr > td {
  background: #FFFFFF;  background: #FFFFFF;
? vertical-align: middle; 
  text-align: center;  text-align: center;
 } }
?table.chartable > td:last-child {+table.chartable > tbody > tr > td:last-child {
  background: none;  background: none;
  vertical-align: top;  vertical-align: top;
Строка 65:Строка 64:
 } }
  
?table.modulecharlist {+.modulecharlist {
  white-space: nowrap;  white-space: nowrap;
  background-image: url("https://wiki-cdn.lesta.ru/images/4/4d/ModuleBG.png");  background-image: url("https://wiki-cdn.lesta.ru/images/4/4d/ModuleBG.png");
Строка 71:Строка 70:
  font: 13px Roboto;  font: 13px Roboto;
 } }
?table.modulecharlist span {+.modulecharlist > tbody > tr {
? color: #FFFFFF50;+
?}+
?table.modulecharlist tr {+
  color: #FFFFFF80;  color: #FFFFFF80;
  height: 30px;  height: 30px;
  margin: 0px;  margin: 0px;
 } }
?table.modulecharlist td {+.modulecharlist > tbody > tr > td > * {
  vertical-align: middle;  vertical-align: middle;
? margin: 0px; 
? padding: 0px 0px 0px 3px; 
 } }
?table.modulecharlist td:nth-child(2) {+.modulecharlist > tbody > tr > td > span {
 + vertical-align: middle;
 + color: #FFFFFF50;
 +}
 +.modulecharlist > tbody > tr > td:nth-child(2) {
  text-align: center;  text-align: center;
  font: 14px "Roboto Condensed";  font: 14px "Roboto Condensed";
  white-space: nowrap;  white-space: nowrap;
?} 
?table.modulecharlist-header { 
? font: 14px Roboto; 
 } }

Версия 05:50, 14 июня 2023

.tankflag {
    display: block;
    background-image: url("https://wiki-cdn.lesta.ru/images/2/2f/Фон_флаги.png");
    background-position: 0px 0px;
    height: 100px;
    width: 160px;
    margin: 0px;
    padding: 0px;
}

.cellitem {
    display: inline-block;
    position: relative;
    width: 54px;
    height: 48px;
    padding: 0px;
    margin: 0px;
    vertical-align: middle;
    text-align: center;
}
.cellitem>div {
    position: absolute;
    background-color: transparent;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
    font: 12px "Roboto Condensed";
    color: #EEEEEE;
}

table.chartable {
    width: 100%;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    border-collapse: separate;
    border-spacing: 1px;
    text-indent: 0px;
}
table.chartable > tbody > tr > th {
    background: #DDDDDD;
    width: 8%;
    padding: 0px 10px;
    vertical-align: middle;
}
table.chartable > tbody > tr > th:first-child {
    background: #DDDDDD;
    width: 50px;
    padding: 0px;
    vertical-align: middle;
}
table.chartable > tbody > tr > th:last-child {
    background: #DDDDDD;
    width: auto;
    text-indent: 10px;
    vertical-align: middle;
}
table.chartable > tbody > tr > td {
    background: #FFFFFF;
    text-align: center;
}
table.chartable > tbody > tr > td:last-child {
    background: none;
    vertical-align: top;
    text-align: left;
}

.modulecharlist  {
    white-space: nowrap;
    background-image: url("https://wiki-cdn.lesta.ru/images/4/4d/ModuleBG.png");
    margin: 0px;
    font: 13px Roboto;
}
.modulecharlist > tbody > tr {
    color: #FFFFFF80;
    height: 30px;
    margin: 0px;
}
.modulecharlist > tbody > tr > td > * {
    vertical-align: middle;
}
.modulecharlist > tbody > tr > td > span {
    vertical-align: middle;
    color: #FFFFFF50;
}
.modulecharlist > tbody > tr > td:nth-child(2) {
    text-align: center;
    font: 14px "Roboto Condensed";
    white-space: nowrap;
}