MediaWiki:Mobile.css: Difference between revisions

From No Man's Land - A Trigun Wiki
Jump to navigation Jump to search
(Created page with "→‎All CSS here will be loaded for users of the mobile site: @media screen and (max-width:700px) { .mw-content-ltr figure[typeof="mw:File/Thumb"], .mw-content-ltr figure[typeof="mw:File/Frame"] { float:none; margin:auto; max-width:100%; } .wikitable.infobox { float:none; width:100%; margin:auto; } }")
 
No edit summary
Tags: Reverted Mobile edit Mobile web edit
Line 1: Line 1:
/* All CSS here will be loaded for users of the mobile site */
/* CSS placed here will be applied to all skins */
 
a:visited,
.mw-parser-output a.extiw:visited,
.mw-parser-output a.external:visited {
  color:#723DAA;
}
 
/* MESSAGEBOX */
.messagebox {
    border-collapse:collapse;
margin:auto;
    min-width:55%;
    max-width:80%;
background-color:#F7F6F4;
border:1px solid #DBDAD9;
}
 
.messagebox-image {
    width:60px;
    padding:3px 0.25em;
    text-align:center;
}
.messagebox-image > img { width:60px; }
 
.messagebox-text {
    padding:0.25em 0.5em;
    font-size:1.1em;
}
 
.messagebox-bottomtext {
    margin-top:0.25em;
    margin-left:0.8em;
    font-size:0.85em;
}
 
/* INFOBOX */
.wikitable.infobox {
    float: right;
    margin-left: 0.5em;
    margin-right: 0px;
    width: 20%;
    max-width:30em;
    min-width:20em;
}
 
/* MOBILE FIXES */
@media screen and (max-width:700px) {
@media screen and (max-width:700px) {
     .mw-content-ltr figure[typeof="mw:File/Thumb"], .mw-content-ltr figure[typeof="mw:File/Frame"] {
     .mw-content-ltr figure[typeof="mw:File/Thumb"], .mw-content-ltr figure[typeof="mw:File/Frame"] {

Revision as of 20:19, 4 January 2024

/* CSS placed here will be applied to all skins */

a:visited,	
.mw-parser-output a.extiw:visited,
.mw-parser-output a.external:visited {
  color:#723DAA;
}

/* MESSAGEBOX */
.messagebox {
    border-collapse:collapse;
	margin:auto;
    min-width:55%;
    max-width:80%;
	background-color:#F7F6F4;
	border:1px solid #DBDAD9;
}

.messagebox-image {
    width:60px;
    padding:3px 0.25em;
    text-align:center;
}
.messagebox-image > img { width:60px; }

.messagebox-text {
    padding:0.25em 0.5em;
    font-size:1.1em;
}

.messagebox-bottomtext {
    margin-top:0.25em;
    margin-left:0.8em;
    font-size:0.85em;
}

/* INFOBOX */
.wikitable.infobox {
    float: right;
    margin-left: 0.5em;
    margin-right: 0px;
    width: 20%;
    max-width:30em;
    min-width:20em;
}

/* MOBILE FIXES */
@media screen and (max-width:700px) {
    .mw-content-ltr figure[typeof="mw:File/Thumb"], .mw-content-ltr figure[typeof="mw:File/Frame"] {
        float:none;
        margin:auto;
        max-width:100%;
    }
    .wikitable.infobox {
        float:none;
        width:100%;
        margin:auto;
    }
}