MediaWiki:Common.css: Unterschied zwischen den Versionen
Mutax (Diskussion | Beiträge) (kleinere News Überschriften und keinen Titel auf der Hauptseite) |
Kaufi (Diskussion | Beiträge) K (Mal sehen, ob das klappt) |
||
(18 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 3: | Zeile 3: | ||
body.page-Hauptseite h1.firstHeading { display:none; } | body.page-Hauptseite h1.firstHeading { display:none; } | ||
body.page-Hauptseite h3 { font-weight:normal; } | body.page-Hauptseite h3 { font-weight:normal; } | ||
+ | body.page-Hauptseite h4 { font-size:1em } | ||
table.wikitable, | table.wikitable, | ||
Zeile 28: | Zeile 29: | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
+ | } | ||
+ | |||
+ | /* Hauptseiten-Styles */ | ||
+ | #Address { | ||
+ | background:#f7f7f7; | ||
+ | margin:0 0 1em 0; | ||
+ | padding:0.2em 0; | ||
+ | text-align:center; | ||
+ | text-shadow:0 0.1em 0 #fff; | ||
+ | } | ||
+ | #Welcome { | ||
+ | border: 0; | ||
+ | color: #444; | ||
+ | font-size: 1.7em; | ||
+ | font-weight: normal; | ||
+ | margin-bottom: 0.25em; | ||
+ | } | ||
+ | .hsContainer { | ||
+ | margin: 0; | ||
+ | border: 1px solid #dfdfdf; | ||
+ | padding: 0em 0 1em 0; | ||
+ | background-color: #F8F8FF; | ||
+ | } | ||
+ | .hsBiete { | ||
+ | display: flex; | ||
+ | justify-content: space-around; | ||
+ | flex-wrap: wrap; | ||
+ | } | ||
+ | .hsBox { | ||
+ | border:1px solid #f90; | ||
+ | border-radius: 6px; | ||
+ | background:#fffbf6; | ||
+ | flex: 0 1 auto; | ||
+ | margin: .5em; | ||
+ | min-height:80px; | ||
+ | min-width: 18em; | ||
+ | } | ||
+ | .hsIcon { | ||
+ | width:50px; | ||
+ | height:50px; | ||
+ | margin: 15px 0 0 -1em; | ||
+ | border:2px solid #f90; | ||
+ | border-radius: 6px; | ||
+ | background:#ffb84d; | ||
+ | float:left; | ||
+ | padding:3px; | ||
+ | } | ||
+ | .hsBoxText { | ||
+ | padding:0.5em 0.5em 0.5em 55px; | ||
+ | text-align:center; | ||
+ | } | ||
+ | .hsBoxText h3 { | ||
+ | border: 0; | ||
+ | font-size: 1.4em; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | .hsBoxText p { | ||
+ | max-width: initial; | ||
+ | } | ||
+ | .hsNewsContainer { | ||
+ | padding:0 1.5em; | ||
+ | } | ||
+ | .hsNewsContainer .first { | ||
+ | font-size:105%; | ||
+ | margin-bottom:2em; | ||
+ | line-height:1.6em; | ||
+ | } | ||
+ | .hsNewsContainer .first h3 { | ||
+ | column-span: all; | ||
+ | margin-bottom:0.5em; | ||
+ | } | ||
+ | .news-date { | ||
+ | text-align:right; | ||
+ | font-size:0.8em; | ||
+ | color:#666; | ||
+ | column-span: all; | ||
+ | } | ||
+ | /* Hotfixes, die irgendwann mal ins Frunde-Stylesheet müssen */ | ||
+ | .diff-addedline { | ||
+ | line-height: 1.6 !important; | ||
} | } |
Aktuelle Version vom 16. Juli 2022, 11:58 Uhr
/* wikitable/prettytable class for skinning normal tables */ body.page-Hauptseite h1.firstHeading { display:none; } body.page-Hauptseite h3 { font-weight:normal; } body.page-Hauptseite h4 { font-size:1em } table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaaaaa solid; padding: 0.2em; } table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; } /* Hauptseiten-Styles */ #Address { background:#f7f7f7; margin:0 0 1em 0; padding:0.2em 0; text-align:center; text-shadow:0 0.1em 0 #fff; } #Welcome { border: 0; color: #444; font-size: 1.7em; font-weight: normal; margin-bottom: 0.25em; } .hsContainer { margin: 0; border: 1px solid #dfdfdf; padding: 0em 0 1em 0; background-color: #F8F8FF; } .hsBiete { display: flex; justify-content: space-around; flex-wrap: wrap; } .hsBox { border:1px solid #f90; border-radius: 6px; background:#fffbf6; flex: 0 1 auto; margin: .5em; min-height:80px; min-width: 18em; } .hsIcon { width:50px; height:50px; margin: 15px 0 0 -1em; border:2px solid #f90; border-radius: 6px; background:#ffb84d; float:left; padding:3px; } .hsBoxText { padding:0.5em 0.5em 0.5em 55px; text-align:center; } .hsBoxText h3 { border: 0; font-size: 1.4em; font-weight: normal; } .hsBoxText p { max-width: initial; } .hsNewsContainer { padding:0 1.5em; } .hsNewsContainer .first { font-size:105%; margin-bottom:2em; line-height:1.6em; } .hsNewsContainer .first h3 { column-span: all; margin-bottom:0.5em; } .news-date { text-align:right; font-size:0.8em; color:#666; column-span: all; } /* Hotfixes, die irgendwann mal ins Frunde-Stylesheet müssen */ .diff-addedline { line-height: 1.6 !important; }