User:Phiarc/October2011/mabe-october.css

From MediaWiki.org
Jump to navigation Jump to search

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.
/**
 * mabe-october.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: 70%;
	
	opacity: 0.99;
	background-color: #000;
	z-index: 1501;
	filter: alpha(opacity = 95);
	zoom: 1;
	
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
	
	text-align: center;
	position: relative;
}

#slideshow-main .left-arrow {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/7/7d/Slideshow_Arrow_left.png");
	width: 150px;
	height: 300px;
	display: block;
	
	position: absolute;
	left: 20px;
	z-index: 1000;
}

#slideshow-main .right-arrow {
	background-image: url("//upload.wikimedia.org/wikipedia/commons/6/64/Slideshow_Arrow_right.png");
	width: 150px;
	height: 300px;
	display: block;
	float: right;
	
	position: absolute;
	right: 20px;
	z-index: 1000;
}

#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: 190px; /* 150px from arrow + 20px margin from arrow to window + 20px margin to .slideshow */
	z-index: 100;
	overflow: visible;
}

#slideshow-main .slideshow img {
	padding-top: 10px;
}

#slideshow-main .slideshow p > img {
	padding: 0;
}

#slideshow-main .slideshow p {
	color: #FFF;
	margin: 0;
	padding-top: 10px;
	font-size: 80%;
	display: block;
}

#slideshow-main .thumbnails {
	height: 120px;
	width: 100%;
	position: absolute;
	bottom: 10px;
	z-index: 10;
	
	overflow: auto;
	white-space: nowrap;
}

#slideshow-main .thumbnails a {
	margin-right: 10px;

	opacity: 0.2;
}

#slideshow-main .thumbnails a.activeSlide {
	opacity: 1;
}

#slideshow-main .thumbnails img {
	vertical-align: middle;
}

#slideshow-main .close {
	color: #666;
	position: absolute;
	right: 10px;
	top: -22px; /* 1px border + 1px another border + 20px line-height */
	font-weight: bold;
	text-transform: uppercase;
	background-image: url("//upload.wikimedia.org/wikipedia/commons/2/2d/CloseButton.png");
	background-repeat: no-repeat;
	background-position: left 1px;
	padding-left: 20px;
}

#slideshow-top,
#slideshow-bottom {
	width: 100%;
	height: 15%;
	
	opacity: 0.9;
	background-color: #000;
	z-index: 1500;
	filter: alpha(opacity = 80);
	zoom: 1;
	
	position: relative;
}

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

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

#preferences {
	margin-bottom: 1em;
}