MediaWiki:Common.css

From BITPlan Wiki
Revision as of 15:43, 12 February 2016 by Mf (talk | contribs) (Created page with " →‎Das folgende CSS wird für alle Benutzeroberflächen geladen.: →‎* delta styles *: span.ok { padding-right: 18px; font-size: 16px; line-height: 18px;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 / Edge: 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.
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/** delta styles **/

span.ok {
        padding-right: 18px;
        font-size: 16px;
	line-height: 18px;
	background: url(images/5/57/Icon_ok.png) center right no-repeat;
}

span.question {
        padding-right: 18px;
        font-size: 16px;
	line-height: 18px;
	background: url(images/c/cc/Icon_question.png) center right no-repeat;
}

span.deltared {
        padding-right: 18px;
        font-size: 16px;
	line-height: 18px;
	background: url(images/4/48/Deltared.png) center right no-repeat;
}

span.deltagreen {
        padding-right: 18px;
        font-size: 16px;
	line-height: 18px;
	background: url(images/f/fb/Deltagreen.png) center right no-repeat;
}

/** BITPlan **/
div.bitplanorange {
  margin-top: 0.4cm;
  font-size: 125%; color: rgb(255, 128, 0);
  margin-bottom: 0.0cm;
}

/** Form formatting **/
span.formlabel {
  display:inline-block; 
  text-align: right;
  font-weight: bold;
  /* background-color:#EEEEFF; */
  width:100px;
}

/* wikitable from http://en.wikibooks.org/wiki/Editing_Wikitext/Class_and_Style_Notes */
table.problemtable {
   margin: 1em 1em 1em 0;
   background: #fdfef8;
   border: 1px #aaaaaa solid;
   border-collapse: collapse;
}

table.problemtable th, table.problemtable td {
   border: 1px #aaaaaa solid;
   padding: 0.2em;
}

table.problemtable th {
   background: #b4d4ed;
   text-align: right;
}

table.problemtable caption {
   margin-left: inherit;
   margin-right: inherit;
}
.e					{ background-color: #E5E5E5; font-weight: bold; color: #2E373F; border-top: 1px solid #FF7F00;}
.h					{ background-color: #FF8800; font-weight: bold; color: #000000; }
.p					{ text-align: left; }
.v					{ background-color: #F1F1F1; color: #2E373F; }
.vr					{ background-color: #cccccc; text-align: right; color: #2E373F; }

/** Form formatting **/
span.formlabel {
  display:inline-block; 
  text-align: right;
  font-weight: bold;
  background-color:#EEEEFF; 
  width:100px;
}
/** reduced subset of the mbox styles from enwiki, mainly for the nice boxflow **/
table.mbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #aaa; /* Default "notice" gray */
	background: #f9f9f9;
}
table.mbox-wide {
	margin: 4px 0;
}
 
th.mbox-text,
td.mbox-text {     /* The message body cell(s) */
	border: none;
	padding: 0.25em 0.9em;       /* 0.9em left/right */
	width: 100%;    /* Make all mboxes the same width regardless of text length */
}

td.mbox-image {                  /* The left image cell */
	border: none;
	padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
	text-align: center;
}

td.mbox-imageright {             /* The right image cell */
	border: none;
	padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
	text-align: center;
}

td.mbox-empty-cell {         /* An empty narrow cell */
	border: none;
	padding: 0px;
	width: 1px;
}

/* Built in semanics */
.smwbuiltin a,
.smwbuiltin a.new {
	color: #FF8000;
}

/** Former portal formatting (pls keep for backwards compatibility) */
div.userportal {
	padding-left: 130px;
	background: url(images/4/42/Userportal.png) top left no-repeat;
	height: 140px;
}

div.adminportal {
	padding-left: 130px;
	background: url(images/b/b1/Administrators.png) top left no-repeat;
	height: 140px;
}

div.devportal {
	padding-left: 130px;
	background: url(images/4/41/Developers.png) top left no-repeat;
	height: 140px;
}

div.mw-geshi {
	padding: 1em; 
	margin: 1em 0; 
	border: 1px dashed #2f6fab;
	background-color: #f9f9f9;
}

/** Language styles */

span.lang-de, span.lang-De {
	padding-right: 25px;
	background: url(images/e/e7/Lang-De.gif) center right no-repeat;
}

span.lang-en, span.lang-En {
	padding-right: 25px;
	background: url(images/7/78/Lang-En.gif) center right no-repeat;
}

span.lang-es {
	padding-right: 25px;
	background: url(images/6/61/Lang-Es.gif) center right no-repeat;
}

span.lang-fr {
	padding-right: 25px;
	background: url(images/f/f0/Lang-Fr.gif) center right no-repeat;
}

span.lang-ja {
	padding-right: 25px;
	background: url(images/9/95/Lang-Ja.gif) center right no-repeat;
}

span.lang-nl {
	padding-right: 25px;
	background: url(images/c/cb/Lang-Nl.gif) center right no-repeat;
}

span.lang-ru {
	padding-right: 25px;
	background: url(images/3/38/Lang-Ru.gif) center right no-repeat;
}

span.lang-zh-hans {
	padding-right: 25px;
	background: url(images/8/85/Lang-Zh-hans.gif) center right no-repeat;
}

span.lang-uk {
	padding-right: 25px;
	background: url(images/2/20/Lang-Uk.gif) center right no-repeat;
}

/** For main page */

div#content h1#firstHeading.firstHeading {
	border: none;
}

/** Various styles */

table.smworgtable {
	background: #164eaf;
	border: 1px solid black;
	margin: 0 0 0.5em 1em;
	padding: 3px 3px 3px 3px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

table.smworgtable tr {
	background: #fff;
}

table.smworgtable td {
	padding: 5px;
        vertical-align: top;
}

table.smworgtable th {
	background: #164eaf;
	border: 0px;
	padding: 5px;
	font-size: 120%;
	font-weight: bold;
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
	color: white;
        vertical-align: top !important;
}

table.smworgtable th.smworange {
	background: #d57520;
}

table.smworgtable th a {
	color: #fff;
}

th.headerSort {
	background-color: #C4D6F4 !important;
}

.wikitable th,
.wikitable td {
	vertical-align: top;
}

#smworgtable-toc #toc {
	border: 0px solid #AAA;
	background-color: #ffffff;
	font-size: 100%;
	width: 260px;
} 

#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
	text-align: right;
}

#smworgtable-toc #toc.toc {
	font-size: 110%;
}

#toc h2,
.toc h2 {
	display: none;
}

#toc .toctoggle,
.toc .toctoggle {
	text-align: right !important;
}

.smwblue {
	border: 1px solid black;
	background: #164eaf;
	font-weight: bold;
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
	color: white;
}

.smworgange {
	border: 1px solid black;
	background: #d57520;
	font-weight: bold;
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
	color: white;
}

.smwblue a,
.smworange a {
	color: #fff;
}

table.smworgsample {
	background: #C4D6F4;
	border: 1px solid #164EAF;
	margin: 0 0 0.5em;
	padding: 3px 3px 3px 3px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

table.smworgsample tr {
	background: #fff;
}

table.smworgsample td {
	padding: 5px;
        vertical-align: top !important;
}

table.smworgsample th {
	background: #C4D6F4;
	border: 0px;
	padding: 5px;
	font-size: 120%;
	font-weight: bold;
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
	color: white;
        vertical-align: top !important;
}

table.smworgsample th a {
	color: #fff;
}

#smworgsample-toc #toc {
	border: 0px solid #AAA;
	background-color: #ffffff;
	font-size: 100%;
	width: 260px;
} 

#smworgsample-toc #toc.toc {
	font-size: 110%;
}

.demo-30-percent-width {
	width:30%;
	clear:both;
}

h2.header-blue {
	margin: 3px;
	/*background: #e4ecf4 url('images/1/12/Header-bg.png') repeat-x scroll 0 0;*/
	background: #164eaf;
	font-size: 120%;
	font-weight: bold;
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
	border: 1px solid black;
	text-align: left;
	color: white;
	padding: 0.2em 0.4em;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

h2.header-blue a, div.header-blue a.external {
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
	color: white;
}

h2.header-orange {
	margin: 3px;
	/*background: #e4ecf4 url('images/e/e4/Header-bg-orange.png') repeat-x scroll 0 0;*/
	background: #d57520;
	font-size: 120%;
	font-weight: bold;
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
	border: 1px solid black;
	text-align: left;
	color: white;
	padding: 0.2em 0.4em;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

h2.header-orange a,
div.header-orange a.external {
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
	color: white;
}

div.button-orange a,
div.button-orange a.external {
	background:url('images/a/ae/Button-orange.png') no-repeat scroll 0 0 !important;
	color:white !important;
	font-size:30px;
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif !important;
	height:43px !important;
	padding: 0px !important;
	padding-top: 28px !important;
	position:relative;
	text-align:center;
	width:211px;
	display:block;
	margin: 0 auto;
}

.button-orange-sf a,
.button-orange-sf a.external {
	background:url('images/a/ae/Button-orange.png') no-repeat scroll 0 0 !important;
	color:white !important;
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif !important;
	height:43px !important;
	padding: 0px !important;
	padding-top: 28px !important;
	text-align:center;
	width:211px;
	display:block;
	margin: 0 auto;
}

div.button-blue a,
div.button-blue a.external {
	background:url('images/1/1b/Button-blue.png') no-repeat scroll 0 0 !important;
	color:white !important;
	font-size:30px;
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
	height:43px !important;
	padding: 0px !important;
	padding-top: 28px !important;
	position:relative;
	text-align:center;
	width:211px;
	display:block;
	margin: 0 auto;
}

/* misc */
.smw {
	width: 100%;
	vertical-align: top;
}

/* semantic balloon */
.smwtt {
	font-size: 1.5em;
}

/* Regular tables */
.wikitable tbody tr th {
	background-color: #C4D6F4;
}

/* Sortable tables */
.sortable tbody tr th {
	background-color: #C4D6F4;
}

/* Char Insert */
.my-buttons {
	padding: 0.5em;
}

.my-buttons a {
	color: black;
	background-color: #C4D6F4 !important;
	font-weight: bold;
	font-size: 0.9em;
	text-decoration: none;
	border: thin #003300 outset;
	padding: 0 .1em .1em;
}

.my-buttons a:hover,
.my-buttons a:active {
	background-color: #C4D6F4;
	border-style: inset;
}

/* Header Tabs */
.ui-tabs {
	padding: 0;
}
 
.ui-tabs .ui-tabs-panel {
	padding: 1em 1.4em 0;
}
 
.ui-tabs .ui-tabs-nav li {
	margin: 0 .1em;
}
 
.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
	margin-bottom: 0;
	padding-bottom: 0;
	border-color: #C4D6F4;
}
 
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, 
.ui-tabs .ui-tabs-nav li.ui-state-disabled a,
.ui-tabs .ui-tabs-nav li.ui-state-processing a {
	color: #164EAF;
	font-weight: bold;
	background-color: #C4D6F4;
	border-bottom: 1px solid #C4D6F4;
}
 
.ui-widget-content a,
.ui-widget-content a:visited,
.ui-widget-content a.redirect,
.ui-widget-content a.redirect:visited {
	color: #0645AD;
}
 
.ui-widget-content a.new,
.ui-widget-content a.new:visited {
	color:#CC2200;
}
 
.ui-widget-content a.extiw {
	color:#3366BB;
}
 
.ui-widget-header {
	background: none repeat scroll 0 0 transparent;
	border-color: -moz-use-text-color -moz-use-text-color #C4D6F4;
	border-style: none none solid;
	border-width: 0 0 5px;
}
 
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
	border-bottom: 1px solid #C4D6F4;
}
 
.ui-tabs-panel div p br {
	display: none;
}

/* Liquid Threads */
.lqt_header_content {
	margin: -1em 0 1.5em;
}

.lqt-talkpage-header {
	background-color: #C4D6F4 !important;
}

.lqt-post-wrapper {
	background: none repeat scroll 0 0 #FFF;
}

.lqt_post_new_message {
	background-color: #FFF !important;
	border: 1pt solid silver;
        width: 99%;
}

.thread-collapse-control a {
	background: url('images/f/fb/Arrow-down.png') no-repeat scroll 0 0 transparent;
}

.thread-collapse-control a.thread-control-collapsed  {
	background: url('images/c/c5/Arrow-right.png') no-repeat scroll 0 0 transparent;
}

/* Demo RunQuery Settings */
.demo-float-right {
	float:right;
	margin-left:10px;
	margin-bottom:10px;
	clear:both;
}

.demo-float-left {
	margin-left:0px;
	margin-right:10px;
	float:left;
	clear:both;
}

.demo-center {
	display: inline-block;
}

/* Survey RunQuery Settings */
.survey-textarea {
	width: 99%;
}

/* syntax highlight and pre tags */
.mw-geshi {
	font-size: 10pt;
}

/**
 * Presentation class styling
 * @author mwjames
 */
.smw-presentation .slide h1 {
	color: #006699;
	font-size: 38px;
	font-weight: bold;
	border-bottom: 0px;
	padding-bottom: .33em;
	line-height: 40px;
	margin-top: -30px;
}

.smw-presentation .slide h2 {
	color: #006699;
	font-size: 30px;
	font-weight: bold;
	border-bottom: 0px;
	padding-bottom: .3em;
}

.smw-presentation .slide h3 {
	color: #006699;
	font-size: 26px;
	font-weight: bold;
}
 
.smw-presentation .slide ul {
	color: #666;
	font-size: 28px;
 	line-height: 1.8em;
	vertical-align: middle;
	list-style-type: square;
	list-style-image: none;
}

.smw-presentation table.smw {
	color: #666;
	font-size: 120%;
}

.smw-presentation table.smw th {
	color: #e68f19;
 font-size: 120%;
}

.smw-presentation table.smw ul {
	color: #666;
	font-size: 110%;
}

.smw-presentation .gallerytext{
	font-style: italic;
	font-size: 80%;
	color: #ddd;
}

/* Event calendar help class */ 
.smw-eventcalendar {
	width: 100%;
	height: 350px;
}

/**
 * Tab/Panel right slide
 * @author mwjames
 */
#panel {
    /*position: absolute; */
	height: 100%;    
	background: transparent;
	right: 0;
}

#panel-content {
	position: relative;
	width: 0px;
	overflow: hidden;
	height: 100%;
	background: #fff;
	border: 0px solid #000;
	float:right;
	margin-left: 10px;
}

#panel-tab {
	position: relative;
	top: 2px;
/*	width: 50px;*/
/*	height: 100%;*/
	background-color: transparent;
	float: right;
	margin: 0px;
	padding: 0px;
	margin-right: -10px;
	margin-left: 10px;
}

#smwTab {
/*	position: relative;*/
/*	top: 1px;*/
/*	height: 70px;*/
/*	width: 70%;*/
	color: white;
	float: right;
	margin: 0px;
	padding: 0px;
	background: #164EAF;
 	display: block;	 
	cursor:pointer;	
	border: 2px solid #fff;	
	border-right: 0;
/*	-moz-border-radius-topright: 5px;*/
	-webkit-border-top-left-radius: 5px;
/*	-moz-border-radius-bottomleft: 5px;*/
	-webkit-border-bottom-left-radius: 5px;
	border-radius: 5px 0 0 5px;
	filter: progid:DXImageTransform.Microsoft.DropShadow(sProperties);
	-webkit-box-shadow: 0px 1px 5px 0px #000;
	-moz-box-shadow: 0px 1px 5px 0px #000;
}

#smwTab p {
	font-size: 120%;
	font-weight: bold;
	font-family: Trebuchet MS,Helvetica,Arial,sans-serif;
	color: white;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
	margin: 25px 0;
}

/* Browser specific (not valid) styles to 
 * make preformatted text wrap 
*/		
pre,
div.smwpre {
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
/* Stuff needed for sponsoring boxes*/
div.confsponsor-box {
    border: 1px solid black;
    width: 100px;
    height: 18px;
    background-color: silver;
    position: absolute;
    top: -20px;
    left: -1px;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 1px white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
div.gold-box {
    background: -moz-linear-gradient(top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceabb), color-stop(50%, #fccd4d), color-stop(51%, #f8b500), color-stop(100%, #fbdf93));
    background: -webkit-linear-gradient(top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%);
}
div.platinum-box {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e2e2e2), color-stop(50%, #dbdbdb), color-stop(51%, #d1d1d1), color-stop(100%, #fefefe));
    background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e2e2e2), color-stop(50%, #dbdbdb), color-stop(51%, #d1d1d1), color-stop(100%, #fefefe));
}