User:Phiarc/October2011/mabe-october-mobile.css

From mediawiki.org

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/**
 * mabe-october-mobile.css 
 * Copyright (c) 2011 Marian Beermann
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
 
#slideshow-wrapper {
	width: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
}

#slideshow-main {
	width: 100%;
	height: 100%;
	
	background-color: #000;
	z-index: 1501;
	
	text-align: center;
	position: relative;
}

#slideshow-main .left-arrow,
#slideshow-main .right-arrow,
#slideshow-main .close,
#slideshow-main .secondary-button {
	position: absolute;
	display: block;
	
	z-index: 1000;
	opacity: 0;
	
	background-repeat: no-repeat;
	background-color: #111;
}

#slideshow-main .left-arrow,
#slideshow-main .right-arrow {
	width: 33%;
	height: 100%;
	
	top: 0px;
	bottom: 0px;
	
	background-position: center 50%;
}

#slideshow-main .left-arrow {
	left: 0px;
}

#slideshow-main .right-arrow {
	right: 0px;
}

#slideshow-main .close {
	font-size: 0;
	
	left: 33%;
	top: 0px;
	right: 33%;
	bottom: 50%;
	
	background-image: url("//upload.wikimedia.org/wikipedia/commons/2/2d/CloseButton.png");
	background-position: center 90%;
}


#slideshow-main .secondary-button {
	left: 33%;
	right: 33%;
	top: 50%;
	bottom: 0px;
	background-position: center 10%;
}

#slideshow-main .loading {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/a/a9/SlideshowLoader_Preparing_your_Slideshow.gif");
	background-position: 50% 50%;
	background-repeat: no-repeat;
	padding: 0; /* to overwrite default padding "provided" by mediawiki */
}

#slideshow-main .slideshow {
	text-align: center;
	position: absolute;
	left: 0px;
	width: 100%;
	
	z-index: 100;
	overflow: visible;
}

#slideshow-main .slideshow p {
	display: none;
}

#slideshow-main .thumbnails {
	display: none;
}

#slideshow-top,
#slideshow-bottom {
	display: none;
}

#slideshow-bottom {
	border-top: 1px solid #333;
}

#preferences {
	margin-bottom: 1em;
}