Check out Sunborn's two newly announced games (official English titles pending): Girls' Frontline: Blue Butterfly Contract and Reverse Collapse: F !
You don't need an account to join in. Learn how to contribute, browse Bounties and join our Discord server.

MediaWiki:Mobile.css: Difference between revisions

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
Pianoforte (talk | contribs)
No edit summary
No edit summary
Line 14: Line 14:


#mw-panel #p-logo .mw-wiki-logo {
#mw-panel #p-logo .mw-wiki-logo {
background-image: url(http://gfwiki.com/images/c/c9/Logo.png);
background-image: url(/images/c/c9/Logo.png);
     background-color: transparent;
     background-color: transparent;
     padding: 10px 25px 0 10px;
     padding: 10px 25px 0 10px;
Line 40: Line 40:
     background: none;
     background: none;
     height: 200px;
     height: 200px;
     background-image: url(http://gfwiki.com/images/a/a6/Header.png), url(http://gfwiki.com/images/7/7b/Bannerbg.png);
     background-image: url(/images/a/a6/Header.png), url(/images/7/7b/Bannerbg.png);
     background-position: center,top;
     background-position: center,top;
     background-repeat: no-repeat,repeat-x;
     background-repeat: no-repeat,repeat-x;
Line 152: Line 152:


.card-bg {
.card-bg {
background-image:url("http://gfwiki.com/images/5/5a/Infobox_bg.png");
background-image:url("/images/5/5a/Infobox_bg.png");
width:256px;
width:256px;
height:456px;
height:456px;
Line 158: Line 158:
}
}
.card-bg-small {
.card-bg-small {
background-image:url("http://gfwiki.com/images/thumb/5/5a/Infobox_bg.png/138px-Infobox_bg.png");
background-image:url("/images/thumb/5/5a/Infobox_bg.png/138px-Infobox_bg.png");
width:128px;
width:128px;
height:228px;
height:228px;
Line 452: Line 452:
border-style: solid;
border-style: solid;
box-shadow: 0px 0px 10px #000;
box-shadow: 0px 0px 10px #000;
background-image:url("http://gfwiki.com/images/1/10/Aboutgame.png");
background-image:url("/images/1/10/Aboutgame.png");
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: -1.5em -0.2em,left top;
background-position: -1.5em -0.2em,left top;
Line 462: Line 462:


#mainmenu{
#mainmenu{
background-image:url("http://gfwiki.com/images/8/86/BG_homescreen.jpg");
background-image:url("/images/8/86/BG_homescreen.jpg");
background-repeat: no-repeat;
background-repeat: no-repeat;
background-size: cover;
background-size: cover;
Line 476: Line 476:


#directory{
#directory{
background-image:url("http://gfwiki.com/images/e/e8/BG_main_directory.png");
background-image:url("/images/e/e8/BG_main_directory.png");
background-color: #3f3f3f;
background-color: #3f3f3f;
border: rgb(150,150,150);
border: rgb(150,150,150);
Line 492: Line 492:


#updates{
#updates{
background-image: url("http://gfwiki.com/images/thumb/6/6f/BG_factory.png/395px-BG_factory.png");
background-image: url("/images/thumb/6/6f/BG_factory.png/395px-BG_factory.png");
background-repeat: no-repeat;
background-repeat: no-repeat;
background-size: cover;
background-size: cover;

Revision as of 04:53, 11 April 2017

body {
	font-family: Arial, Sans-Serif;
}


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

/*Mainpage no Title*/

/*Page Background*/


/* logo */

#mw-panel #p-logo .mw-wiki-logo {
	background-image: url(/images/c/c9/Logo.png);
    background-color: transparent;
    padding: 10px 25px 0 10px;
    margin: -10px;
	position: relative;
	z-index: -1;
}

div#mw-panel div.portal div.body ul li a {color: #FFCC00;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
div#mw-panel div.portal div.body ul li a:visited {color: #EEAA00;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}

div#mw-panel div.portal h3 {color: #FFFFFF;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
#mw-panel.collapsible-nav .portal.collapsed h3 a {color: rgb(250,250,250);}
#mw-panel.collapsible-nav .portal h3 a {color: rgb(250,250,250);text-decoration: none;}

a {color: #FFCC00;}
a:visited {color: #EEAA00;}




/* header */

div#mw-page-base {
    background: none;
    height: 200px;
    background-image: url(/images/a/a6/Header.png), url(/images/7/7b/Bannerbg.png);
    background-position: center,top;
    background-repeat: no-repeat,repeat-x;
    background-size: auto 200px;
}


/* For the background images on T-Doll pages */
.bg-character {
    display: none;
}

.bg-rarity {
    display: none;
}

/*For Template:DollBG on t-doll pages*/
#bg-character {
    position: fixed;
    height: 1280px;
    min-height:500px;
    top:10%;
    left:0;
    z-index: -2;
}

#bg-rarity {
    position: fixed;
    top:15%;
    right:5%;
    z-index: -3;
    width:650px;
}



/* Tabs extension*/
.tabs-tabbox {margin:0;}

.tabs-tabbox > .tabs-container {
    border: none;
	padding: 0;
	margin-top: 0;
}


.tabs-tabbox > .tabs-input:checked + .tabs-label, .tabs-input-0:checked + .tabs-input-1 + .tabs-label {
    background-color: #F0b000;
    border-radius: 15px;
    color:#4E443C;
    border: none;
    text-shadow:none;
    z-index:5;
}


.tabs-tabbox > .tabs-label {
    background-color: #4E443C;
    border-radius: 15px;
    color:#F0b000;
    border: none;
    text-shadow:none;
    z-index:5;
    font-weight: bold;
}

/*gallery tabs*/
.tabs-gallery {	display:inline-block;}
.tabs-gallery > .tabs-container {margin-top: -24px;}
.tabs-gallery > .tabs-label {
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
	opacity:0.5;
}
.tabs-gallery > .tabs-label:hover {opacity:1;}

/*gradient divs*/
.gradientDivs {
	width:100%;	
}
.gradientDivs > div{
	background: -moz-radial-gradient(at left top,rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.25) 10%, transparent 70%); /* FF3.6-15 */
	background: -webkit-radial-gradient(at left top,rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.25) 10%, transparent 70%); /* Chrome10-25,Safari5.1-6 */
	background: radial-gradient(at left top,rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.25) 10%, transparent 70%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	padding: 1em;
	overflow: hidden;
	max-width: 800px;
	height:90px;
	position:relative;
}

.gradientDivs > h4 {
	background-color: rgba(255,255,255,0.25);
	display: table;
	padding: 3px 6px 3px 6px;
	margin-left: 0.25em;
}
.gradientDivs > h4 > .mw-editsection {display:none;}
.gradientDivs > div > div{background: linear-gradient(115deg,rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 60%, transparent 90%);width:80%;padding:0 5px 0 5px;}	
.gradientDivs > div > p {width:75%;text-align:right;position:absolute;bottom:1em;}


/*image*/

div.thumbinner {
    border: 0;
    background-color: rgba(255,255,255,0.25);
}

.card-bg {
	background-image:url("/images/5/5a/Infobox_bg.png");
	width:256px;
	height:456px;
	padding:10px;
}
.card-bg-small {
	background-image:url("/images/thumb/5/5a/Infobox_bg.png/138px-Infobox_bg.png");
	width:128px;
	height:228px;
	padding:5px;
}




	.variable-columns {
		-ms-column-width: 450px;
		-moz-column-width: 450px;
		-webkit-column-width: 450px;
		column-width: 450px;
	}

/* for color inversion */
.invertcolor{-webkit-filter:invert(1);filter:invert(1)}
.invertcolor-50{-webkit-filter:invert(1);filter:invert(0.5)}

/*For construction tables*/

.multi-column-table tbody {display:block;}
.multi-column-table tr {display:table;}
.multi-column-table td {display:table-cell;}
.multi-column-table tbody, .multi-column-table tr {min-width:100%;}
.multi-column-table table {width: 100%; max-width: 100%;}


.multi-column-table tbody {
    column-width:450px;
    -moz-column-width:450px;
    -webkit-column-width:450px;
}

.multi-column-200px tbody {
	-ms-column-width: 200px;
    -moz-column-width:200px;
    -webkit-column-width:200px;
    column-width:200px;
}


@media only screen and (max-width: 820px) {
	div#mw-panel {display:none;}
	div#left-navigation{margin-left:0;}
	.mw-body {margin-left:0;}
}





/* floatright */
div.floatright, table.floatright {margin: 0;}
/* floatleft */
div.floatleft, table.floatleft {margin: 0;}





/* standard link colors */
.mw-body a, .mw-body a.extiw { color: #FFCC00; } /* normal unvisited links */
.mw-body a.external  { color: #FFCC00; } /* normal unvisited links */
.mw-body a:visited, .mw-body a.external:visited, .mw-body a.extiw:visited { color: #EEAA00; } /* visited links */
.mw-body a.new { color: #DD0000; } /* new links */


/* Spoiler Text */
.spoiler {
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
    -webkit-filter: blur(3px); /* Safari 6.0 - 9.0 */
    filter: blur(3px);
}

.spoiler:hover {
    filter:	none;
}


.darken {filter:brightness(30%);}


/* Tables */
.gf-table th {
	color: #322300;
	font-size: 110%;
	background-color: #f0b000;
	text-align: center;
	vertical-align: top;
	padding: 5px;
	text-shadow:none;
}

.gf-table th a {color: #875e00}

.gf-table td {
	background-color: transparent;
	color: white;
	background: rgba(0, 0, 0, 0.6);
	vertical-align: top;
	padding: 5px;
}


.gf-table-lightcell td {
	background: rgba(0, 0, 0, 0.3);
}

.gf-table-layered td {
	background: rgba(0, 0, 0, 0.3);
	color:rgb(200,200,200);
}

.gf-table-layered th {
	color:white;
	background: rgba(0, 0, 0, 0.6);
}


.gf-table-darkcell {
	background: rgba(0, 0, 0, 0.6);
}


/*equipment*/
.greenrow > td {color:green;}
.redrow > td {color:red;}



/* picture preview*/
body.mediawiki.mw-mmv-lightbox-open #mw-page-base, body.mediawiki.mw-mmv-lightbox-open #mw-head-base, body.mediawiki.mw-mmv-lightbox-open #mw-navigation, body.mediawiki.mw-mmv-lightbox-open #content, body.mediawiki.mw-mmv-lightbox-open #footer, body.mediawiki.mw-mmv-lightbox-open #globalWrapper {display: inherit;}
body.mediawiki.mw-mmv-lightbox-open {overflow: hidden;}
.mw-mmv-overlay{background-color:rgba(10,10,10,0.9);}
.mw-mmv-image img {background: none;}

/* fading effects*/

.hover-button { 
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
	opacity:0.75;
}

.hover-button:hover { 
	opacity:1;
}

.hover-button50 { 
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
	opacity:0.5;
}

.hover-button50:hover { 
	opacity:1;
}


/*                     main page                    */


/*MAIN PAGE CONTENTS*/


.rightcol, .leftcol {
    max-width: 800px;
	width:100%;
	margin-left:auto;
	margin-right:auto;
}
.leftcol {
    float: left;
    position: relative;
    margin-bottom:5px;
}

.rightcol{
	float:left;
	height:auto;
}

#timerwidgets{float:left}

#flexible-panel{width:100%;display:none}

.mainpage{
	margin-left:auto;
	margin-right:auto;	/*Mediawiki max space for 1080p is some 1600px*/
    padding:0;
}

/* small screen less than 800px content width*/
@media only screen and (max-width: 1040px) {
	.mainpage{
		width:100%;
	}
	#timerwidgets{width:240px;float:left;}
	#twitterbox{width:auto;margin-left:245px;}
	#twitter-widget-0{height:274px!important;}
	#updates{max-height:136.833px;}
	#promotions{max-height:120.133px;}
}
/* over 800px, not resize for page necessary*/
@media only screen and (min-width: 1040px) {
	.mainpage{width:800px;}
	#timerwidgets{width:345px;float:left;}
	#twitterbox{width:450px;float:left;margin-left:5px;}
	#twitter-widget-0{height:379px!important;}
	#aboutgame{width:800px;}
	#updates{max-height:198.25px;}
	#promotions{max-height:164px;}
}


@media only screen and (min-width: 1360px) {
	.mainpage{width:1068px;}
	.rightcol{width:240px;margin-left:2em;}
	#timerwidgets{width:240px;}
	#twitterbox{width:240px;margin-left:0;min-height: 479px;max-height: 479px;margin-bottom:5px;}
	#twitter-widget-0{height:479px!important;}
	#updates{max-height:136.833px;}
	#promotions{max-height:120.133px;}
	
}

@media only screen and (min-width: 1480px) {
	.mainpage{width:1188px;}
	.rightcol{width:360px;margin-left:2em;}
	#timerwidgets{width:360px;}
	#twitterbox{width:360px;margin-left:0px;min-height: 361px;max-height: 361px;}
	#twitter-widget-0{height: 361px !important;}
	#updates{max-height:217.017px;}
	#promotions{max-height:170.267px;}
}


@media only screen and (min-width: 1600px) {
	.mainpage{width:1308px;}
	.rightcol{width:480px;}
	#timerwidgets{width:235px;}
	#twitterbox{width:240px;margin-left:5px;min-height: 269px;max-height: 269px;}
	#twitter-widget-0{height:269px!important;}
	#aboutgame{width:480px;margin-left:2em;}
	#updates{max-height:133.917px;}
	#promotions{max-height:118.05px;}
}

@media only screen and (min-width: 1720px) {
	.mainpage{width:1428px;}
	.rightcol{width:600px;}
	#timerwidgets{width:295px;}
	#twitterbox{width:300px;min-height: 329px;max-height: 329px;}
	#twitter-widget-0{height:329px!important;}
	#aboutgame{width:600px;}
	#updates{max-height:169px;}
	#promotions{max-height:143.117px;}
}

.homepage-panel{
	background-color: rgba(150,150,150,0.8);
	border: rgb(150,150,150);
	border-width: 0.25em;
	border-style: solid;
	box-shadow: 0px 0px 10px #000;
}

#twitterbox{
	background-image:url(http://en.gfwiki.com/images/c/c6/BG_twitter.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position:center;
	border-radius: 4px;
	background-color:#fff;
	position:relative;
	z-index:3;
}

#aboutgame{
	padding:0.5em;
	background-color: #3f3f3f;
	border: rgb(150,150,150);
	border-width: 0.25em;
	border-style: solid;
	box-shadow: 0px 0px 10px #000;
	background-image:url("/images/1/10/Aboutgame.png");
	background-repeat: no-repeat;	
	background-position: -1.5em -0.2em,left top;
	overflow:hidden;
	display:inline-block;
	box-sizing:border-box;
}


#mainmenu{
	background-image:url("/images/8/86/BG_homescreen.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	margin-top:5px;
	max-width:800px;
	height:300px;
	position:relative;
	border: rgb(150,150,150);
	border-width: 0.25em;
	border-style: solid;
	box-shadow: 0px 0px 10px #000
}

#directory{
	background-image:url("/images/e/e8/BG_main_directory.png");
	background-color: #3f3f3f;
	border: rgb(150,150,150);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: auto 100%;
	margin-top:5px;
	max-width:800px;
	position:relative;
	border-width: 0.25em;
	border-style: solid;
	box-shadow: 0px 0px 10px #000;
	padding:0.5em;
}

#updates{
	background-image: url("/images/thumb/6/6f/BG_factory.png/395px-BG_factory.png");
	background-repeat: no-repeat;
	background-size: cover;
	width:360px;
	width:auto;
	border: rgb(150,150,150);
	border-width: 0.25em;
	border-style: solid;
	box-shadow: 0px 0px 10px #000;
	margin-bottom:5px;
}



.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    z-index:3;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    text-decoration: none;
    display: block;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.dropdown-content a:hover {opacity:0;}

.dropdown:hover .dropdown-content {
    bottom: 100%;
    display: block;
    left:1em;
}