MediaWiki:Mobile.css

From Paladins Wiki
Jump to: navigation, search

In other languages: Русский


Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the mobile site */
/* Header and footer */
.header-container.header-chrome,
#mw-mf-page-center {
    background: #212121;
}

.nomobile {
    display: none;
}

.client-js .toc-mobile {
    background-color: rgba(0, 0, 0, 0) !important;
    border: 1px solid #505050 !important;
}

/*****************
/* Tabber styles *
/*****************/

.mw-body .tabberlive {
    display: inline-table;
}

.mw-body .tabberlive .tabbertab {
    background: none;
    border: 0;
}

.mw-body ul.tabbernav {
    border: 0;
    padding-right: 3px;
}

.mw-body ul.tabbernav li a,
.mw-body ul.tabbernav li a:link,
.mw-body ul.tabbernav li a:visited,
.mw-body ul.tabbernav li a:hover {
    display: inline-block;
    margin-bottom: 3px;
    background-image: linear-gradient(to bottom,#172D37 0%,#233E4D 100%);
    border-color: #1b4c5b;
    color: white;
    border-radius: .5em .5em 0 0;
}

.mw-body ul.tabbernav li.tabberactive a,
.mw-body ul.tabbernav li.tabberactive a:link,
.mw-body ul.tabbernav li.tabberactive a:visited,
.mw-body ul.tabbernav li.tabberactive a:hover {
    background: none;
}

/* AudioButton styles */
a.ext-audiobutton {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background-color: #42CCD2;
    background-size: 10px 10px;
    background-repeat: no-repeat;
    background-position: 3px 50%;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-top: -1px;
}

a.ext-audiobutton[ data-state='play' ],
a.ext-audiobutton[ data-state='play' ]:before {
    background-image: url(https://paladins.gamepedia.com/media/c/c5/Sm2playbutton.png);
    content: '';
}

a.ext-audiobutton[ data-state='pause' ],
a.ext-audiobutton[ data-state='pause' ]:before {
    background-image: url(https://paladins.gamepedia.com/media/7/78/AudioButtonPauseButton.png);
    background-color: #7ADBDF;
    content: '';
}

a.ext-audiobutton[ data-state='error' ],
a.ext-audiobutton[ data-state='error' ]:before {
    background-image: url(https://paladins.gamepedia.com/media/3/34/AudioButtonErrorButton.png);
    content: '';
}

/* Fixes for defaults from Mobile Frontend */
/* Tables without classes should not have borders or backgrounds that are then inherited by tables that do have classes. */
table,
table > tr > td,
table > tr > th, 
table > * > tr > td,
table > * > tr > th,
.content table th,
.content table td, .content table th {
    background: none;
    border-collapse: separate;
    border-spacing: 2px;
    border: none;
}

/* Tables are tables, not blocks................... */
table {
    display: table;
}

html, body, .primary-navigation-enabled {
}

body #mw-mf-page-center,
body.navigation-enabled #mw-mf-page-center {
    background-color: #5eb3d2;
    background-image: url("https://paladins.gamepedia.com/media/a/ab/BG_r19.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
}

div#content {
    background: rgba(14,25,37, 0.9);
    border: solid 1px #112f41;
    margin: .5em;
    padding: .5em;
}

a {
    color: #13C0C7;
}

a.mw-selflink {
    color: inherit;
    font-weight: bold;
    text-decoration: inherit;
}

a:visited,
a:hover {
    color: #42CCD2;
}

.mwm-notice, #searchbox {
    background: rgba(24,56,71,0.8);
    border: solid 1px #1b4c5b;
}

.content table.wikitable {
    background: none;
    border: 1px solid #1b4c5b;
    color: #fff;
}

.content table.wikitable > tr > th,
.content table.wikitable > * > tr > th {
    background-color: rgba(66,210,210,0.6);
    border: 1px solid #1b4c5b;
    color: #fff;
}

.content table.wikitable > tr > td,
.content table.wikitable > * > tr > td {
    background: none;
    border: 1px solid #1b4c5b;
    padding: 0.2em;
}

table.infobox {
    background: #222;
    background: rgba(0,0,0,.15);
    background: linear-gradient(to bottom,rgba(0,0,0,.15) 0%,rgba(0,0,0,.02) 100%);
    border: 1px solid #1b4c5b;
    border-spacing: 2px;
    width: 20em;
    float: right;
    margin: 0 0 2em 1em;
}

table.infobox > tr > td,
table.infobox > * > tr > td {
    background: none;
    padding: 0 .5em;
    text-align: right;
}

table.infobox > tr > th,
table.infobox > * > tr > th {
    background-color: rgba(66,210,210,0.6);
    padding-left: .5em;
    padding-right: .5em;
}

table.infobox > tr > th.name,
table.infobox > * > tr > th.name,
table.infobox > tr > th.title,
table.infobox > * > tr > th.title {
    font-size: 120%;
    text-align: center;
}

table.infobox > tr > th.section,
table.infobox > * > tr > th.section {
    text-align: center;
}

table.infobox {
    background: rgba(0,0,0,.15) !important;
    border-spacing: 2px !important;
    float: none;
    margin: 0 auto 1em !important;
}

table.infobox .header {
    display: table-cell;
}

table.infobox {
    margin-right: auto;
    margin-left: auto !important;
    background: inherit;
    border: solid 1px #1b4c5b;
    max-width:  21em !important;
    width: auto !important;
}


footer {
    background: rgba(14,25,37, 0.9);
    border: solid 1px #112f41;
    margin: .5em;
    padding: .5em;
    color: #fff;
}

footer-info-mobile-switcher a,
footer-info-mobile-switcher a:visited,
footer-info-mobile-switcher a.external {
    font-weight:bold;
}

/* this CSS governs the responsive 2 column main page layout */

.fpcontent {
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.fpmaybecols {
    overflow: hidden;
    margin: -5px 0 -5px 0;
}

.fpmaybecols + .fpmaybecols {
    margin: 0 0 -5px 0;
}

.fpbox {
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid #1b4c5b;
    box-shadow: 0 0 0 2px #1b4c5b inset;
    color: #e0e0e0; /* change for hydra (light) wikis */
    margin: 5px 5px 5px 5px;
    padding: 5px 5px 5px 5px;
}

.fpplainbox {
    padding: 5px 8px 10px 8px;
    margin: 0 5px 10px 5px;
    vertical-align: top;
}

.fpbox .welcome {
    border-bottom: 1px solid #1b4c5b;
    color: #e0e0e0; /* change for hydra (light) wikis */
    font-size: 150%;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    text-transform: uppercase;
    text-align: center;
}

.fpbox .heading {
    border-bottom: 1px solid #1b4c5b;
    color: #e0e0e0; /* change for hydra (light) wikis */
    font-size: 132%;
    font-variant: small-caps;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
}

.fpbox .heading .smalllink {
    color: #e0e0e0; /* change for hydra (light) wikis */
    font-size: 75%;
    font-weight: bold;
}

.fpbox hr {
    border: none;
    border-bottom: 2px solid #1b4c5b;
}

.fplinks {
    margin: -5px;
}

.fplinks .linkslabel {
    background: rgba(0, 0, 0, 0);
    border-bottom: 2px solid #505050;
    margin: 15px 5px 5px 5px;
    padding: 0 0 5px 0;
}

.fplink {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}

/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */
.fplink .box {
    border-collapse: separate;
    border-spacing: 5px;
    display: table;
    width: 100%;
}

.fplink .box .row {
    display: table-row;
}

.fplink .box .row .cell {
    background: #262626; 
    background-image: -moz-linear-gradient(center top, #172D37 0%, #233E4D 100%); 
    background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172D37), color-stop(100%,#233E4D)); 
    background-image: -webkit-linear-gradient(top, #172D37 0%, #233E4D 100%); 
    background-image: -o-linear-gradient(top, #172D37 0%, #233E4D 100%); 
    background-image: -ms-linear-gradient(top, #172D37 0%, #233E4D 100%); 
    background-image: linear-gradient(to bottom, #172D37 0%, #233E4D 100%); 
    border: 1px solid #233E4D;
    border-radius: 4px;
    color: #fff;
    display: table-cell;
    padding: 0 6px;
    position: relative;
    text-align: center;
    vertical-align: middle;
}

.fplink.wide .box .row .cell {
    padding: 0 5px;
}

#fptopsection .fplink.image,
#fpflexsection .fplink.image,
#fpbottomsection .fplink.image 
    height: 114px;{
    width: 114px;
}

.fplink.image .box .row .cell {
    height: 100px;
    width: 100px;
    vertical-align: bottom;
}

.fplink.image .box .row .cell .image img {
    height: 100px;
    width: 100px;
}

@media (min-width: 470px) {
  .fplink {
    width: 50%;
  }

  .fplink.wide {
    width: 100%;
  }
}

@media (min-width: 580px) {
  .fplink {
    width: 33.333%;
  }

  .fplink.wide {
    width: 66.666%;
  }
}

@media (min-width: 690px) {
  .fplink {
    width: 25%;
  }

  .fplink.wide {
    width: 50%;
  }
}

@media (min-width: 800px) {
  .fplink {
    width: 20%;
  }

  .fplink.wide {
    width: 40%;
  }
}

@media (min-width: 910px) {
  .fplink {
    width: 16.666%;
  }

  .fplink.wide {
    width: 33.333%;
  }
}

@media (min-width: 990px) {
  .fpcontent { 
    padding-right: 520px; 
    width: auto; 
  }

  #fptopsection { 
    float: left; 
    width: 100%; 
  }

  #fpflexsection { 
    float: right;
    width: 520px;
    margin-right: -520px 
  }

  #fpbottomsection { 
    float: left; 
    width: 100%; 
    margin-top: -5px; 
  }

  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 50%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 100%;
  }

  #fpflexsection .fplink {
    width: 25%;
  }

  #fpflexsection .fplink.wide {
    width: 50%;
  }
}

@media (min-width: 1100px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 33.333%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 66.666%;
  }
}

@media (min-width: 1210px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 25%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 50%;
  }
}

@media (min-width: 1320px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 20%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 40%;
  }
}

@media (min-width: 1430px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 16.666%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 33.333%;
  }

  .fplink a {
    padding: 3px 5px;
  }
}

@media (min-width: 1540px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 14.285%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 28.571%;
  }

  #fptopsection .fpmaybercol .fpbox, #fpbottomsection .fpmaybercol .fpbox {
    background-image: none;
  }

  .fpmaybelcol {
    float: left;
    width: 70.886%;
  }

  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 20%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 40%;
  }

  .fpmaybercol {
    float: right;
    width: 29.113%;
  }

  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
    width: 50%;
  }

  #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 100%;
  }
}

@media (min-width: 1650px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 12.5%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 25%;
  }
}

@media (min-width: 1697px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 16.666%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 33.333%;
  }
}

@media (min-width: 1760px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 11.111%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 22.222%;
  }
}

@media (min-width: 1850px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 14.285%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 28.571%;
  }
}

@media (min-width: 1870px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 10%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 20%;
  }

  #fptopsection .fplink.image, #fpbottomsection .fplink.image {
    width: 134px;
    height: 134px;
  }

  #fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell {
    width: 120px;
    height: 120px;
  }

  #fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img {
    width: 120px;
    height: 120px;
  }
}

@media (min-width: 1918px) {
  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
    width: 33.333%;
  }

  #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 66.666%;
  }
}

@media (min-width: 1980px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 9.09%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 18.181%;
  }
}

@media (min-width: 2006px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 12.5%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 25%;
  }
}

@media (min-width: 2090px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 8.33%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 16.666%;
  }
}

@media (min-width: 2161px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 11.111%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 22.222%;
  }
}

@media (min-width: 2200px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 7.692%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 15.384%;
  }
}

@media (min-width: 2296px) {
  #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink {
    width: 25%;
  }

  #fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide {
    width: 50%;
  }
}

@media (min-width: 2310px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 7.142%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 14.285%;
  }
}

@media (min-width: 2316px) {
  #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink {
    width: 10%;
  }

  #fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide {
    width: 20%;
  }
}

@media (min-width: 2420px) {
  #fptopsection .fplink, #fpbottomsection .fplink {
    width: 6.666%;
  }

  #fptopsection .fplink.wide, #fpbottomsection .fplink.wide {
    width: 13.333%;
  }

  .fplink a {
    padding: 5px 5px;
  }

  #fptopsection .fplink.image, #fpbottomsection .fplink.image {
    width: 164px;
    height: 164px;
  }

  #fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell {
    width: 150px;
    height: 150px;
  }

  #fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img {
    width: 150px;
    height: 150px;
  }
}

.fplink.image .image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 75%;
  z-index: 1;
}

.fplink.image a {
  z-index: 2;
}

.fplink a {
  display: block;
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1px 5px;
}

.fplink.image .image a {
  padding: 0;
}

.fplink.image .link a {
  background: rgba(0, 0, 0, 0.1);
  border-top: 2px solid #505050;
}

.fplink.wide a {
  margin: 0 -5px;
}

.fpvideos {
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

.fpvideo {
  display: inline-block;
  margin: 0 5px;
}

.header-container.header-chrome {
    background: #212121;
    border-bottom: 1px solid #CCCCCC;
}

.header .branding-box h1 {
    border-bottom: none;
}

.notification-count.notification-unseen,
.notification-count {
   background: transparent;
}


.header .branding-box h1 {
    border-bottom: none;
}

.notification-count.notification-unseen,
.notification-count {
   background: transparent;
}

.search-overlay {
    background: rgba(14,25,37, 0.9) !important;
}

.search-overlay .results,
.search-overlay .search-feedback {
    background-color: #212121 !important;
}

.list-thumb.list-thumb-none {
    background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%3E%3Cpath%20fill%3D%22%23212121%22%20d%3D%22M0%200h56v56H0z%22%2F%3E%3Cpath%20fill%3D%22%23E0E0E0%22%20d%3D%22M36.4%2013.5H17.8v24.9c0%201.4.9%202.3%202.3%202.3h18.7v-25c.1-1.4-1-2.2-2.4-2.2zM30.2%2017h5.1v6.4h-5.1V17zm-8.8%200h6v1.8h-6V17zm0%204.6h6v1.8h-6v-1.8zm0%2015.5v-1.8h13.8v1.8H21.4zm13.8-4.5H21.4v-1.8h13.8v1.8zm0-4.7H21.4v-1.8h13.8v1.8z%22%2F%3E%3C%2Fsvg%3E) !important;
}

.page-summary h2,
.page-summary h3 {
    color: #F37F20 !important;
}