MediaWiki:Mobile.css
Jump to navigation
Jump to search
In other languages: Deutsch • Español • Français • Italiano • 日本語 • Polski • Português do Brasil • Русский • ไทย
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.
/* [[de:MediaWiki:Mobile.css]] * [[es:MediaWiki:Mobile.css]] * [[fr:MediaWiki:Mobile.css]] * [[it:MediaWiki:Mobile.css]] * [[ja:MediaWiki:Mobile.css]] * [[pl:MediaWiki:Mobile.css]] * [[pt-br:MediaWiki:Mobile.css]] * [[ru:MediaWiki:Mobile.css]] * [[th:มีเดียวิกิ:Mobile.css]] */
/* CSS placed here will affect users of the mobile site */
.nomobile { display: none; }
.pseudo-link { color: var(--fandommobile-link-color); }
/*************************
* Front/main page tweaks *
**************************/
/*** mobile front page collapse ***/
.fpbox.mobilecollapsible .fpheading a.togglecollapse {
display: block;
padding: 0 0 2px 15px;
}
.fpbox.mobilecollapsible .fpheading a.togglecollapse:active,
.fpbox.mobilecollapsible .fpheading a.togglecollapse:hover {
text-decoration: none;
}
.fpbox.mobilecollapsible.collapsed .fpheading {
border: none;
margin-bottom: -4px;
}
.fpbox.mobilecollapsible .fpheading a.togglecollapse {
position: relative;
}
.fpbox.mobilecollapsible .fpheading a.togglecollapse:before {
content: "";
width: 12px;
height: 12px;
background-image: url("/skins/Vector/images/arrow-down.png");
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E %3Cpath d=%22M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5%22 fill=%22%23222%22/%3E %3C/svg%3E");
position: absolute;
left: 0;
top: 50%;
margin-top: -6px;
}
.fpbox.mobilecollapsible.collapsed .fpheading a.togglecollapse:before {
transform: rotate(-90deg);
}
.fpbox.mobilecollapsible.collapsed .fpbody {
display: none;
}
/* Invert [[File:PS.svg]] colors for better visibility */
img[src*="/PS.svg/"] {
filter: invert(100%);
}
/*****************************
* End front/main page tweaks *
******************************/
/* photo displays */
ul.photo-nav {
margin:0;
text-align:center;
}
li.photo-bg {
margin:4px 0;
padding: 5px;
position: relative;
display: inline-block;
vertical-align: top;
text-align: center;
background: #ffffff25;
border: 1px solid #ffffff30;
box-shadow: 0 0 8px #333;
}
/* link-spanner */
.link-spanner {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}
/* Tiles (Template:Tile) */
.tile_container {
margin: 4px 0px 8px 8px;
padding: 0;
position: relative;
display: inline-block;
width: 105px;
height: 105px;
vertical-align: middle;
text-align: center;
border: 1px solid black;
border-radius: 15px;
}
.tile_container:hover{
background: #ffffff25;
}
.tile_inner {
position:relative;
top:6px;
left:0;
font-size:14px;
font-weight:bold;
width:100%;
height:100%;
}
.tile_inner br {
display:none;
}
.tile_inner figure {
max-height:100%;
margin:0;
}
.tile_inner img {
height:75px;
width:auto;
border:none;
}
/* -------------------------- */
/* "ARKITEXURE"-STYLE INFOBOX */
/* -------------------------- */
/* arkitexure rounded borders */
.info-arkitex {
border-radius: 10px;
}
.info-arkitex-left {
border-radius: 10px 0 0 10px;
}
.info-arkitex-right {
border-radius: 0 10px 10px 0;
}
.info-arkitex.info-X3-33:nth-child(2) {
border-radius: 0;
}
/* arkitexure full container */
.info-framework {
margin:0 auto;
width: 100%;
max-width: 402px;
}
/* arkitexure individual module (sub-container) */
.info-module {
display:inline-block;
min-width:333px;
width:100%;
/*! max-width:402px; */
text-align:right;
margin:0;
padding:4px 4px 0 4px;
overflow:hidden;
}
/* arkitexure "sub-module" component */
.info-unit {
display:inline-block;
width:100%;
min-width:333px;
max-width:402px;
text-align:center;
margin:0;
padding:0;
overflow:hidden;
}
.info-unit-row {
display:flex;
flex-direction:row;
justify-content: center;
min-width:335px;
width:100%;
/*! max-width:402px; */
padding:0;
margin:0;
overflow:hidden;
}
.info-unit-comment {
display:flex;
align-items:left;
}
.info-unit-caption {
text-align:center !important;
padding:0 8px 0 8px !important;
}
/* arkitexure cell, intended for one total column, 100% width */
.info-X1-100 {
display:inline-block;
min-width:330px;
width:100%;
max-width:396px;
margin:1px;
padding:5px 2px 5px 2px;
}
.info-masthead {
display:flex !important;
align-items:center;
justify-content:center;
min-height:38px;
height:auto;
font-size:24px;
}
.info-column {
display:flex !important;
flex-direction:column;
align-items:center;
}
.info-sound-div {
margin:5px 0 -5px 0;
}
/* arkitexure cell, intended for two total columns, 25% width */
.info-X2-25 {
display:flex;
align-items:center;
justify-content:center;
min-width:65px;
width:25%;
max-width:92px;
min-height:40px;
height:40px;
max-height:40px;
margin:1px;
padding:5px 8px 5px 8px;
}
/* arkitexure cell, intended for two total columns, 75% width */
.info-X2-75 {
display:flex;
align-items:center;
justify-content:center;
min-width:233px;
width:75%;
max-width:274px;
margin:1px;
padding:5px 8px 5px 8px;
min-height:40px;
height:auto;
font-size:24px;
}
/* arkitexure cell, intended for two total columns, 50% width */
.info-X2-50 {
min-width:93px;
width:50%;
max-width:180px;
min-height:24px;
height:auto;
margin:1px;
background:#ffffff25;
text-align:center;
}
/* arkitexure cell, intended for two total columns, 40% width */
.info-X2-40 {
display:inline-block;
min-width:140px;
width:40%;
max-width:144px;
min-height:24px;
height:24px;
max-height:24px;
margin:1px;
padding:5px 8px 5px 8px;
text-align:right;
}
/* arkitexure cell, intended for two total columns, 60% width */
.info-X2-60 {
display:inline-block;
min-width:158px;
width:60%;
max-width:222px;
min-height:24px;
height:auto;
margin:1px;
padding:5px 8px 5px 8px;
text-align:left;
}
/* arkitexure cell, intended for three total columns, 33% width */
.info-X3-33 {
min-width:93px;
width:33%;
max-width:116px;
min-height:24px;
height:auto;
margin:1px;
background:#ffffff25;
text-align:center;
}
/* arkitexure cell, intended for four total columns, 25% width */
.info-X4-25 {
min-width:93px;
width:25%;
max-width:97px;
min-height:24px;
height:auto;
margin:1px;
background:#ffffff25;
text-align:center;
}
/* Spawning map */
.info-arkitex .spawningMap-container {
max-width:100%;
height:unset;
}
.info-arkitex .spawningMap-container img,
.info-arkitex .spawningMap-map,
.info-arkitex .svgCreatureMap {
width:100%;
}
.info-arkitex .spawningMap-container figure {
margin:0;
}
/* END "ARKITEXURE"-STYLE INFOBOX */
/* Creature Region Map */
.cr-region-map-map img{
filter: sepia(60%) grayscale(30%);
}
.cr-region-map-marker{
font-size: 12px;
font-weight: bold;
position: absolute;
border-radius: 2px;
}
.cr-region-map-markercave{
border: 1px solid black;
}
/* marks spawning areas with untameable creatures*/
.stripes {
background: repeating-linear-gradient(
45deg,
transparent,
transparent 5px,
rgba(0, 0, 0, 0.3) 5px,
rgba(0, 0, 0, 0.3) 10px
);
}
.map-container .square.untameable:after{
content: ' ';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 0.6;
background: repeating-linear-gradient( 45deg, #000, #000 5px, transparent 5px, transparent 10px );
}
.map-container .square.cave{
border-width: 4px;
}
.cr-region-map-very-common{
filter: hue-rotate(120deg) brightness(400%);
}
.cr-region-map-common{
filter: hue-rotate(78deg) brightness(400%);
}
.cr-region-map-uncommon{
filter: hue-rotate(60deg) brightness(400%);
}
.cr-region-map-very-uncommon{
filter: hue-rotate(48deg) brightness(400%);
}
.cr-region-map-rare{
filter: hue-rotate(24deg) brightness(400%);
}
.cr-region-map-cl-very-common{
background-color: hsl(120,100%,60%);
}
.cr-region-map-cl-common{
background-color: hsl(78,100%,60%);
}
.cr-region-map-cl-uncommon{
background-color: hsl(60,100%,63.3%);
}
.cr-region-map-cl-very-uncommon{
background-color: hsl(48,100%,63.3%);
}
.cr-region-map-cl-rare{
background-color: hsl(30,100%,56.7%);
}
.cr-region-map-cl-very-rare{
background-color: hsl(0,100%,56.7%);
}
.cr-region-map-cl-unknown{
background-color: #ccc;
}
/*** spawning-maps, svg ***/
.spawningMap-map {
filter: sepia(60%) grayscale(30%);
}
.spawningMap-deuteranopia.spawningMap-map,
.spawningMap-tritanopia.spawningMap-map {
filter: grayscale(90%) contrast(80%);
}
.spawningMap-very-common {
fill: #0F0;
background-color: #0F0;
}
.spawningMap-common {
fill: #B2FF00;
background-color: #B2FF00;
}
.spawningMap-uncommon {
fill: #FF0;
background-color: #FF0;
}
.spawningMap-very-uncommon {
fill: #FC0;
background-color: #FC0;
}
.spawningMap-rare {
fill: #F60;
background-color: #F60;
}
.spawningMap-very-rare {
fill: #F00;
background-color: #F00;
}
.spawningMap-legendBox {
display: inline-block;
border-radius: 2px;
width: 1.3em;
height: 1.3em;
vertical-align: text-bottom;
border: 1px solid gray;
}
/* Disable clear on {{tocright}} to prevent layout disruption (ToC is floating
and hidden by default) */
.tocright {
clear: none;
}
/* Definition list header bold font & slight margin as there's no styling by default */
dl > dt {
font-weight: 500;
margin-top: 0.2em;
}
/* [[Template:PaintRegions]] */
:root {
--ark-paintregion-background-color: #ffffff25;
--ark-paintregion-border-color: #7D6C7A;
}
.paintregion {
background: var(--ark-paintregion-background-color);
border: 0.3em inset var(--ark-paintregion-border-color);
margin-top: 2px;
}
.paintregion img.article-media-placeholder {
border: none;
}
.paint-region-tabber > .tabber > dl {
margin: 0.8em 0 -0.2em;
}
/* H3 top margins when under tabber boxes */
.tabber + h3,
.paint-region-tabber + h3 {
margin-top: 0.8em;
}
/* Color list */
.color-container {
display:flex;
flex-wrap:wrap;
justify-content:center;
padding-bottom:10px;
padding-top:10px;
margin:-1px;
}
.color-square {
margin:1px;
border:1px solid black;
font-size: 0.8em;
color: black;
text-shadow: 0 0 3px white;
}
/* [[Template:Achievement]] styling */
.achieve_container {
width: 600px;
padding-left: 10px;
vertical-align: bottom;
background: var(--ark-paintregion-background-color);
border: 0.3em inset var(--ark-paintregion-border-color);
}
.achieve_container .achieve_name {
display: inline-block;
position: relative;
top: 7px;
font-size: 1.25em;
color: var(--theme-page-text-color);
}
.achieve_icon {
width: 64px;
height: 64px;
vertical-align: top;
}
.achieve_avail {
display: inline-block;
height: 0px;
margin-right: 5px;
}
.achieve_unavail {
display: inline-block;
height: 0px;
margin-right: 5px;
overflow: wrap;
}
.gray_circle {
display: block;
position: relative;
top: -19px;
background: lightgray;
border-radius: 50%;
height: 30px;
width: 30px;
}
/* Fix for [[Template:MapLocations]] */
.mapLocations figure > a {
position:static;
}
/* Template:AttackInfo */
.dino-attacks .article-table-wrapper {
margin-bottom: 6px;
}
.dino-attack-info th {
width: 140px;
}
/* Template:Infobox patch */
.info-patchbox-layout {
display: grid;
grid-template-columns: 65px 1fr 65px;
}
.info-patchbox-desc {
text-align: center;
font-size: 98%;
}
.info-patchbox-center {
margin: 0 auto;
padding: 0 4px;
}
/* [[Template:ResourceMap]] */
.mw-parser-output > .map-notice { display: block; margin: 0; border: none; }
.map-notice .article-media-placeholder.lazyloaded { border: none; }
.top-notice-image {
position: relative;
top: -100px;
height: 0;
z-index: 1;
}
.top-notice-text {
vertical-align: middle;
white-space: normal;
font-size: 22px;
padding-left: 10px;
}
.top-notice-text a { font-weight: bold; }
.data-map-container {
display: flex;
flex-direction: column;
padding: 5px;
border: 1px solid #000;
}
.data-map-container .data-map-needs-js { display: none; }
.data-map-container .resourcemap { width:100%; height:100%; }
.data-map-container .resourcemaptable { margin: 0; order:1; }
.map-container > figure { margin: 0; z-index: 1; width: 100%; }
.map-legend-container {
display: inline-block;
padding-right: 10px;
float: left;
max-width: 225px;
order:2;
}
.map-container { position: relative; }
.map-notice {
display: inline-block;
margin-bottom: 10px;
border: 1px solid var(--theme-border-color);
}
.map-legend-container .map-notice { padding: 10px; }
.map-legend .legend {
display: inline-block;
position: relative;
padding: 0;
border-radius: 50%;
margin-left: 3px;
}
.map-legend .dots {
text-align: right;
vertical-align: top;
}
.map-legend-container > button, .map-legend-container > select { width: 100%; }
.map-legend-container .details-toggle { display: block; }
ul.groups-legend, ul.groups-legend ul { list-style: none; }
ul.groups-legend { margin-left: 0; }
ul.groups-legend > li {
border: 1px solid #222;
margin-top: 0.3em;
}
ul.groups-legend > li:first-child { margin-top: 0; }
.map-container > .dots {
height: 100%;
width: 100%;
position: absolute;
inset: 0 100% 100% 0;
}
.map-container .dot, .map-container .dots > div {
position: absolute;
line-height: 0;
padding: 0;
border-radius: 50%;
z-index: 5;
}
.map-container .square {
position: absolute;
background-color: rgba(255,0,0,0.7);
border-radius: 5px;
border: 2px solid black;
z-index: 5;
}
.map-container .point {
width: 7px;
height: 7px;
background-color: rgba(255,0,0,0.7);
border: 1px solid black;
z-index: 5;
}
.map-legend td:first-child {
width: 25px;
text-align: center;
}
.map-legend tr.no-icon td:first-child { text-align:left; }
@media only screen and (max-width:1300px) {
.map-legend-container { max-width: unset; }
}
/* [[Template:ResourceMap]] manual marker styling */
.hide-cave .cave { display: none; }
.map-container .cave.dots > div {
border-style: double;
border-width: 2px;
}
.map-legend .legend, .map-container .dots > div {
width: 7px;
height: 7px;
background-color: #666;
border: 1px solid black;
}
.map-legend .crate, .map-container .dots.crate > div {
background-color: unset;
border: none;
}
.map-container .dot, .map-container .spawn-group > div { z-index:2; }
/* [[Template:Interactive Regionmap]] */
.interactive-regionmap {
--size: 600px;
position: relative;
width: var(--size);
height: auto;
max-width: 100%;
}
.interactive-regionmap > img, .interactive-regionmap > svg {
position: absolute;
inset: 0 0 0 0;
width: 100%;
height: 100%;
}
.svgRegion { fill:transparent; }
.svgRegion a:hover, .svgRegion a:focus { text-decoration: none; }
.svgRegion:hover g, .svgRegionHighlight g { fill: #f00; }
.svgRegion text {
opacity: 0;
font-family: arial;
font-size: 50px;
font-weight: bold;
stroke: white;
stroke-width: 2px;
fill: black;
pointer-events: none;
text-anchor: middle;
}
.svgRegion:hover text { opacity: 1; }