We need TW players to complete the article of the region-locked game Fingertips Breakout.
We're aware of an issue which causes comments to only appear after a long delay and are working on a solution.
You don't need an account to add and correct this Wiki. 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
Pianoforte (talk | contribs)
No edit summary
Line 387: Line 387:
     display: block;
     display: block;
     left:1em;
     left:1em;
}
.content table {
    float: none !important;
    margin-left: unset;
    margin-right: unset;
    width:unset;
}
}

Revision as of 14:10, 19 October 2016

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

/*Mainpage no Title*/
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/*Page Background*/



/* logo */

#mw-panel #p-logo .mw-wiki-logo {
    background-image: none;
    background-color: transparent;
    width: 176px;
    height: 199px;
}

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(http://gfwiki.com/images/a/a6/Header.png), url(http://gfwiki.com/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;
}



/*image*/

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

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




/*For construction tables*/
@media only screen and (min-width: 1600px) {
	.variable-columns {
		-ms-column-count: 3;
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}
}

@media only screen and (min-width: 1080px) and (max-width: 1599px) {
		.variable-columns {
		-ms-column-count: 2;
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
	}
}

@media only screen and (max-width: 1079px) {
	.variable-columns {
		-ms-column-count: 1;
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
}

@media only screen and (max-width: 799px) {
	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 */


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

.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-darkcell {
	background: rgba(0, 0, 0, 0.6);
}








/*                     main page                    */
/* 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;
}

@media screen and (min-width: 0px)
.rightcol, .leftcol {
    max-width: 800px;
	width:100%;
	margin-left:auto;
	margin-right:auto;
}
.leftcol {
	max-width: 800px;
	width:100%;
    float: left;
    position: relative;
    right:0;
    margin-bottom:5px;
}

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

#timerwidgets{float:left}


.test{
	/*line-height:1.2 !important; MediaWiki resizes line height, destroying placements.*/
	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) {
	.test{
		/*line-height:1.2 !important; MediaWiki resizes line height, destroying placements.*/
		width:100%;
	}
	#timerwidgets{width:240px;float:left;}
	#twitterbox{width:auto;margin-left:245px;}
	#twitter-widget-0{height:274px!important;}
}
/* over 800px, not resize for page necessary*/
@media only screen and (min-width: 1040px) {
.test{	
	width:800px;
	height:auto;
}
	#timerwidgets{width:345px;float:left;}
	#twitterbox{width:450px;float:left;margin-left:5px;}
	#twitter-widget-0{height:379px!important;}
}

@media only screen and (min-width: 1360px) {
	.test{
		/*line-height:1.2 !important; MediaWiki resizes line height, destroying placements.*/
	    width:-moz-fit-content;
	    width:-webkit-fit-content;
	    width:-ms-fit-content;
	}
	.rightcol{width:240px;margin-left:2em;}
	#timerwidgets{width:240px;}
	#twitterbox{width:240px;margin-left:0px;}
}

@media only screen and (min-width: 1480px) {
	.rightcol{width:360px;margin-left:2em;}
	#timerwidgets{width:360px;}
	#twitterbox{width:360px;margin-left:0px;}
}


@media only screen and (min-width: 1600px) {
	.rightcol{width:480px;}
	#timerwidgets{width:235px;}
	#twitterbox{width:240px;margin-left:5px;}
	#twitter-widget-0{height:269px!important;}
}

@media only screen and (min-width: 1720px) {
	.rightcol{width:600px;}
	#timerwidgets{width:295px;}
	#twitterbox{width:300px;}
	#twitter-widget-0{height:329px!important;}
}

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

#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("http://gfwiki.com/images/1/10/Aboutgame.png");
	background-repeat: no-repeat;	
	background-position: -1.5em -0.2em,left top;
	overflow:hidden;
}


#mainmenu{
	background-image:url("http://gfwiki.com/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("http://gfwiki.com/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("http://gfwiki.com/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;
}


.content table {
    float: none !important;
    margin-left: unset;
    margin-right: unset;
    width:unset;
}