MediaWiki:Mobile.css: Difference between revisions

No edit summary
mNo edit summary
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 2,377: Line 2,377:
}
}


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