Polski
Osobiste
Przestrzenie nazw

Warianty
Działania

MediaWiki:Common.css

Z Tanki Online Wiki
(Różnice między wersjami)
Skocz do: nawigacji, wyszukiwania
m
Linia 271: Linia 271:
 
.div-contests img {
 
.div-contests img {
 
     transition: 0.3s;
 
     transition: 0.3s;
     margin: 3px;
+
     margin: 5px 3px;
}
+
.div-contests {
+
    display: flex;
+
    justify-content: center;
+
 
}
 
}

Wersja z 14:27, 7 lis 2019

/* 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;
}

/*========================================*/
/* Rzadkości farb */

.common {
    background: #999;
}
.uncommon {
    background: #489e46;
}
.rare {
    background: #2990e8;
}
.epic {
    background: #7443c3;
}
.legendary {
    background: #cca651;
}

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

.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);
}
.challenge-table tr:nth-child(3) {
    height: 120px;
    background: rgb(255,188,9,0.4);
}
.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;
}
.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: 15px;
    box-shadow: inset 15px 0 10px -15px black;
}
.h-content {
    background: radial-gradient(#4A4A5B 0%, #32363E 100%);
    width: 802px;
    padding: 10px;
    box-shadow: inset 0 10px 10px -10px black;
    margin-bottom: 30px;
}

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

.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;
}