MediaWiki:Mobile.css: Difference between revisions

No edit summary
m Undo revision 6770 by Banri (talk)
Tag: Undo
 
(12 intermediate revisions by the same user not shown)
Line 343: Line 343:
}
}


.rsw-infobox {
.gsw-infobox {
     font-size: 85%;
     font-size: 85%;
     background-color: #f9f9f9;
     background-color: #f9f9f9;
Line 352: Line 352:
}
}


.rsw-infobox tbody {
.gsw-infobox tbody {
     width: 100%;
     width: 100%;
     display: table;
     display: table;
}
}


.rsw-infobox .infobox-image {
.gsw-infobox .infobox-image {
     text-align: center;
     text-align: center;
}
}


.rsw-infobox .infobox-header {
.gsw-infobox .infobox-header {
     color: #ffffff;
     color: #ffffff;
     font-size: 1.15em;
     font-size: 1.15em;
Line 369: Line 369:
}
}


.rsw-infobox .infobox-subheader {
.gsw-infobox .infobox-subheader {
     background: #6ba5c8;
     background: #6ba5c8;
     color: #ffffff;
     color: #ffffff;
Line 377: Line 377:
}
}


.rsw-infobox .infobox-subheader a {
.gsw-infobox .infobox-subheader a {
     color: #ffffff;
     color: #ffffff;
}
}


.rsw-infobox th:not(.infobox-header):not(.infobox-subheader) {
.gsw-infobox th:not(.infobox-header):not(.infobox-subheader) {
     text-align: right;
     text-align: right;
     vertical-align: top;
     vertical-align: top;
Line 389: Line 389:
}
}


.rsw-infobox td:not(.infobox-image):not(.infobox-map) {
.gsw-infobox td:not(.infobox-image):not(.infobox-map) {
     border-right: 1px solid #efefef;
     border-right: 1px solid #efefef;
     padding: 0.25em 0.5em;
     padding: 0.25em 0.5em;
Line 395: Line 395:
}
}


.rsw-infobox td[colspan="2"]:not(.infobox-image):not(.infobox-map) {
.gsw-infobox td[colspan="2"]:not(.infobox-image):not(.infobox-map) {
     border: 1px solid #efefef;
     border: 1px solid #efefef;
     padding-bottom: 0.6em;
     padding-bottom: 0.6em;
}
}


.rsw-infobox .infobox-map {
.gsw-infobox .infobox-map {
     border: 1px solid #efefef;
     border: 1px solid #efefef;
     border-top: none;
     border-top: none;
Line 407: Line 407:
}
}


.rsw-infobox .infobox-bottom-links,
.gsw-infobox .infobox-bottom-links,
.rsw-infobox .infobox-template-links {
.gsw-infobox .infobox-template-links {
     display: none;
     display: none;
}
}


.rsw-infobox.infobox-monster {
.gsw-infobox.infobox-monster {
     font-size: 80%;
     font-size: 80%;
}
}


.rsw-infobox.infobox-monster tbody {
.gsw-infobox.infobox-monster tbody {
     table-layout: fixed;
     table-layout: fixed;
}
}


.rsw-infobox.infobox-monster input[type='number'] {
.gsw-infobox.infobox-monster input[type='number'] {
     background: #ffffff;
     background: #ffffff;
     border: 1px solid #efefef;
     border: 1px solid #efefef;
Line 426: Line 426:
}
}


.rsw-infobox.infobox-monster td {
.gsw-infobox.infobox-monster td {
     text-align: center;
     text-align: center;
}
}


.rsw-infobox.infobox-monster td:not(.infobox-image):not(.infobox-map) {
.gsw-infobox.infobox-monster td:not(.infobox-image):not(.infobox-map) {
     border-right: 1px solid #efefef;
     border-right: 1px solid #efefef;
     border-left: 1px solid #efefef;
     border-left: 1px solid #efefef;
}
}


.rsw-infobox.infobox-monster th:not([colspan="2"]):last-child {
.gsw-infobox.infobox-monster th:not([colspan="2"]):last-child {
     border-right: 1px solid #efefef;
     border-right: 1px solid #efefef;
}
}


.rsw-infobox.infobox-monster th.infobox-header,
.gsw-infobox.infobox-monster th.infobox-header,
.rsw-infobox.infobox-monster th.infobox-subheader,
.gsw-infobox.infobox-monster th.infobox-subheader,
.rsw-infobox.infobox-monster th.combat-subheader {
.gsw-infobox.infobox-monster th.combat-subheader {
     text-align: center;
     text-align: center;
}
}


.rsw-infobox.infobox-monster th.offensive-header {
.gsw-infobox.infobox-monster th.offensive-header {
     background-color: #801c13;
     background-color: #801c13;
     color: #ffffff;
     color: #ffffff;
Line 451: Line 451:
}
}


.rsw-infobox.infobox-monster th.offensive-subheader {
.gsw-infobox.infobox-monster th.offensive-subheader {
     background-color: #ecccc6;
     background-color: #ecccc6;
     color: #801c13;
     color: #801c13;
Line 457: Line 457:
}
}


.rsw-infobox.infobox-monster th.offensive-subheader a {
.gsw-infobox.infobox-monster th.offensive-subheader a {
     color: #801c13;
     color: #801c13;
}
}


.rsw-infobox.infobox-monster th.offensive-subheader:not(:last-child) {
.gsw-infobox.infobox-monster th.offensive-subheader:not(:last-child) {
     border-right: 0.175em solid #801c13;
     border-right: 0.175em solid #801c13;
}
}


.rsw-infobox.infobox-monster th.defensive-header {
.gsw-infobox.infobox-monster th.defensive-header {
     background-color: #438ab5;
     background-color: #438ab5;
     color: #ffffff;
     color: #ffffff;
Line 471: Line 471:
}
}


.rsw-infobox.infobox-monster th.defensive-subheader {
.gsw-infobox.infobox-monster th.defensive-subheader {
     background-color: #c1deed;
     background-color: #c1deed;
     color: #222222;
     color: #222222;
Line 477: Line 477:
}
}


.rsw-infobox.infobox-monster th.defensive-subheader a {
.gsw-infobox.infobox-monster th.defensive-subheader a {
     color: #222222;
     color: #222222;
}
}


.rsw-infobox.infobox-monster th.slayer-header {
.gsw-infobox.infobox-monster th.slayer-header {
     background: #4c4c4c;
     background: #4c4c4c;
     color: #ffffff;
     color: #ffffff;
Line 487: Line 487:
}
}


.rsw-infobox.infobox-monster th.slayer-subheader {
.gsw-infobox.infobox-monster th.slayer-subheader {
     background-color: #cccccc;
     background-color: #cccccc;
     color: #4c4c4c;
     color: #4c4c4c;
Line 493: Line 493:
}
}


.rsw-infobox.infobox-monster th.slayer-subheader:not(:last-child) {
.gsw-infobox.infobox-monster th.slayer-subheader:not(:last-child) {
     border-right: 0.175em solid #4c4c4c;
     border-right: 0.175em solid #4c4c4c;
}
}


.rsw-infobox.infobox-user-stats th {
.gsw-infobox.infobox-user-stats th {
     border: none;
     border: none;
}
}


.rsw-infobox.infobox-user-stats th.infobox-header {
.gsw-infobox.infobox-user-stats th.infobox-header {
     text-align: center;
     text-align: center;
     border-bottom: none;
     border-bottom: none;
}
}


.rsw-infobox.infobox-user-stats th.infobox-header a,
.gsw-infobox.infobox-user-stats th.infobox-header a,
.rsw-infobox.infobox-user-stats th.infobox-header a:visited {
.gsw-infobox.infobox-user-stats th.infobox-header a:visited {
     color: #ffffff;
     color: #ffffff;
}
}


.rsw-infobox.infobox-user-stats th.infobox-subheader {
.gsw-infobox.infobox-user-stats th.infobox-subheader {
     text-align: center;
     text-align: center;
     border-top: none;
     border-top: none;
Line 517: Line 517:
}
}


.rsw-infobox.infobox-user-stats td:not(.infobox-image):not(.infobox-map):last-child {
.gsw-infobox.infobox-user-stats td:not(.infobox-image):not(.infobox-map):last-child {
     border: none;
     border: none;
}
}


.rsw-infobox#infobox-familiar tbody {
.gsw-infobox#infobox-familiar tbody {
     table-layout: fixed;
     table-layout: fixed;
}
}


.rsw-infobox#infobox-familiar th[colspan="2"] {
.gsw-infobox#infobox-familiar th[colspan="2"] {
     text-align: right;
     text-align: right;
     border-right: 0.175em solid #6ba5c8;
     border-right: 0.175em solid #6ba5c8;
Line 531: Line 531:
}
}


.rsw-infobox#infobox-familiar th[colspan="4"] {
.gsw-infobox#infobox-familiar th[colspan="4"] {
     text-align: center;
     text-align: center;
}
}


.rsw-infobox#infobox-familiar th:last-child {
.gsw-infobox#infobox-familiar th:last-child {
     border-right: 1px solid #efefef;
     border-right: 1px solid #efefef;
}
}


.rsw-infobox#infobox-familiar th:first-child {
.gsw-infobox#infobox-familiar th:first-child {
     border-left: 1px solid #efefef;
     border-left: 1px solid #efefef;
}
}


.rsw-infobox#infobox-familiar td.infobox-template-links {
.gsw-infobox#infobox-familiar td.infobox-template-links {
     border: 1px solid #efefef !important;
     border: 1px solid #efefef !important;
     padding-bottom: 0.6em;
     padding-bottom: 0.6em;
}
}


.rsw-infobox#infobox-familiar td:first-child {
.gsw-infobox#infobox-familiar td:first-child {
     border-left: 1px solid #efefef !important;
     border-left: 1px solid #efefef !important;
}
}


.rsw-infobox#infobox-familiar td:last-child {
.gsw-infobox#infobox-familiar td:last-child {
     border-right: 1px solid #efefef !important;
     border-right: 1px solid #efefef !important;
}
}


.rsw-infobox#infobox-familiar td:not(.infobox-image):not(.infobox-map) {
.gsw-infobox#infobox-familiar td:not(.infobox-image):not(.infobox-map) {
     border: none;
     border: none;
}
}


.rsw-infobox#infobox-familiar td[colspan="2"]:not(.infobox-image):not(.infobox-map) {
.gsw-infobox#infobox-familiar td[colspan="2"]:not(.infobox-image):not(.infobox-map) {
     border: none;
     border: none;
     padding: 0.25em 0.5em;
     padding: 0.25em 0.5em;
}
}


.rsw-infobox .advanced-data {
.gsw-infobox .advanced-data {
     display: none;
     display: none;
}
}
Line 585: Line 585:


@media screen and (max-width: 499px) {
@media screen and (max-width: 499px) {
     .rsw-infobox {
     .gsw-infobox {
           margin-left: auto !important;
           margin-left: auto !important;
           margin-right: auto !important;
           margin-right: auto !important;
Line 593: Line 593:


@media screen and (min-width: 500px) {
@media screen and (min-width: 500px) {
     .rsw-infobox {
     .gsw-infobox {
           float: right;
           float: right;
           margin-left: 1em !important;
           margin-left: 1em !important;
Line 1,419: Line 1,419:
}
}


.questdetails .questdetails-header,
.missiondetails .missiondetails-header,
.trainingdetails .questdetails-header {
.trainingdetails .missiondetails-header {
     vertical-align: top;
     vertical-align: top;
     text-align: left;
     text-align: left;
Line 1,429: Line 1,429:
}
}


td.questdetails-info {
td.missiondetails-info {
     padding-top: 1.5em;
     padding-top: 1.5em;
     padding-bottom: 0.5em;
     padding-bottom: 0.5em;
Line 1,467: Line 1,467:
}
}


body.page-RuneScape_Wiki .pre-content {
body.page-wiki_geministation .pre-content {
     display: none !important;
     display: none !important;
}
}


body.page-RuneScape_Wiki #content {
body.page-wiki_geministation #content {
     padding-bottom: 0;
     padding-bottom: 0;
}
}


body.page-RuneScape_Wiki .content {
body.page-wiki_geministation .content {
     margin: 0 auto;
     margin: 0 auto;
}
}


body.page-RuneScape_Wiki .last-modified-bar {
body.page-wiki_geministation .last-modified-bar {
     margin: 0 1em;
     margin: 0 1em;
}
}
Line 1,701: Line 1,701:
           max-width: 50em;
           max-width: 50em;
           margin: auto;
           margin: auto;
          max-height: 300px;
     }
     }


Line 1,725: Line 1,726:
}
}


.skill-agility a:first-child,
.skill-hackingdefense a:first-child,
.skill-melee a:first-child {
.skill-armor a:first-child {
     background: #bc483d;
     background: #bc483d;
}
}


.skill-ranged a:first-child {
.skill-damage a:first-child {
     background: #748d36;
     background: #748d36;
}
}


.skill-magic a:first-child {
.skill-shield a:first-child {
     background: #6274ab;
     background: #6274ab;
}
}


.skill-fishing a:first-child,
.skill-cargospace a:first-child,
.skill-fletching a:first-child {
.skill-shieldrecharge a:first-child {
     background: #3e8e9a;
     background: #3e8e9a;
}
}


.skill-cooking a:first-child,
.skill-attack a:first-child,
.skill-divination a:first-child,
.skill-salvagechance a:first-child,
.skill-thieving a:first-child {
.skill-heatresistance a:first-child {
     background: #91689e;
     background: #91689e;
}
}


.skill-farming a:first-child,
.skill-cargosalvage a:first-child,
.skill-woodcutting a:first-child {
.skill-targeting a:first-child {
     background: #59924f;
     background: #59924f;
}
}


.skill-mining a:first-child,
.skill-defense a:first-child,
.skill-summoning a:first-child {
.skill-engineefficiency a:first-child {
     background: #6385a8;
     background: #6385a8;
}
}


.skill-invention a:first-child,
.skill-sensorscanresults a:first-child,
.skill-smithing a:first-child {
.skill-evasion a:first-child {
     background: #d2b244;
     background: #d2b244;
}
.skill-archaeology a:first-child {
    background: #a56831;
}
}


Line 2,377: Line 2,374:
}
}


.rsw-chartjs.rsw-chartjs-config {
.gsw-chartjs.gsw-chartjs-config {
     display: none;
     display: none;
}
}


.rsw-chartjs.rsw-chart-error {
.gsw-chartjs.gsw-chart-error {
     font-family: monospace;
     font-family: monospace;
}
}