MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Harvestopia
Wechseln zu: Navigation, Suche
 
(471 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
+
/*Background*/
 +
body {
 +
background:url(images/custom/fg_background01.jpg) #65c0dd no-repeat;
 +
        background-position:-250px 0px;
 +
       
 +
}
  
// Ausklappbare Navigationsleisten
+
 
 +
 
 +
#mw-head {
 +
background:url(images/custom/fg_background01.jpg) #65c0dd no-repeat;
 +
        background-position:-250px 0px;
 +
 
 +
}
 +
 
 +
/*Logo  */
 +
 
 +
#p-logo a {
 
   
 
   
  var NavigationBarHide = 'Einklappen ▲';
+
    background-position: center center;
var NavigationBarShow = 'Ausklappen ▼';
+
    background-repeat: no-repeat;
var NavigationBarShowDefault = 10;
+
    display: block;
 +
    height: 160px;
 +
    text-decoration: none;
 +
    width: 10em;
 +
}
 +
 
 +
div#footer ul li {
 +
color: #ffffff;
 +
font-size: 0.9em;
 +
margin: 0;
 +
padding: 0.5em 0;
 +
}
 +
 
 +
div#footer ul li a {
 +
color: #ffffff;
 +
text-decoration: bold;
 +
}
 +
 
 +
/*Content*/
 +
 
 +
div#content {
 +
background:#f1f1d0;
 +
margin-top:0px;
 +
padding:25px 25px 25px 25px;
 +
}
 +
/*Tabs*/
 +
 
 +
div.vectorTabs li.selected {
 +
    background:#f1f1d0;
 +
}
 +
 
 +
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
 +
    background:#f1f1d0;
 +
}
 +
 
 +
div.vectorTabs re.selected {
 +
    background:#f1f1d0;
 +
}
 +
 
 +
div.vectorTabs re.selected a, div.vectorTabs re.selected a:visited {
 +
    background:#f1f1d0;
 +
}
 +
 
 +
div.vectorTabs li a {
 +
    background-image: (images/8/8d/Navigationsbalken129x25.jpg) ;
 +
    background-position: right bottom;
 +
    background-repeat: no-repeat;
 +
    color: #a55858;
 +
    cursor: pointer;
 +
    display: inline-block;
 +
    font-size: 0.8em;
 +
    height: 25px;
 +
    padding-left: 0.8em;
 +
    padding-right: 0.8em;
 +
}
 +
 
 +
/*vetor menu*/
 +
 
 +
 
 +
div.vectorMenu h3 span {
 +
    color: #ffffff;
 +
    cursor: pointer;
 +
    display: inline-block;
 +
    font-size: 0.8em;
 +
    height: 25px;
 +
    padding-left: 0.8em;
 +
    padding-right: 0.8em;
 +
 
 +
}
 +
 
 +
div#mw-head div.vectorMenu h3 {
 +
background:none;
 +
}
 +
 
 +
#mw-page-base {
 +
background:none;
 +
}
 +
 
 +
/*Rahmen Inhaltsverzeichnis*/
 +
 
 +
#toc, .toc {
 +
    background: none repeat scroll 0 0 #f9eddc;
 +
    border: 3px outset #bd7004;
 +
    border-radius: 3px 3px 3px 3px;
 +
  -moz-border-radius:3px;
 +
}
 +
 
 +
/*Navigation*//*-moz-linear-gradient(top, #d4edfc, #90bacc)*/
 +
 
 +
div#mw-panel div.portal div.body ul li a {
 +
 
 +
display: block;
 +
padding: 5px 5px 5px 5px;
 +
/*border-left: 16px solid #bd7004;
 +
border-right: 5px solid #bd7004;
 +
border-top: 1px solid #bd7004;
 +
border-bottom: 1px solid #bd7004;*/
 +
background: url(images/8/8d/Navigationsbalken129x25.jpg) no-repeat;
 +
/*-moz-border-radius:4px;*/
 +
color: #000;
 +
text-decoration: none;
 +
width: 119px;
 +
 
 +
}
 +
 
 +
div#mw-panel div.portal h5 {
 +
    border: medium none;
 +
    color: #FFFFFF;
 +
    cursor: default;
 +
    font-size: 0.95em;
 +
    font-weight: bold;
 +
    padding: 0 0.25em 0.25em 1.75em;
 +
}
 +
div#mw-panel div.portal h3 {
 +
border: medium none;
 +
color: #ffffff;
 +
cursor: default;
 +
font-size: 1em;
 +
font-weight: bold;
 +
margin: 0px;
 +
padding: 0.25em 0 0.25em 0.25em;
 +
}
 +
 
 +
div#mw-panel div.portal div.body ul li {
 +
font-size: 0.75em;
 +
line-height: 1.125em;
 +
margin-left: -10px;
 +
padding: 2px;
 +
word-wrap: break-word;
 +
}
  
//Einstellungen ([[Wiktionary:Einstellungen]]):
+
/*Tabellen*/
if ( getCookie('WiktionaryUseJSPreferences') != 'true' ) {
 
        NavigationBarShowDefault = 999;
 
    } else if ( getCookie('WiktionaryPreferencesHideNav') == 'true' ) {
 
        NavigationBarShowDefault = 0;
 
    } else if ( getCookie('WiktionaryPreferencesShowNav') == 'true' ) {
 
        NavigationBarShowDefault = 999;
 
    } else {
 
        NavigationBarShowDefault = 999;
 
    }
 
  
function toggleNavigationBar(indexNavigationBar) {
+
table.wikitable {
  var NavToggle = $("NavToggle" + indexNavigationBar);
+
   background:#A07841;
  var NavFrame = $("NavFrame" + indexNavigationBar);
+
   font:left;
  if (!NavFrame || !NavToggle) {return false;}
+
   text-align:center;
  if (NavToggle.firstChild.data == NavigationBarHide) {
+
   -moz-border-radius:4px;
  for (var NavChild = NavFrame.firstChild; NavChild != null; NavChild = NavChild.nextSibling) {
+
}
    if (NavChild.className == 'NavPic') {NavChild.style.display = 'none';}
 
    if (NavChild.className == 'NavContent') {NavChild.style.display = 'none';}
 
    if (NavChild.className == 'NavToggle') {NavChild.firstChild.data = NavigationBarShow;}
 
  }
 
   }
 
  else if (NavToggle.firstChild.data == NavigationBarShow) {
 
  for (var NavChild = NavFrame.firstChild; NavChild != null; NavChild = NavChild.nextSibling) {
 
    if (NavChild.className == 'NavPic') {NavChild.style.display = 'block';}
 
    if (NavChild.className == 'NavContent') {NavChild.style.display = 'block';}
 
    if (NavChild.className == 'NavToggle') {NavChild.firstChild.data = NavigationBarHide;}
 
  }
 
   }
 
}
 
function createNavigationBarToggleButton() {
 
  var indexNavigationBar = 0;
 
   for (var i=0; NavFrame = $t("div")[i]; i++) {
 
  if (NavFrame.className == "NavFrame") {
 
    indexNavigationBar++;
 
    var NavToggle = document.createElement("a");
 
    NavToggle.className = 'NavToggle';
 
    NavToggle.setAttribute('id', 'NavToggle' + indexNavigationBar);
 
    NavToggle.setAttribute('href', 'javascript:toggleNavigationBar('+indexNavigationBar+')');
 
    var NavToggleText = document.createTextNode(NavigationBarHide);
 
    NavToggle.appendChild(NavToggleText);
 
    NavFrame.insertBefore(NavToggle, NavFrame.firstChild);
 
    NavFrame.setAttribute('id', 'NavFrame' + indexNavigationBar);
 
  }
 
   }
 
  if (NavigationBarShowDefault < indexNavigationBar) {
 
  for (var i=1; i<=indexNavigationBar; i++) {toggleNavigationBar(i);}
 
  }
 
}
 
addOnloadHook(createNavigationBarToggleButton);
 
  
function closedNavBar() {
+
table.wikitable tr:nth-child(odd){  
if ( getCookie('WiktionaryUseJSPreferences') != 'true' ) {
+
background: #f1f1d0;  
        if (document.getElementById("closedNavBar")) {toggleNavigationBar(1);}
+
}
        else { toggleNavigationBar(0); }
+
table.wikitable tr:nth-child(even){  
    } else if ( getCookie('WiktionaryPreferencesHideNav') == 'true' ) {
+
background: #e0e0bf;  
        toggleNavigationBar(100);
+
}
    } else if ( getCookie('WiktionaryPreferencesShowNav') == 'true' ) {
 
        toggleNavigationBar(0);
 
    } else {
 
        if (document.getElementById("closedNavBar")) {toggleNavigationBar(1);}
 
        else { toggleNavigationBar(0); }
 
    }
 
}
 
addOnloadHook(closedNavBar);
 

Aktuelle Version vom 27. März 2015, 16:08 Uhr

/*Background*/
body {
	background:url(images/custom/fg_background01.jpg) #65c0dd no-repeat;
        background-position:-250px 0px;
        
}



#mw-head {
	background:url(images/custom/fg_background01.jpg) #65c0dd no-repeat;
        background-position:-250px 0px;

}

/*Logo  */

#p-logo a {
 
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    height: 160px;
    text-decoration: none;
    width: 10em;
}

div#footer ul li {
color: #ffffff;
font-size: 0.9em;
margin: 0;
padding: 0.5em 0;
}

div#footer ul li a {
color: #ffffff;
text-decoration: bold;
}

/*Content*/

div#content  {
	background:#f1f1d0;
	margin-top:0px;
	padding:25px 25px 25px 25px;
}
/*Tabs*/

div.vectorTabs li.selected {
    background:#f1f1d0;
}

div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
    background:#f1f1d0;
}

div.vectorTabs re.selected {
    background:#f1f1d0;
}

div.vectorTabs re.selected a, div.vectorTabs re.selected a:visited {
    background:#f1f1d0;
}

div.vectorTabs li a {
    background-image: (images/8/8d/Navigationsbalken129x25.jpg) ;
    background-position: right bottom;
    background-repeat: no-repeat;
    color: #a55858;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8em;
    height: 25px;
    padding-left: 0.8em;
    padding-right: 0.8em;
}

/*vetor menu*/


div.vectorMenu h3 span {
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8em;
    height: 25px;
    padding-left: 0.8em;
    padding-right: 0.8em;

}

div#mw-head div.vectorMenu h3 {
background:none;
}

#mw-page-base {
background:none;
}

/*Rahmen Inhaltsverzeichnis*/

#toc, .toc {
    background: none repeat scroll 0 0 #f9eddc;
    border: 3px outset #bd7004;
    border-radius: 3px 3px 3px 3px;
   -moz-border-radius:3px;
}

/*Navigation*//*-moz-linear-gradient(top, #d4edfc, #90bacc)*/

div#mw-panel div.portal div.body ul li a {

	display: block;
	padding: 5px 5px 5px 5px;
	/*border-left: 16px solid #bd7004;
	border-right: 5px solid #bd7004;
	border-top: 1px solid #bd7004;
	border-bottom: 1px solid #bd7004;*/
	background: url(images/8/8d/Navigationsbalken129x25.jpg) no-repeat;
	/*-moz-border-radius:4px;*/
	color: #000;
	text-decoration: none;
	width: 119px;

}

div#mw-panel div.portal h5 {
    border: medium none;
    color: #FFFFFF;
    cursor: default;
    font-size: 0.95em;
    font-weight: bold;
    padding: 0 0.25em 0.25em 1.75em;
}
div#mw-panel div.portal h3 {
border: medium none;
color: #ffffff;
cursor: default;
font-size: 1em;
font-weight: bold;
margin: 0px;
padding: 0.25em 0 0.25em 0.25em;
}

div#mw-panel div.portal div.body ul li {
font-size: 0.75em;
line-height: 1.125em;
margin-left: -10px;
padding: 2px;
word-wrap: break-word;
}

/*Tabellen*/

table.wikitable {
  background:#A07841;
  font:left;
  text-align:center;
  -moz-border-radius:4px;
}

table.wikitable tr:nth-child(odd){ 
		background: #f1f1d0; 
}
table.wikitable tr:nth-child(even){ 
		background: #e0e0bf; 
}