MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Service Champion-Wiki
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: CSS placed here will be applied to all skins: index.php?title=MediaWiki:Common.css: .wikitable, .prettytable { margin: 1em 1em 1em 0; background: #f9f9f9;...)
 
Zeile 1: Zeile 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
 
/* index.php?title=MediaWiki:Common.css */
 
/* index.php?title=MediaWiki:Common.css */
  
 +
/*
 +
* CSS for nice looking Wiki tables
 +
*/
 
.wikitable,
 
.wikitable,
 
.prettytable {
 
.prettytable {
Zeile 23: Zeile 25:
 
  margin-right: inherit;
 
  margin-right: inherit;
 
  font-weight: bold;
 
  font-weight: bold;
 +
}
 +
 +
/*
 +
* CSS for extension "TreeAndMenu"
 +
*/
 +
.dtree {
 +
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
 +
font-size: 11px;
 +
color: #666;
 +
white-space: nowrap;
 +
}
 +
.dTreeNode {
 +
        white-space: nowrap;
 +
        padding: 6px 2px 4px 2px;
 +
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAMAAAA7MLYKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEtQTFRF29vb2tra4ODg6urq5OTk4uLi6+vr7e3t7Ozs8PDw5+fn4+Pj4eHh3d3d39/f6Ojo5eXl6enp8fHx8/Pz8vLy7+/v3Nzc2dnZ2NjYnErj7QAAAD1JREFUeNq0wQUBACAMALDj7hf6JyUFGxzEnYhC9GaNPG1xVffGDErk/iCigLl1XV2xM49lfAxEaSM+AQYA9HMKuv4liFQAAAAASUVORK5CYII=");
 +
    background-position: left top;
 +
    background-repeat: no-repeat;
 +
    //margin: 9px 9px 10px 11px;
 +
    //padding: 0.25em 0 !important;
 +
}
 +
.dtree img {
 +
        border: 0px;
 +
        vertical-align: middle;
 +
}
 +
.dtree a {
 +
        color: #333;
 +
        text-decoration: none;
 +
}
 +
.dtree a.node, .dtree a.nodeSel {
 +
        white-space: nowrap;
 +
        padding: 1px 2px 1px 2px;
 +
}
 +
.dtree a.node:hover, .dtree a.nodeSel:hover {
 +
        color: #333;
 +
        text-decoration: underline;
 +
}
 +
.dtree a.nodeSel {
 +
        background-color: #c0d2ec;
 +
}
 +
.dtree .clip {
 +
        overflow: hidden;
 +
        padding-bottom: 1px;
 +
        padding-top: 0px;
 +
}
 +
 +
//Dynamic menus
 +
.dmenu { width: 180px }
 +
 +
.dmenu, .dmenu ul { /* all lists */
 +
padding: 0;
 +
margin: 0;
 +
list-style: none;
 +
}
 +
.dmenu .selflink { font-weight: normal; }
 +
 +
.dmenu li { /* all list items */
 +
position: relative;
 +
float: left;
 +
width: 172px;
 +
padding: 4px;
 +
z-index: 100;
 +
}
 +
 +
.dmenu li,
 +
.dmenu li.even a,
 +
.dmenu li.odd a,
 +
.dmenu li li,
 +
.dmenu li li a,
 +
.dmenu li li li,
 +
.dmenu li li li a {
 +
color : black;
 +
}
 +
 +
.dmenu li li { margin: 0; }
 +
 +
.dmenu li ul { /* second-level lists */
 +
position: absolute;
 +
left: -999em;
 +
z-index: 101;
 +
border: 1px solid #ccc;
 +
}
 +
 +
.dmenu li ul ul { /* third-and-above-level lists */
 +
position: absolute;
 +
left: -999em;
 +
margin: 0 0 0 0;
 +
z-index: 102;
 +
}
 +
 +
.dmenu li.odd .submenu {
 +
width: 12px;
 +
height: 15px;
 +
float: right;
 +
background: url(/common/images/rarr-lt.png) 0 3px no-repeat;
 +
}
 +
.dmenu li.even .submenu {
 +
width: 12px;
 +
height: 15px;
 +
float: right;
 +
background: url(/common/images/rarr-dk.png) 0 3px no-repeat;
 +
}
 +
.dmenu li.odd {
 +
        background: #E9EDF4;
 +
        border: 2px solid #E9EDF4;
 +
}
 +
.dmenu li.even {
 +
        background: #D0D8E8;
 +
        border: 2px solid #D0D8E8;
 +
}
 +
 +
.dmenu li:hover, .dmenu li.sfhover {
 +
        border: 2px solid #385D8A;
 +
}
 +
 +
.dmenu li:hover ul ul,
 +
.dmenu li:hover ul ul ul,
 +
.dmenu li.sfhover ul ul,
 +
.dmenu li.sfhover ul ul ul {
 +
left: -999em;
 +
}
 +
 +
.dmenu li:hover ul,
 +
.dmenu li li:hover ul,
 +
.dmenu li li li:hover ul,
 +
.dmenu li.sfhover ul,
 +
.dmenu li li.sfhover ul,
 +
.dmenu li li li.sfhover ul { /* lists nested under hovered list items */
 +
left: 182px;
 +
top: -3px;
 +
}
 +
 +
// hide toolbox in sidebar
 +
#p-navigation, #p-tb h5, #p-tb div.body { display:none !important; }
 +
 +
// hide empty div tag in sidebar
 +
.dtree div:empty {
 +
    display: none;
 +
}
 +
 +
/*
 +
* Raise width of sidebar (works only with vector skin)
 +
*/
 +
div#footer {
 +
    margin-left: 12em;
 +
}
 +
#mw-head-base {
 +
    margin-left: 12em;
 +
}
 +
div#content {
 +
    margin-left: 12em;
 +
}
 +
#left-navigation {
 +
    left: 12em;
 +
}
 +
#p-personal ul {
 +
    padding-left: 12em;
 +
}
 +
div#mw-panel {
 +
    width: 12em;
 
}
 
}

Version vom 15. Februar 2012, 16:18 Uhr

/* CSS placed here will be applied to all skins */
/* index.php?title=MediaWiki:Common.css */

/*
 * CSS for nice looking Wiki tables
 */
.wikitable,
.prettytable {
 margin: 1em 1em 1em 0;
 background: #f9f9f9;
 border: 1px #AAA solid;
 border-collapse: collapse;
 empty-cells:show;
}

.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
 border: 1px #AAA solid;
 padding: 0.3em;
}

.wikitable caption,
.prettytable caption {
 margin-left: inherit;
 margin-right: inherit;
 font-weight: bold;
}

/*
 * CSS for extension "TreeAndMenu"
 */
.dtree {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666;
	white-space: nowrap;
}
.dTreeNode {
        white-space: nowrap;
        padding: 6px 2px 4px 2px;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAMAAAA7MLYKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEtQTFRF29vb2tra4ODg6urq5OTk4uLi6+vr7e3t7Ozs8PDw5+fn4+Pj4eHh3d3d39/f6Ojo5eXl6enp8fHx8/Pz8vLy7+/v3Nzc2dnZ2NjYnErj7QAAAD1JREFUeNq0wQUBACAMALDj7hf6JyUFGxzEnYhC9GaNPG1xVffGDErk/iCigLl1XV2xM49lfAxEaSM+AQYA9HMKuv4liFQAAAAASUVORK5CYII=");
    background-position: left top;
    background-repeat: no-repeat;
    //margin: 9px 9px 10px 11px;
    //padding: 0.25em 0 !important;
}
.dtree img {
        border: 0px;
        vertical-align: middle;
}
.dtree a {
        color: #333;
        text-decoration: none;
}
.dtree a.node, .dtree a.nodeSel {
        white-space: nowrap;
        padding: 1px 2px 1px 2px;
}
.dtree a.node:hover, .dtree a.nodeSel:hover {
        color: #333;
        text-decoration: underline;
}
.dtree a.nodeSel {
        background-color: #c0d2ec;
}
.dtree .clip {
        overflow: hidden;
        padding-bottom: 1px;
        padding-top: 0px;
}

//Dynamic menus
.dmenu { width: 180px }
 
.dmenu, .dmenu ul { /* all lists */
padding: 0;
margin: 0;
list-style: none;
}
.dmenu .selflink { font-weight: normal; }
 
.dmenu li { /* all list items */
position: relative;
float: left;
width: 172px;
padding: 4px;
z-index: 100;
}
 
.dmenu li,
.dmenu li.even a,
.dmenu li.odd a,
.dmenu li li,
.dmenu li li a,
.dmenu li li li,
.dmenu li li li a {
color : black;
}
 
.dmenu li li { margin: 0; }
 
.dmenu li ul { /* second-level lists */
position: absolute;
left: -999em;
z-index: 101;
border: 1px solid #ccc;
}
 
.dmenu li ul ul { /* third-and-above-level lists */
position: absolute;
left: -999em;
margin: 0 0 0 0;
z-index: 102;
}
 
.dmenu li.odd .submenu {
width: 12px;
height: 15px;
float: right;
background: url(/common/images/rarr-lt.png) 0 3px no-repeat;
}
.dmenu li.even .submenu {
width: 12px;
height: 15px;
float: right;
background: url(/common/images/rarr-dk.png) 0 3px no-repeat;
}
.dmenu li.odd {
        background: #E9EDF4;
        border: 2px solid #E9EDF4;
}
.dmenu li.even {
        background: #D0D8E8;
        border: 2px solid #D0D8E8;
}
 
.dmenu li:hover, .dmenu li.sfhover {
        border: 2px solid #385D8A;
}
 
.dmenu li:hover ul ul,
.dmenu li:hover ul ul ul,
.dmenu li.sfhover ul ul,
.dmenu li.sfhover ul ul ul {
left: -999em;
}
 
.dmenu li:hover ul,
.dmenu li li:hover ul,
.dmenu li li li:hover ul,
.dmenu li.sfhover ul,
.dmenu li li.sfhover ul,
.dmenu li li li.sfhover ul { /* lists nested under hovered list items */
left: 182px;
top: -3px;
}

// hide toolbox in sidebar
#p-navigation, #p-tb h5, #p-tb div.body { display:none !important; }

// hide empty div tag in sidebar
.dtree div:empty {
    display: none;
}

/*
 * Raise width of sidebar (works only with vector skin)
 */
div#footer {
    margin-left: 12em;
}
#mw-head-base {
    margin-left: 12em;
}
div#content {
    margin-left: 12em;
}
#left-navigation {
    left: 12em;
}
#p-personal ul {
    padding-left: 12em;
}
div#mw-panel {
    width: 12em;
}

/* CSS placed here will be applied to all skins */ /* index.php?title=MediaWiki:Common.css */

/*

* CSS for nice looking Wiki tables
*/

.wikitable, .prettytable {

margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #AAA solid;
border-collapse: collapse;
empty-cells:show;

}

.wikitable th, .wikitable td, .prettytable th, .prettytable td {

border: 1px #AAA solid;
padding: 0.3em;

}

.wikitable caption, .prettytable caption {

margin-left: inherit;
margin-right: inherit;
font-weight: bold;

}

/*

* CSS for extension "TreeAndMenu"
*/

.dtree { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 11px; color: #666; white-space: nowrap; } .dTreeNode {

       white-space: nowrap;
       padding: 6px 2px 4px 2px;

background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAMAAAA7MLYKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEtQTFRF29vb2tra4ODg6urq5OTk4uLi6+vr7e3t7Ozs8PDw5+fn4+Pj4eHh3d3d39/f6Ojo5eXl6enp8fHx8/Pz8vLy7+/v3Nzc2dnZ2NjYnErj7QAAAD1JREFUeNq0wQUBACAMALDj7hf6JyUFGxzEnYhC9GaNPG1xVffGDErk/iCigLl1XV2xM49lfAxEaSM+AQYA9HMKuv4liFQAAAAASUVORK5CYII=");

   background-position: left top;
   background-repeat: no-repeat;
   //margin: 9px 9px 10px 11px;
   //padding: 0.25em 0 !important;

} .dtree img {

       border: 0px;
       vertical-align: middle;

} .dtree a {

       color: #333;
       text-decoration: none;

} .dtree a.node, .dtree a.nodeSel {

       white-space: nowrap;
       padding: 1px 2px 1px 2px;

} .dtree a.node:hover, .dtree a.nodeSel:hover {

       color: #333;
       text-decoration: underline;

} .dtree a.nodeSel {

       background-color: #c0d2ec;

} .dtree .clip {

       overflow: hidden;
       padding-bottom: 1px;
       padding-top: 0px;

}

//Dynamic menus .dmenu { width: 180px }

.dmenu, .dmenu ul { /* all lists */ padding: 0; margin: 0; list-style: none; } .dmenu .selflink { font-weight: normal; }

.dmenu li { /* all list items */ position: relative; float: left; width: 172px; padding: 4px; z-index: 100; }

.dmenu li, .dmenu li.even a, .dmenu li.odd a, .dmenu li li, .dmenu li li a, .dmenu li li li, .dmenu li li li a { color : black; }

.dmenu li li { margin: 0; }

.dmenu li ul { /* second-level lists */ position: absolute; left: -999em; z-index: 101; border: 1px solid #ccc; }

.dmenu li ul ul { /* third-and-above-level lists */ position: absolute; left: -999em; margin: 0 0 0 0; z-index: 102; }

.dmenu li.odd .submenu { width: 12px; height: 15px; float: right; background: url(/common/images/rarr-lt.png) 0 3px no-repeat; } .dmenu li.even .submenu { width: 12px; height: 15px; float: right; background: url(/common/images/rarr-dk.png) 0 3px no-repeat; } .dmenu li.odd {

       background: #E9EDF4;
       border: 2px solid #E9EDF4;

} .dmenu li.even {

       background: #D0D8E8;
       border: 2px solid #D0D8E8;

}

.dmenu li:hover, .dmenu li.sfhover {

       border: 2px solid #385D8A;

}

.dmenu li:hover ul ul, .dmenu li:hover ul ul ul, .dmenu li.sfhover ul ul, .dmenu li.sfhover ul ul ul { left: -999em; }

.dmenu li:hover ul, .dmenu li li:hover ul, .dmenu li li li:hover ul, .dmenu li.sfhover ul, .dmenu li li.sfhover ul, .dmenu li li li.sfhover ul { /* lists nested under hovered list items */ left: 182px; top: -3px; }

// hide toolbox in sidebar

  1. p-navigation, #p-tb h5, #p-tb div.body { display:none !important; }

// hide empty div tag in sidebar .dtree div:empty {

   display: none;

}

/*

* Raise width of sidebar (works only with vector skin)
*/

div#footer {

   margin-left: 12em;

}

  1. mw-head-base {
   margin-left: 12em;

} div#content {

   margin-left: 12em;

}

  1. left-navigation {
   left: 12em;

}

  1. p-personal ul {
   padding-left: 12em;

} div#mw-panel {

   width: 12em;

}