Polski
Osobiste
Przestrzenie nazw

Warianty
Działania

MediaWiki:Common.css

Z Tanki Online Wiki
(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
m
m (TEST)
(Nie pokazano 2 wersji utworzonych przez jednego użytkownika)

Wersja z 18:44, 28 cze 2020

/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */

.stripped_table tr:nth-child(odd) {
   background-color: #262626;
}

.stripped_table th {
   background-color:#5b5b5b !important;
}

/*====================================================*/
/*Styles for PrettySpoiler*/

.pretty-spoiler {
  padding: 0;
  margin: 0.8em 0;
}
.pretty-spoiler .title {
  text-align: center;
  height:25px;
  line-height:25px;
  color: #ccc;
  font-weight: bold;
  border: 2px solid rgba(255,255,255,0.2);
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 0.4em 0.4em 0.32em;
  cursor: pointer;
  overflow: auto;
  position: relative;
}
.pretty-spoiler .title:hover {
  /* background-color: rgba(255,255,255,0.4) !important; */
  background: radial-gradient(#5C5C6C 0%, #474A52 100%);
}
.pretty-spoiler .title-content {
  float: right;
  width: 100%;
  color: white;
}
.pretty-spoiler .title-arrow {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 7px;
  margin-top: -9px;
  height: 18px;
  width: 26px;
  background: url("images/en/1/1f/Drop_down_icon_big.png") no-repeat;
  transition: 0.5s;
}
.rotate180 {
  transition: 0.5s;
  transform:rotate(180deg);
  -webkit-transform:rotate(180deg);
  -moz-transform:rotate(180deg);
  -ms-transform:rotate(180deg);
  -o-transform:rotate(180deg);
}
.pretty-spoiler .content {
  display: none;
  padding: 10px;
  box-shadow: inset 0 10px 10px -10px black;
  border-radius: 5px;
}

/*====================================================*/

.cwcss_gradient, .grey-gradient {
  background: #5F5F5F;
  background: -moz-linear-gradient(top,rgba(117,117,117,0.81) 0%,rgba(112,112,112,0.8) 10%,rgba(107,107,107,0.8) 13%,rgba(96,96,96,0.79) 26%,rgba(80,80,80,0.78) 39%,rgba(76,76,76,0.77) 42%,rgba(74,74,74,0.77) 45%,rgba(68,68,68,0.76) 48%,rgba(29,29,29,0.72) 52%,rgba(20,20,20,0.72) 65%,rgba(18,18,18,0.72) 68%,rgba(17,17,17,0.72) 74%,rgba(22,22,22,0.72) 81%,rgba(28,28,28,0.72) 84%,rgba(46,46,46,0.74) 90%,rgba(71,71,71,0.77) 97%,rgba(86,86,86,0.78) 100%);
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(117,117,117,0.81)),color-stop(10%,rgba(112,112,112,0.8)),color-stop(13%,rgba(107,107,107,0.8)),color-stop(26%,rgba(96,96,96,0.79)),color-stop(39%,rgba(80,80,80,0.78)),color-stop(42%,rgba(76,76,76,0.77)),color-stop(45%,rgba(74,74,74,0.77)),color-stop(48%,rgba(68,68,68,0.76)),color-stop(52%,rgba(29,29,29,0.72)),color-stop(65%,rgba(20,20,20,0.72)),color-stop(68%,rgba(18,18,18,0.72)),color-stop(74%,rgba(17,17,17,0.72)),color-stop(81%,rgba(22,22,22,0.72)),color-stop(84%,rgba(28,28,28,0.72)),color-stop(90%,rgba(46,46,46,0.74)),color-stop(97%,rgba(71,71,71,0.77)),color-stop(100%,rgba(86,86,86,0.78)));
  background: -webkit-linear-gradient(top,rgba(117,117,117,0.81) 0%,rgba(112,112,112,0.8) 10%,rgba(107,107,107,0.8) 13%,rgba(96,96,96,0.79) 26%,rgba(80,80,80,0.78) 39%,rgba(76,76,76,0.77) 42%,rgba(74,74,74,0.77) 45%,rgba(68,68,68,0.76) 48%,rgba(29,29,29,0.72) 52%,rgba(20,20,20,0.72) 65%,rgba(18,18,18,0.72) 68%,rgba(17,17,17,0.72) 74%,rgba(22,22,22,0.72) 81%,rgba(28,28,28,0.72) 84%,rgba(46,46,46,0.74) 90%,rgba(71,71,71,0.77) 97%,rgba(86,86,86,0.78) 100%);
  background: -o-linear-gradient(top,rgba(117,117,117,0.81) 0%,rgba(112,112,112,0.8) 10%,rgba(107,107,107,0.8) 13%,rgba(96,96,96,0.79) 26%,rgba(80,80,80,0.78) 39%,rgba(76,76,76,0.77) 42%,rgba(74,74,74,0.77) 45%,rgba(68,68,68,0.76) 48%,rgba(29,29,29,0.72) 52%,rgba(20,20,20,0.72) 65%,rgba(18,18,18,0.72) 68%,rgba(17,17,17,0.72) 74%,rgba(22,22,22,0.72) 81%,rgba(28,28,28,0.72) 84%,rgba(46,46,46,0.74) 90%,rgba(71,71,71,0.77) 97%,rgba(86,86,86,0.78) 100%);
  background: -ms-linear-gradient(top,rgba(117,117,117,0.81) 0%,rgba(112,112,112,0.8) 10%,rgba(107,107,107,0.8) 13%,rgba(96,96,96,0.79) 26%,rgba(80,80,80,0.78) 39%,rgba(76,76,76,0.77) 42%,rgba(74,74,74,0.77) 45%,rgba(68,68,68,0.76) 48%,rgba(29,29,29,0.72) 52%,rgba(20,20,20,0.72) 65%,rgba(18,18,18,0.72) 68%,rgba(17,17,17,0.72) 74%,rgba(22,22,22,0.72) 81%,rgba(28,28,28,0.72) 84%,rgba(46,46,46,0.74) 90%,rgba(71,71,71,0.77) 97%,rgba(86,86,86,0.78) 100%);
  background: linear-gradient(to bottom,rgba(117,117,117,0.81) 0%,rgba(112,112,112,0.8) 10%,rgba(107,107,107,0.8) 13%,rgba(96,96,96,0.79) 26%,rgba(80,80,80,0.78) 39%,rgba(76,76,76,0.77) 42%,rgba(74,74,74,0.77) 45%,rgba(68,68,68,0.76) 48%,rgba(29,29,29,0.72) 52%,rgba(20,20,20,0.72) 65%,rgba(18,18,18,0.72) 68%,rgba(17,17,17,0.72) 74%,rgba(22,22,22,0.72) 81%,rgba(28,28,28,0.72) 84%,rgba(46,46,46,0.74) 90%,rgba(71,71,71,0.77) 97%,rgba(86,86,86,0.78) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cf757575',endColorstr='#c7565656',GradientType=0 );
}

.green-gradient {
  background: #aeedad;
  background: -moz-linear-gradient(top,  #aeedad 0%, #3f6b33 100%);
  background: -webkit-linear-gradient(top,  #aeedad 0%,#3f6b33 100%);
  background: linear-gradient(to bottom,  #aeedad 0%,#3f6b33 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aeedad', endColorstr='#3f6b33',GradientType=0 );
}
.red-gradient {
  background: #e5b0b0;
  background: -moz-linear-gradient(top,  #e5b0b0 0%, #965248 100%);
  background: -webkit-linear-gradient(top,  #e5b0b0 0%,#965248 100%);
  background: linear-gradient(to bottom,  #e5b0b0 0%,#965248 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5b0b0', endColorstr='#965248',GradientType=0 );
}

.bg-dark {
  background: #131313;
}
.bg-grey {
  background: #2b2b2b;
}
.bg-light {
  background: #3a3a3a;
}

.cwcss_even-rows-bgcolor tr:nth-child(even) {
  background-color: #2b2b2b;
}

div#content a.external,
div#content a.external[href ^="https://"],
.link-https {
  background: none;
  padding-right: 0;
}

/*========================================*/

.common-gradient {
    background: linear-gradient(-30deg,#393939,#b3b3b3);
}
.uncommon-gradient {
    background: linear-gradient(-30deg,#095506,#7bdf79);
}
.rare-gradient {
    background: linear-gradient(-30deg,#003c70,#67afed);
}
.epic-gradient {
    background: linear-gradient(-30deg,#410f93,#9c73dd);
}
.legendary-gradient {
    background: linear-gradient(-30deg,#af8527,#ffe2a1);
}
.special-gradient {
    background: linear-gradient(-30deg,#993719,#ffad96);
}

/*========================================*/

.table-header tr:first-child {
    background: #606060;
    text-shadow: 1px 1px 2px black;
    font-weight: bold;
}
.gray-background {
    background: radial-gradient(#4A4A5B 0%, #32363E 100%);
}

/*=========================================*/
/* Style do tabeli wyzwań */

.challenge-slider {
    overflow: auto;
    white-space: nowrap;
}
.challenge-table {
    text-align: center;
    color: white;
}
.challenge-table tr:nth-child(1) {
    height: 50px;
    font-weight: bold;
    background: rgb(255,255,255,0.4);
}
.challenge-table tr:nth-child(2) {
    height: 120px;
    background: rgb(255,255,255,0.2);
    border-top: 4px solid rgb(255,255,255,0.5);
}
.challenge-table tr:nth-child(3) {
    height: 120px;
    background: rgb(255,188,9,0.4);
    border-top: 4px solid rgb(255,188,9,0.6);
}
.challenge-table tr:nth-child(2) td {
    border-top: 4px solid rgb(255,255,255,0.5);
}
.challenge-table tr:nth-child(3) td {
    border-top: 4px solid rgb(255,188,9,0.6);
}
.challenge-180 td {
    min-width: 180px;
}
.challenge-slider::-webkit-scrollbar {
    height: 8px;
}
.challenge-slider::-webkit-scrollbar-thumb {
    background: rgb(255,255,255,0.4);
    border-radius: 4px;
    width: 75px;
}
.challenge-slider::-webkit-scrollbar-thumb:hover {
    background: rgb(255,255,255,0.5);
}
.challenge-slider::-webkit-scrollbar-track {
    background: rgb(255,255,255,0.1);
    border-radius: 4px;
}
.challenge-title {
    height: 30px;
    font-size: 20px;
    color: white;
    text-align: center;
    font-weight: bold;
    padding-top: 5px;
}

/*=========================================*/

.new-wikitable {
    color: white;
    background: radial-gradient(#4A4A5B 0%, #32363E 100%);
    margin: 10px 0;
}
.new-wikitable tr:nth-child(1) {
    background: rgb(255,255,255,0.4) !important;
    font-weight: bold;
    text-shadow: 0px 1px 3px black;
    height: 30px;
}
.new-wikitable tr:nth-child(odd) {
    background: rgb(255,255,255,0.2);
}
.new-wikitable tr:nth-child(even) {
    background: rgb(255,255,255,0.05);
}
.new-header {
    background: rgb(255,255,255,0.4) !important;
    font-weight: bold;
    text-shadow: 0px 1px 3px black;
}

/*=========================================*/

h2 {
    background: url("https://pl.tankiwiki.com/images/pl/5/5c/WhiteStrip.png") no-repeat right, radial-gradient(#5C5C6C 0%, #474A52 100%);
    width: 800px;
    height: 40px;
    font-size: 20px;
    padding: 0;
    padding-left: 15px;
    line-height: 40px;
    border: none;
    border-left: 7px solid white;
    color: white;
    margin: 0;
    margin-top: 10px;
    box-shadow: inset 15px 0 10px -15px black;
}
div#toctitle h2 {
    background: none!important;
}
.h-content {
    background: radial-gradient(#4A4A5B 0%, #32363E 100%);
    width: 802px;
    padding: 10px;
    box-shadow: inset 0 10px 10px -10px rgb(0,0,0,0.3);
    margin-bottom: 15px;
}
.h-content-table {
    background: radial-gradient(#4A4A5B 0%, #32363E 100%);
    width: 802px;
    padding: 10px;
    box-shadow: inset 0 10px 10px -10px rgb(0,0,0,0.6);
    margin-bottom: 30px;
    padding: 0;
    width: 815px;
    margin-left: 7px;
}
.h-content-table table {
    margin-top: 0;
    width: 815px;
}

/*=========================================*/

.list-header {
    background: rgb(255,255,255,0.4) !important;
    font-weight: bold;
    text-shadow: 0px 1px 3px black;
    height: 35px;
    line-height: 35px;
    font-size: 20px;
    color: white;
    text-align: center;
    padding: 0 10px;
}
.list-content {
    padding: 10px;
}

/*=========================================*/

.div-contests img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px black;
    transition: 0.3s;
}
.div-contests img {
    transition: 0.3s;
    margin: 5px 3px;
}

/*=========================================*/

.tabmenu > li {
    display: inline-block;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
    background: #333;
    border-radius: 5px;
}
.tabmenu > li.active {
    background: #999;
    color: #222;
}
.tabhighlight {
    background: rgba(255,255,255,0.15);
}


.table-modyfikacje-1 {
    width: 30%;
    float: left;
}
.table-modyfikacje-1 td {
    text-align: left;
    background: rgb(255,255,255,0.1);
    padding-left: 5px;
    font-weight: bold;
    height: 25px;
    cursor: help;
}
.table-modyfikacje-1 tr:nth-child(2) {
    height: 42px;
}
.table-modyfikacje-2 {
    width: 160%;
    margin-bottom: 5px;
}
.table-modyfikacje-2 td {
    width: 100px;
    text-align: center;
    height: 25px;
}
.table-modyfikacje-hull tr:nth-child(13) {
    height: 42px;
}
.table-upgrades {
    table-layout: fixed;
    width: 100%;
}
.table-upgrades td:nth-child(1) {
    background: rgb(255,255,255,0.2);
    font-weight: bold;
    width: 7%;
}
.table-upgrades tr:nth-last-child(1) {
    font-weight: bold;
    background: rgb(255,255,255,0.4);
    text-shadow: 0px 1px 3px black;
}

/*=========================================*/
/* Filtr zestawów */

#kit-filter fieldset {
    background: radial-gradient(rgb(255,255,255,0.15) 0%, rgb(255,255,255,0) 80%);
}
#kit-filter fieldset legend {
    font-weight: bold;
}
.kit-filter-checkbox {
    font-size: 20px;
    margin-right: 5px;
}
input.tanki-control {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    cursor: pointer;
    margin: 5px;
}
button.tanki-control {
    background: radial-gradient(rgb(255,255,255,0.15) 0%,rgb(255,255,255,0) 100%);
    border: solid 2px rgb(255,255,255,0.5);
    color: rgb(255,255,255,0.8);
    padding: 5px 10px;
    cursor: pointer;
    margin-right: 5px;
}
button.tanki-control:hover {
    background: radial-gradient(rgb(255,255,255,0.25) 0%,rgb(255,255,255,0) 100%);
}

/*=========================================*/

.navigation-table {
    margin: 20px 0;
}
.navigation-table td {
    padding: 5px;
}
.current-page {
    border-bottom: 3px solid white;
    background-color: rgb(255,255,255,0.25);
}

/*=========================================*/
/* Szablon:Przycisk */

.button-template {
    border: 3px solid rgb(255,255,255,0.3);
    border-radius: 5px;
    box-shadow: 0 0 10px darkslategray;
}
.button-template:hover {
    background: radial-gradient(#5C5C6C 0%, #474A52 100%);
    box-shadow: 0 0 20px darkslategray;
}

/*=========================================*/

hr {
    background:none;
    background-image: linear-gradient(to right, rgb(255,255,255,0), rgb(255,255,255), rgb(255,255,255,0));
}

/*=========================================*/
/* Rangi -- tabelki PD */

.ranks-exp td:nth-child(1) {
    width: 50px;
}
.ranks-exp td:nth-child(2) {
    width: 125px;
}
.ranks-exp td:nth-child(3) {
    width: 100px;
}
.ranks-exp td:nth-child(4) {
    width: 150px;
}
.ranks-items {
    font-weight: bold;
    table-layout: fixed;
}
.ranks-items td{
    position: relative;
}
.ranks-items div {
    position: absolute;
    margin-top: 53px;
    margin-left: 82px;
}

/*=========================================*/
/* Skrzynie */

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.container-box {
    padding: 5px;
    border: 3px solid rgb(255,255,255,0.2);
    display: inline-flex;
    color: white;
}
.container-items {
    width: 400px;
    display: inline-block;
    overflow: scroll;
    overflow-x: hidden;
}
.container-info {
    width: 380px;
    margin-left: 10px;
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
}
.container-title {
    width: 100%;
    height: 50px;
    background: linear-gradient(to right, rgb(255,255,255,0) 0%, rgb(255,255,255,0.1) 20%, rgb(255,255,255,0.1) 80%, rgb(255,255,255,0) 100%);
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}
.container-image {
    width: 100%;
    max-height: 250px;
    background: linear-gradient(to right, rgb(255,255,255,0) 0%, rgb(255,255,255,0.3) 20%, rgb(255,255,255,0.3) 80%, rgb(255,255,255,0) 100%);
}
.container-description {
    max-width: 100%;
    min-height: 60px;
    background: linear-gradient(to right, rgb(255,255,255,0) 0%, rgb(255,255,255,0.1) 20%, rgb(255,255,255,0.1) 80%, rgb(255,255,255,0) 100%);
    padding: 10px 30px;
}
.container-items::-webkit-scrollbar {
    width: 8px;
}
.container-items::-webkit-scrollbar-thumb {
    background: rgb(255,255,255,0.4);
    border-radius: 4px;
    min-height: 75px;
}
.container-items::-webkit-scrollbar-thumb:hover {
    background: rgb(255,255,255,0.5);
}
.container-items::-webkit-scrollbar-track {
    background: rgb(255,255,255,0.1);
    border-radius: 4px;
    margin: 5px 0;
}
.container-item-special {
    border-top: solid 3px rgb(255,83,9);
    background-image: url("https://tankionline.com/play/static/images/icontypes/exotic.99feb5f2.svg");
}
.container-item-legendary {
    border-top: solid 3px rgb(255,187,9);
    background-image: url("https://tankionline.com/play/static/images/icontypes/legendary.8fc7f1db.svg");
}
.container-item-epic {
    border-top: solid 3px rgb(174,136,255);
    background-image: url("https://tankionline.com/play/static/images/icontypes/epic.62012f01.svg");
}
.container-item-rare {
    border-top: solid 3px rgb(22,184,255);
    background-image: url("https://tankionline.com/play/static/images/icontypes/rare.dfa7222d.svg");
}
.container-item-uncommon {
    border-top: solid 3px rgb(191,255,86);
    background-image: url("https://tankionline.com/play/static/images/icontypes/uncommon.9bd28580.svg");
}
.container-item-common {
    border-top: solid 3px rgb(255,255,255,0.3);
    background-image: url("https://tankionline.com/play/static/images/icontypes/common.84e5a743.svg");
}
.container-item {
    width: 90px;
    height: 87px;
    background-color: rgb(255,255,255,0.15);
    background-repeat: no-repeat;
    background-size: 35%;
    margin: 3px 1px;
    display: inline-flex;
    justify-content: flex-end;
    position: relative;
}
.container-item-img {
    position: absolute;
    width: 90px;
    height: 75px;
    top: 10px;
}
.container-item-quantity {
    margin: 5px;
    font-size: 14px;
    font-weight: bold;
}