MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Added CSS-code for Spielwiese:Hauptseite) |
|||
Zeile 97: | Zeile 97: | ||
#hauptseite .mw-headline-anchor { | #hauptseite .mw-headline-anchor { | ||
display: none; | display: none; | ||
} | |||
/* +++++ 2. HAUPTSEITE-DEV +++++ */ | |||
#hauptseite-dev | |||
{ | |||
display: flex; | |||
flex-wrap: wrap; | |||
} | |||
#hauptseite-dev > div.doublet | |||
{ | |||
flex: 1 50%; | |||
} | |||
#hauptseite-dev > div.triplet | |||
{ | |||
flex: 1 33%; | |||
} | |||
#hauptseite-dev > div | |||
{ | |||
flex: 1 100%; | |||
border: 2px solid #A3ACBE; | |||
border-top: 0; | |||
box-sizing: border-box; | |||
margin-bottom: 1em; | |||
} | |||
#hauptseite-dev .inhalt | |||
{ | |||
border: 0 !important; | |||
} | |||
#hauptseite--dev .hauptseite-obenlinks, .hauptseite-links | |||
{ | |||
margin-right: 0 !important; | |||
} | } |
Version vom 22. Mai 2018, 23:20 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* +++++ 1. HAUPTSEITE +++++ */
div#hauptseite h2 {
background: #A3ACBE;
border: 2px solid #A3ACBE;
font-family: inherit;
font-size: 1.5em;
font-weight: bold;
color : #ffffff;
line-height: 1.5;
margin: 0;
padding: .1em 0;
}
div#hauptseite h3 {
background: #A3ACBE;
border: 2px solid #A3ACBE;
font-family: inherit;
font-size: 1em;
font-weight: bold;
color : #ffffff;
line-height: 1.5;
margin: 0;
padding: .1em 0;
}
#hauptseite .inhalt {
background: #fff;
border: 2px solid #A3ACBE;
border-top: 0;
min-height: 0; /* IE 7 */
padding: .3em .8em .4em;
}
#hauptseite .inhalt hr {
background: #A3ACBE;
color: #A3ACBE; /* IE 7 */
height: 1px;
margin: .5em 0;
}
#hauptseite .inhalt .mehr {
clear: both;
font-size: 95%;
margin-top: .8em;
text-align: right;
}
.hauptseite-oben,
.hauptseite-obenlinks,
.hauptseite-obenrechts,
.hauptseite-links,
.hauptseite-rechts,
.hauptseite-hinweise,
.hauptseite-mitte{
margin-bottom: 1em;
}
.hauptseite-obenlinks,
.hauptseite-links {
margin-right: .5em;
}
.hauptseite-obenrechts,
.hauptseite-hinweise,
.hauptseite-rechts {
margin-left: .5em;
}
.hauptseite-oben h2,
.hauptseite-obenlinks h2,
.hauptseite-obenrechts h2,
.hauptseite-hinweise h2,
.hauptseite-mitte h2,
.hauptseite-unten h2 {
text-align: center;
}
.hauptseite-oben .inhalt .portale {
font-weight: bold;
margin: .2em 0;
}
.hauptseite-oben .inhalt .intern {
font-size: 90%;
text-align: center;
}
.hauptseite-links h2,
.hauptseite-hinweise h2,
.hauptseite-rechts h2,
.hauptseite-unten h2 {
text-indent: .8em;
}
.hauptseite-links h3,
.hauptseite-hinweise h3,
.hauptseite-rechts h3,
.hauptseite-unten h3 {
text-indent: .8em;
}
.hauptseite-unten h3 {
font-size: 1.15em;
}
#hauptseite .mw-headline-anchor {
display: none;
}
/* +++++ 2. HAUPTSEITE-DEV +++++ */
#hauptseite-dev
{
display: flex;
flex-wrap: wrap;
}
#hauptseite-dev > div.doublet
{
flex: 1 50%;
}
#hauptseite-dev > div.triplet
{
flex: 1 33%;
}
#hauptseite-dev > div
{
flex: 1 100%;
border: 2px solid #A3ACBE;
border-top: 0;
box-sizing: border-box;
margin-bottom: 1em;
}
#hauptseite-dev .inhalt
{
border: 0 !important;
}
#hauptseite--dev .hauptseite-obenlinks, .hauptseite-links
{
margin-right: 0 !important;
}