MediaWiki:Mobile.css
Jump to navigation
Jump to search
CSS and Javascript changes must comply with the wiki design rules.
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: Clear the cache in Tools → Preferences
/* Main page */
.page-Main_Page.is-authenticated .pre-content {
display: none;
}
body.page-Main_Page h1.firstHeading {
display: none;
}
.mp-portal-row {
display: flex;
flex-flow: row wrap;
margin: 0;
align-items: self-start;
justify-content: space-around;
text-align: center;
font-weight: bold;
max-width: 100%;
}
.mp-portal-row div {
flex: 0 1 auto;
margin: 4px;
}
.mp-portal-icon {
max-width: 120px;
}
.mp-portal-icon a img {
width: 100%;
min-width: 50px;
max-width: 150px;
height: auto;
}
.mp p img {
max-width: 100%;
height: auto;
}
.mp-menu-item {
text-align: left;
width: 195px;
display: inline-block;
margin: 15px 25px;
vertical-align: top;
}
.mp-menu-item-header {
border-bottom: 1px solid #505050;
font-size: 150%;
font-variant: small-caps;
color: black;
padding-bottom: 5px;
}
.mp-menu-item-body {
column-count: 1;
margin-top: 5px;
}
.mp-menu-item-body>ul {
margin-top: 0;
}
.mp-news-container {
width: 100%;
max-height: 250px;
overflow: hidden;
text-overflow: ellipsis;
content: "";
position: relative;
}
.mp-news-container:before {
content: '';
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
background: linear-gradient(transparent 200px, white);
pointer-events: none;
}
.mp-container-small,
.mp-container-mid,
.mp-container-large {
width: 100%;
}
@media (min-width: 1100px) {
.mp-container-large {
flex-basis: 66.667%;
max-width: 66.667%;
}
.mp-container-small {
flex-basis: 33.333%;
max-width: 33.333%;
}
}
.mp-new-content-row {
display:flex;
justify-content:center;
flex-wrap: wrap;
font-size:0.9em;
}
/************/
/* Elements */
/************/
img {
max-width: 100% !important;
height: auto;
}
/* wikitable */
.content table.wikitable {
border: 0 solid;
}
table.wikitable> :first-child>tr:first-child,
table.wikitable>tbody>tr.heading,
table.wikitable> :first-child>tr:first-child>th,
table.wikitable>tbody>tr.heading>* {
background-color: #4d905e;
border-color: #336642;
}
table.wikitable>tbody>tr.heading a {
color: #a7f9be
}
table.wikitable>tbody>tr>th,
table.wikitable>tfoot>tr>th,
table.wikitable>thead>tr>th,
table.wikitable>tbody>tr>th {
background-color: #4d905e;
border-color: #336642;
}
table.wikitable>tbody>tr:nth-child(odd),
table.wikitable>tbody>tr:nth-child(odd) {
background-color: #e3f2ea;
}
table.wikitable {
/* display: table; */
border: 0 solid;
border-collapse: collapse;
border-spacing: 0;
font-size: .9230769231em;
text-align: left;
clear: none;
position: relative;
vertical-align: top;
margin: 10px 0;
padding: 0;
width: 100%;
}
table.wikitable>caption {
font-weight: bold
}
table.wikitable>thead,
table.wikitable>tbody {
border: 0 solid #aaa;
}
table.wikitable tr {
border: 1px solid #aaa;
text-align: left;
border-color: #AAA;
}
:root table.wikitable tr {
border-top-width: 0;
border-bottom-width: 0;
}
table.wikitable>*>tr> :first-child {
border-left: 1px solid #AAA;
}
table.wikitable>*>tr> :last-child {
border-right: 1px solid #AAA;
}
table.wikitable>tbody>tr:last-child,
table.wikitable>tbody>tr:last-child>*,
table.wikitable>tfoot>tr:last-child>*,
table.wikitable>caption {
border-bottom: 1px solid #AAA;
}
table.wikitable>tbody:first-child>tr:first-child>th,
table.wikitable>tbody>tr.heading>*,
table.wikitable>thead>tr:first-child>* {
padding: .5em;
color: #fff!important;
text-shadow: rgba(0, 0, 0, 0.75) 0 0 0.25em;
}
table.wikitable>tbody>tr>th,
table.wikitable>tbody>tr>td,
table.wikitable>tfoot>tr>th {
line-height: 1.667em;
padding: .25em .5em;
}
table.wikitable tr>th,
table.wikitable[class*=center] tr {
text-align: center;
}
table.wikitable[class*=left] tr {
text-align: left;
}
table.wikitable[class*=right] tr {
text-align: right;
}
table.wikitable[class*=middle] tr {
vertical-align: middle;
}
table.wikitable[class*=top] tr {
vertical-align: top;
}
table.wikitable[class*=bottom] tr {
vertical-align: bottom;
}
table.wikitable>tbody>tr>th,
table.wikitable>tfoot>tr>th {
background-color: #E7E7E7;
border-color: #AAA;
}
table.wikitable>tbody>tr:nth-child(odd) {
background-color: #F3F3F3;
border-color: #AAA;
}
table.wikitable>tbody,
table.wikitable>tbody>tr.heading,
table.wikitable>tbody>tr>[rowspan],
table.wikitable>tbody>tr>[colspan] {
border: 1px solid #AAA;
}
table.wikitable> :first-child>tr:first-child+tr [rowspan],
table.wikitable> :first-child>tr:first-child+tr [colspan] {
border-top-width: 0;
}
table.wikitable .line,
table.wikitable .line-bottom {
border-bottom-width: 1px!important;
border-bottom-style: solid;
}
table.wikitable .line-top {
border-top-width: 1px!important;
border-top-style: solid;
border-top-color: #AAA;
}
table.wikitable .line-left {
border-left-width: 1px!important;
border-left-style: solid;
border-left-color: #AAA;
}
table.wikitable .line-right {
border-right-width: 1px!important;
border-right-style: solid;
border-right-color: #AAA;
}
table.wikitable table {
background-color: transparent;
padding: 0;
margin: 0;
}
table.borderless>*>tr>td {
border: none;
}
table.borderless>tbody>tr>[colspan] {
border: none;
}
table.fullwidth {
width: 100%;
}
.wikitable>*>tr>th a:visited,
.wikitable>*>tr>th a:link {
color: #FFFFFF !important;
}
.wikitable th a {
color: #c7ffff;
}
/* cargoTable */
table.cargoTable> :first-child>tr:first-child,
table.cargoTable>tbody>tr.heading,
table.cargoTable> :first-child>tr:first-child>*,
table.cargoTable>tbody>tr.heading>* {
background-color: #4d905e !important;
border-color: #336642 !important;
}
table.cargoTable> :first-child>tr:first-child a,
table.cargoTable>tbody>tr.heading a {
color: #a7f9be
}
table.cargoTable>tbody>tr>th,
table.cargoTable>tfoot>tr>th,
table.cargoTable>thead>tr>th,
table.cargoTable>tbody>tr>th {
background-color: #4d905e;
border-color: #336642;
}
table.cargoTable>tbody>tr:nth-child(odd),
table.cargoTable>tbody>tr:nth-child(odd) {
background-color: #e3f2ea;
}
table.cargoTable {
/* display: table; */
border: 0 solid;
border-collapse: collapse;
border-spacing: 0;
font-size: .9230769231em;
text-align: left;
clear: none;
position: relative;
vertical-align: top;
margin: 10px 0;
padding: 0;
max-width: 100%;
width: 100%;
}
table.cargoTable>caption {
font-weight: bold
}
table.cargoTable>thead,
table.cargoTable>tbody {
border: 0 solid #aaa;
}
table.cargoTable tr {
border: 1px solid #aaa;
text-align: left;
border-color: #AAA;
text-align: center;
}
:root table.cargoTable tr {
border-top-width: 0;
border-bottom-width: 0;
}
table.cargoTable>*>tr> :first-child {
border-left: 1px solid #AAA;
}
table.cargoTable>*>tr> :last-child {
border-right: 1px solid #AAA;
}
table.cargoTable>tbody>tr:last-child,
table.cargoTable>tbody>tr:last-child>*,
table.cargoTable>tfoot>tr:last-child>*,
table.cargoTable>caption {
border-bottom: 1px solid #AAA;
}
table.cargoTable>tbody:first-child>tr:first-child>*,
table.cargoTable>tbody>tr.heading>*,
table.cargoTable>thead>tr:first-child>* {
background-color: #EEE;
border-color: #AAA;
padding: .5em;
color: #fff!important;
text-shadow: rgba(0, 0, 0, 0.75) 0 0 0.25em;
}
table.cargoTable>tbody>tr>th,
table.cargoTable>tbody>tr>td,
table.cargoTable>tfoot>tr>th {
line-height: 1.667em;
padding: .25em .5em;
}
table.cargoTable tr>th,
table.cargoTable[class*=center] tr {
text-align: center;
}
table.cargoTable[class*=left] tr {
text-align: left;
}
table.cargoTable[class*=right] tr {
text-align: right;
}
table.cargoTable[class*=middle] tr {
vertical-align: middle;
}
table.cargoTable[class*=top] tr {
vertical-align: top;
}
table.cargoTable[class*=bottom] tr {
vertical-align: bottom;
}
table.cargoTable> :first-child>tr:first-child,
table.cargoTable>tbody>tr.heading {
background-color: #EEE;
border: 1px solid #aaa;
}
table.cargoTable>tbody>tr>th,
table.cargoTable>tfoot>tr>th {
background-color: #E7E7E7;
border-color: #AAA;
}
table.cargoTable>tbody>tr:nth-child(odd) {
background-color: #F3F3F3;
border-color: #AAA;
}
table.cargoTable>tbody,
table.cargoTable>tbody>tr.heading,
table.cargoTable>tbody>tr>[rowspan],
table.cargoTable>tbody>tr>[colspan] {
border: 1px solid #AAA;
vertical-align: middle;
}
table.cargoTable> :first-child>tr:first-child+tr [rowspan],
table.cargoTable> :first-child>tr:first-child+tr [colspan] {
border-top-width: 0;
}
table.cargoTable .line,
table.cargoTable .line-bottom {
border-bottom-width: 1px!important;
border-bottom-style: solid;
}
table.cargoTable .line-top {
border-top-width: 1px!important;
border-top-style: solid;
border-top-color: #AAA;
}
table.cargoTable .line-left {
border-left-width: 1px!important;
border-left-style: solid;
border-left-color: #AAA;
}
table.cargoTable .line-right {
border-right-width: 1px!important;
border-right-style: solid;
border-right-color: #AAA;
}
table.cargoTable table {
background-color: transparent;
padding: 0;
margin: 0;
}
table.borderless>*>tr>td {
border: none;
}
table.borderless>tbody>tr>[colspan] {
border: none;
}
table.fullwidth {
width: 100%;
}
.cargoTable>*>tr>th a:visited,
.cargoTable>*>tr>th a:link {
color: #FFFFFF !important;
}
.cargoTable th a {
color: #c7ffff;
}
table.lightblue > * > tr > th {
background-color: #e6f7ff !important;
border-bottom: 1px solid skyblue;
}
table.darkred > * > tr > th {
background-color: #550000 !important;
border-color: #1f0101 !important;
}
/* Panel */
#bodyContent .panel {
background-color: #fff !important;
text-align: left !important;
}
.panel {
border: 1px solid #5a5a5a;
margin: 2px;
}
.panel-heading {
position: relative;
text-align: center;
font-weight: bold;
color: #1f4c1f;
margin: 5px;
font-size: 1.5em;
font-variant-caps: small-caps;
}
.panel-body {
position: relative;
padding: 5px 15px;
;
}
/* TermDescription */
.dt-term {
display: inline-block;
width: 120px;
text-align: right;
padding: 3px 8px 3px 0;
margin: 0 -6px 0 0;
border-right: 3px #528e52 solid;
font-weight: bold;
vertical-align: top;
}
.dd-description {
display: inline-block;
width: 150px;
text-align: left;
padding: 3px 0 3px 6px;
border-left: 1px #528e52 solid;
vertical-align: top;
}
/* Ambox */
.ambox {
background-color: #f8f9fa;
border-bottom-color: #383838;
border-right-color: #383838;
border-top-color: #383838;
border-collapse: collapse;
margin: 0 auto 6px auto;
width: 80%;
}
.ambox tr {
border: 1px solid #a2a9b1;
}
.ambox-gray {
border-left-color: #383838;
}
.ambox.ambox-tiny {
font-size: 90%;
margin: 2px 0;
width: auto;
}
.ambox+.ambox {
margin-top: -2px;
}
.ambox-text-title {
font-weight: 700;
}
.ambox-text {
padding: 0.25em 1em;
}
.ambox-image {
padding: 0;
text-align: center;
width: 80px;
}
.ambox-tiny .ambox-image {
padding: 2px 0.5em;
text-align: left;
width: auto;
}
/* Ambox colors */
.ambox-blue {
border-left: 10px solid #1e90ff;
}
.ambox-red {
border-left: 10px solid #b22222;
}
.ambox-orange {
border-left: 10px solid #f28500;
}
.ambox-yellow {
border-left: 10px solid #f4c430;
}
.ambox-purple {
border-left: 10px solid #9932cc;
}
.ambox-gray {
border-left: 10px solid #bba;
}
.ambox-green {
border-left: 10px solid #228b22;
}
/* Ambox small text */
.amsmalltext {
font-size: smaller;
margin-top: 0.5em;
}
/* Blockquote */
blockquote {
font-size: 14pt;
width: 60%;
margin: auto;
font-family: Catamaran;
font-style: italic;
color: #555555;
padding: 1.2em 30px 1.2em 75px;
border-left: 8px solid #336699;
line-height: 1.3;
position: relative;
background: #EDEDED;
}
blockquote::before {
font-family: Arial;
content: "\201C";
color: #336699;
font-size: 4em;
position: absolute;
left: 10px;
top: -10px;
}
blockquote::after {
content: '';
}
blockquote span {
display: block;
color: #333333;
font-style: normal;
font-weight: bold;
margin-top: 1em;
}
/* Image tile */
.image-tile {
position: relative;
height: 44px;
width: 120px;
margin: 5px;
display: inline-block;
overflow: hidden;
}
.image-tile.selectable {
opacity: 0.4;
}
.image-tile.selectable:hover {
opacity: 0.85;
}
.image-tile-text {
position: absolute;
width: 100%;
text-align: center;
top: 46%;
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
pointer-events: none;
color: #000;
text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
/* mw ui button tweaks */
.mw-ui-button-group {
display: inline-flex;
}
.mw-ui-button-group>* {
min-width: 38px;
float: none;
}
.mw-ui-button {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/***********/
/* Tooltip */
/***********/
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dashed black;
line-height: 1.3;
}
.tooltiptext {
visibility: hidden;
min-width: 250px;
margin-left: -140px;
padding: 12px 14px;
text-align: center;
position: absolute;
left: 50%;
bottom: calc(20px + 100%);
z-index: 99999;
background: #fff;
box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.15);
border: 1px solid #a2a9b1;
border-radius: 2px;
font-weight: normal;
color: black;
text-shadow: none;
}
.tooltiptext:after,
.tooltiptext:before {
content: '';
position: absolute;
left: 50%;
border-style: solid;
}
.tooltiptext:after {
top: 100%;
bottom: auto;
width: 20px;
height: 20px;
background: #fff;
margin-top: -10px;
margin-left: -10px;
box-shadow: 1px 1px 0px #a2a9b1;
transform: rotate(45deg);
border-width: 0;
}
.tooltiptext:before {
top: 100%;
bottom: auto;
border-width: 18px;
margin-left: -18px;
border-color: rgba(0, 0, 0, 0.15) transparent transparent transparent;
pointer-events: none;
}
.tooltip .tooltip .tooltiptext {
bottom: auto;
top: 195%;
}
.tooltip .tooltip .tooltiptext:after {
top: auto;
bottom: 100%;
border-width: 15px;
margin-left: -15px;
border-color: transparent transparent white transparent;
width: 0;
height: 0;
box-shadow: none;
background: none;
transform: none;
}
.tooltip .tooltip .tooltiptext:before {
top: auto;
bottom: 100%;
border-width: 16px;
margin-left: -16px;
border-color: transparent transparent #888 transparent;
}
.tooltiptext hr {
margin: 10px 0 12px;
position: relative;
background: none;
}
.tooltiptext hr:after {
content: '';
display: block;
width: 100%;
height: 1px !important;
position: absolute;
left: -14px;
background: #a2a9b1;
padding: 0 14px;
}
.tooltip:hover>.tooltiptext {
visibility: visible;
}
.tooltiptext {
opacity: 0;
transition: opacity 200ms ease, visibility 0s ease 200ms, transform 200ms ease;
transform: translateY(8px);
}
.tooltip .tooltip .tooltiptext {
transform: translateY(-8px);
}
.tooltip:hover>.tooltiptext {
opacity: 1;
transition-delay: 0s;
transform: translateY(0);
}
/* MISC */
.character-grid-entry {
width: calc(33% - 2px);
max-width: 120px;
text-align: center;
border: 2px solid #e4e4e4;
padding: 5px 0;
margin: -1px;
transition: opacity 1s linear;
}
.character-grid-entry-title {
font-size: 0.7237em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-weight: bold;
}
.character-grid-entry-subtitle {
font-size: 0.6em;
margin-bottom: 5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.character-grid-entry-icon {
margin: 2px;
}
.character-grid-entry-icon img {
height: 16px;
width: 16px;
}
.wyrmprint-grid-entry {
text-align: center;
margin: 10px -20px;
max-width: calc(50% + 40px);
}
.wyrmprint-grid-image {
}
.wyrmprint-grid-title {
margin-top: 2px;
font-size: smaller;
font-weight: bold;
}
table.skill-table {
position: relative;
display: table;
width: 100%;
border-spacing: 0px;
border: 1px solid skyblue;
font-size: .8em;
}
table.skill-table th {
padding: 5px 10px;
background-color: #e6f7ff;
border-bottom: 1px solid skyblue;
text-align: center;
white-space: nowrap;
}
table.skill-table td {
font-weight: bold;
padding: 5px 10px;
}
table.mana-circle-table {
display: table;
}
/* Tabber styling */
.wyrmprints .tabberlive,
.wyrmprints .tabberlive .tabbertab,
.enemy-container .tabberlive,
.enemy-container .tabberlive .tabbertab,
.adv-portrait .tabberlive,
.adv-portrait .tabberlive .tabbertab,
.skill-levels .tabberlive,
.skill-levels .tabberlive .tabbertab,
.mana-circle .tabberlive,
.mana-circle .tabberlive .tabbertab {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
border: none !important;
padding: 2px !important;
}
.wyrmprints ul.tabbernav,
.enemy-container ul.tabbernav,
.skill-levels ul.tabbernav,
.adv-portrait ul.tabbernav,
.mana-circle ul.tabbernav {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
border-bottom: none !important;
}
.quest-container ul.tabbernav {
text-align: center;
}
.wyrmprints ul.tabbernav li a,
.wyrmprints ul.tabbernav li a:link,
.enemy-container ul.tabbernav li a,
.enemy-container ul.tabbernav li a:link,
.skill-levels ul.tabbernav li a,
.skill-levels ul.tabbernav li a:link,
.adv-portrait ul.tabbernav li a,
.adv-portrait ul.tabbernav li a:link,
.mana-circle ul.tabbernav li a,
.mana-circle ul.tabbernav li a:link {
background-color: #fff;
border-bottom: 1px solid #aaa !important;
color: #000 !important;
}
.wyrmprints ul.tabbernav li a:hover,
.enemy-container ul.tabbernav li a:hover,
.skill-levels ul.tabbernav li a:hover,
.adv-portrait ul.tabbernav li a:hover,
.mana-circle ul.tabbernav li a:hover {
background-color: #e4e4e4 !important;
}
.wyrmprints ul.tabbernav li.tabberactive,
.enemy-container ul.tabbernav li.tabberactive,
.skill-levels ul.tabbernav li.tabberactive,
.adv-portrait ul.tabbernav li.tabberactive,
.mana-circle ul.tabbernav li.tabberactive {
border: none !important;
}
.wyrmprints ul.tabbernav li.tabberactive a,
.wyrmprints ul.tabbernav li.tabberactive a,
.enemy-container ul.tabbernav li.tabberactive a,
.enemy-container ul.tabbernav li.tabberactive a,
.skill-levels ul.tabbernav li.tabberactive a,
.skill-levels ul.tabbernav li.tabberactive a,
.adv-portrait ul.tabbernav li.tabberactive a,
.adv-portrait ul.tabbernav li.tabberactive a,
.mana-circle ul.tabbernav li.tabberactive a,
.mana-circle ul.tabbernav li.tabberactive a {
background-color: #ffffff;
color: #000000 !important;
border: 1px solid black !important;
}
.wyrmprints-details ul.tabbernav li a,
.wyrmprints-details ul.tabbernav li a:link,
.skill-details ul.tabbernav li a,
.skill-details ul.tabbernav li a:link {
font-size: 0.9em;
border-radius: 8px;
}
.skill-levels ul.tabbernav li a,
.skill-levels ul.tabbernav li a:link {
font-size: 0.8em;
}
ul.tabbernav li a {
border: 1px solid #e0e0e0 !important;
}
ul.tabbernav {
line-height: 2.2;
}
/* CSS For No History Tabber (Template:Tab) */
.oo-ui-widget.oo-ui-selectWidget {
background-color: initial;
text-align: center;
}
.oo-ui-optionWidget {
color: black;
font-family: Verdana, sans-serif;
font-size: 12px;
font-weight: 700;
padding: 3px .5em;
}
.oo-ui-optionWidget:hover {
background-color: #e4e4e4 !important;
}
.oo-ui-optionWidget.oo-ui-widget-enabled {
border: 1px solid #e0e0e0;
}
.oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
border: 1px solid black;
cursor: pointer;
}
.oo-ui-tabOptionWidget .oo-ui-labelElement-label {
border: 0 !important;
margin: 0;
padding: 0;
line-height: normal;
}
/* End of No History Tabber CSS*/
/** [[Template:WeaponNotable]] (WIP) **/
.weapon-notable > .notable-header a {
color: white;
}