Difference between revisions of "MediaWiki:Common.css"

From FSAirlinesWiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 24: Line 24:
 
background: #8da7d6;
 
background: #8da7d6;
 
text-align: center;
 
text-align: center;
}
 
 
/* Standard Navigationsleisten, aka box hiding thingy
 
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
div.NavFrame {
 
    margin: 0;
 
    padding: 4px;
 
    border: 1px solid #aaa;
 
    text-align: center;
 
    border-collapse: collapse;
 
    font-size: 95%;
 
}
 
div.NavFrame + div.NavFrame {
 
    border-top-style: none;
 
    border-top-style: hidden;
 
}
 
div.NavPic {
 
    background-color: #fff;
 
    margin: 0;
 
    padding: 2px;
 
    float: left;
 
}
 
div.NavFrame div.NavHead {
 
    height: 1.6em;
 
    font-weight: bold;
 
    background-color: #ccf;
 
    position: relative;
 
}
 
div.NavFrame p,
 
div.NavFrame div.NavContent,
 
div.NavFrame div.NavContent p {
 
    font-size: 100%;
 
}
 
div.NavEnd {
 
    margin: 0;
 
    padding: 0;
 
    line-height: 1px;
 
    clear: both;
 
}
 
a.NavToggle {
 
    position: absolute;
 
    top: 0;
 
    right: 3px;
 
    font-weight: normal;
 
    font-size: 90%;
 
 
}
 
}
  
Line 87: Line 42:
 
font-weight: bold;
 
font-weight: bold;
 
}
 
}
 +
 +
/* Stylesheet-Ergänzung zu Standard-Navigationsleisten */
 +
 +
div.BoxenVerschmelzen,
 +
div.NavFrame {
 +
    margin: 0px;
 +
    padding: 2px;
 +
    border: 1px solid #aaaaaa;
 +
    text-align: center;
 +
    border-collapse: collapse;
 +
    font-size: 95%;
 +
        clear:both;
 +
}
 +
div.BoxenVerschmelzen div.NavFrame {
 +
    border-style: none;
 +
    border-style: hidden;
 +
}
 +
div.NavFrame + div.NavFrame {
 +
    border-top-style: none;
 +
    border-top-style: hidden;
 +
}
 +
div.NavPic {
 +
    background-color: #ffffff;
 +
    margin: 0px;
 +
    padding: 2px;
 +
    float: left;
 +
}
 +
div.NavFrame div.NavHead {
 +
    height: 1.6em;
 +
    font-weight: bold;
 +
    font-size: 100%;
 +
    background-color: #efefef;
 +
}
 +
div.NavFrame p {
 +
    font-size: 100%;
 +
}
 +
div.NavFrame div.NavContent {
 +
    font-size: 100%;
 +
}
 +
div.NavFrame div.NavContent p {
 +
    font-size: 100%;
 +
}
 +
div.NavEnd {
 +
    margin: 0px;
 +
    padding: 0px;
 +
    line-height: 1px;
 +
    clear: both;
 +
}
 +
 +
/* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */
 +
.NavToggle {
 +
        font-size: x-small;
 +
        float:right;
 +
}
 +
 +
/* Abstand vor Navigationsleisten */
 +
 +
div.BoxenVerschmelzen,
 +
div.NavFrame {
 +
  margin-top: 1.5em;
 +
}
 +
div.BoxenVerschmelzen div.NavFrame {
 +
  margin-top: 0;
 +
}
 +
div.NavFrame + div.NavFrame {
 +
  margin-top: 0;
 +
}
 +
 +
/* Navigationsleisten nicht mit ausdrucken */
 +
 +
@media print{
 +
    .NavFrame {
 +
        display: none;
 +
    }
 +
    .BoxenVerschmelzen {
 +
        display: none;
 +
    }
 +
}

Latest revision as of 21:19, 8 September 2010

/* CSS placed here will be applied to all skins */
#column-content { margin-left: -14em }
#column-content #content { margin-left: 14em }
#p-logo a, #p-logo a:hover { width: 14em }
.portlet { width: 13em }
#p-cactions { left: 13em }

/* Wikitable (Prettytable) class for skinning normal tables */
table.wikitable,
table.prettytable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaaaaa solid;
	border-collapse: collapse;
	empty-cells: show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
	border: 1px #aaaaaa solid;
	padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
	background: #8da7d6;
	text-align: center;
}

table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
	background: #c5d8fc;
	text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
	background: #a7c1f2;
	text-align: center;
}
table.wikitable caption,
table.prettytable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
}

/* Stylesheet-Ergänzung zu Standard-Navigationsleisten */
 
 div.BoxenVerschmelzen,
 div.NavFrame {
    margin: 0px;
    padding: 2px;
    border: 1px solid #aaaaaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
        clear:both;
 }
 div.BoxenVerschmelzen div.NavFrame {
    border-style: none;
    border-style: hidden;
 }
 div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
 }
 div.NavPic {
    background-color: #ffffff;
    margin: 0px;
    padding: 2px;
    float: left;
 }
 div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    font-size: 100%;
    background-color: #efefef;
 }
 div.NavFrame p {
    font-size: 100%;
 }
 div.NavFrame div.NavContent {
    font-size: 100%;
 }
 div.NavFrame div.NavContent p {
    font-size: 100%;
 }
 div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
 }
 
 /* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */
 .NavToggle {
        font-size: x-small;
        float:right;
 }
 
 /* Abstand vor Navigationsleisten */
 
 div.BoxenVerschmelzen,
 div.NavFrame {
   margin-top: 1.5em;
 }
 div.BoxenVerschmelzen div.NavFrame {
   margin-top: 0;
 }
 div.NavFrame + div.NavFrame {
   margin-top: 0;
 }
 
 /* Navigationsleisten nicht mit ausdrucken */
 
 @media print{
    .NavFrame {
        display: none;
    }
    .BoxenVerschmelzen {
        display: none;
    }
 }