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

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

Перейти к: навигация, поиск
Версия 19:28, 13 июня 2023Версия 04:38, 14 июня 2023
Строка 1:Строка 1:
 .tankflag { .tankflag {
? display: block;+ display: block;
? background-image: url("https://wiki-cdn.lesta.ru/images/2/2f/Фон_флаги.png");+ background-image: url("https://wiki-cdn.lesta.ru/images/2/2f/Фон_флаги.png");
? background-position: 0px 0px;+ background-position: 0px 0px;
? height: 100px;+ height: 100px;
? width: 160px;+ width: 160px;
? margin: 0px;+ margin: 0px;
? padding: 0px;+ padding: 0px;
 } }
  
 .cellitem { .cellitem {
? display:inline-block;+ display: inline-block;
? position:relative;+ position: relative;
? width:54px;+ width: 54px;
? height:48px;+ height: 48px;
? padding: 0px;+ padding: 0px;
? margin: 0px;+ margin: 0px;
? vertical-align:middle;+ vertical-align: middle;
? text-align:center;+ text-align: center;
 } }
?.cellitem > div{+.cellitem>div {
? position:absolute;+ position: absolute;
? background-color: transparent;+ background-color: transparent;
? text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;+ text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
? font: 12px "Roboto Condensed";+ font: 12px "Roboto Condensed";
? color: #EEEEEE;+ color: #EEEEEE;
 } }
  
?.chartable{+.chartable {
? width:100%;+ width: 100%;
? background: none;+ padding: 0px;
? & th {+ margin: 0px;
? background-color: red;+ box-sizing: border-box;
? color: yellow;+ border-collapse: separate;
? }+ border-spacing: 1px;
 + text-indent: 0px;
 +}
 +.chartable th {
 + background: #DDDDDD;
 + width: 8%;
 + padding: 0px 10px;
 + vertical-align: middle;
 +}
 +.chartable th:first-child {
 + background: #DDDDDD;
 + width: 50px;
 + padding: 0px;
 + vertical-align: middle;
 +}
 +.chartable th:last-child {
 + background: #DDDDDD;
 + width: auto;
 + text-indent: 10px;
 + vertical-align: middle;
 +}
 +.chartable td {
 + background: #FFFFFF;
 + vertical-align: middle;
 + text-align: center;
 +}
 +.chartable td:last-child {
 + background: none;
 + vertical-align: top;
 + text-align: left;
 } }

Версия 04:38, 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;
}

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