MediaWiki:Common.css

Aus How to be a Hero
Zur Navigation springen Zur Suche springen

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
/* 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 CODE FOR -DEV +++++ */
 
div#hauptseite-dev 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-dev 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-dev .inhalt {
	background: #fff;
	border: 2px solid #A3ACBE;
	border-top: 0;
	min-height: 0; /* IE 7 */
	padding: .3em .8em .4em;
}
#hauptseite-dev .inhalt hr {
	background: #A3ACBE;
	color: #A3ACBE; /* IE 7 */
	height: 1px;
	margin: .5em 0;
}
#hauptseite-dev .inhalt .mehr {
	clear: both;
	font-size: 95%;
	margin-top: .8em;
	text-align: right;
}

/* +++++ 3. 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;
}

#hauptseite-dev > div, #hauptseite > div
{
    position: relative;
}


/* +++++ 4. BOX-HALTENDE HOWKYS +++++ */
.howky:after
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 20px;
    display: block;
    content: '';
    background-size: 20% 20%;
}

.howky.knieendUnten:after
{
    background: url(/images/c/c5/Howky_Kniened_Unten.png) 0 0 no-repeat;
}

.howky.stehendUnten:after
{
    background: url(/images/6/6b/Howky_Stehend_Unten.png) 0 0 no-repeat;
}

.howky.stehendRechts:after
{
    background: url(/images/1/19/Howky_Stehend_Rechts.png) 0 0 no-repeat;
}

.howky.stehendLinks:after
{
    background: url(/images/5/51/Howky_Stehend_Links.png) 0 0 no-repeat;
}