MediaWiki:Common.css: Unterschied zwischen den Versionen
Stefan (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „→Das folgende CSS wird für alle Benutzeroberflächen geladen.: #f-poweredbyico { display: none; }“) |
Stefan (Diskussion | Beiträge) |
||
(40 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | ||
− | # | + | /**** Seitenbreite auf 960px setzen und Inhalt zentrieren ****/ |
+ | #center { | ||
+ | margin: 0 auto; | ||
+ | max-width: 960px; | ||
+ | width: 100%; | ||
+ | border-bottom: 1px solid #BBBBBB; | ||
+ | border-radius: 0 0 10px 10px; | ||
+ | box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.3); | ||
+ | background-color: #F6F6F6; | ||
+ | } | ||
+ | #mw-head { | ||
+ | max-width: 960px; | ||
+ | right: auto !important; | ||
+ | width: 99% !important; | ||
+ | } | ||
+ | #mw-panel { | ||
+ | right: auto; | ||
+ | left: auto !important; | ||
+ | } | ||
+ | div#content { | ||
+ | min-height: 350px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /************************* für Anons ausblenden *********************/ | ||
+ | /* für Anons ausblenden: noanon-Blöcke, "Seite", "Diskussion", weitere Tools in left navigation, in Sidebar: Werkzeuge, Mitschreiber-Tools */ | ||
+ | .noanon, #p-namespaces, #ca-talk, #p-views, #p-tb, #p-navigation, #wpSummaryLabel, #wpSummary, #wpMinoredit, #wpWatchthis, #wpPreview, #wpDiff, label[for=wpMinoredit], label[for=wpWatchthis], #p-Redakteure { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /************************* Sonstiges *********************/ | ||
+ | |||
+ | div#simpleSearch { | ||
+ | width: 10vw; | ||
+ | } | ||
+ | |||
+ | #p-logo a { | ||
+ | background-size: 119px auto; | ||
+ | } | ||
+ | |||
+ | /* Farben */ | ||
+ | div#content { | ||
+ | border: none; | ||
+ | } | ||
+ | a { | ||
+ | color: #008455!important; | ||
+ | } | ||
+ | a.new, #p-personal a.new { | ||
+ | color: #ba0000!important; | ||
+ | } | ||
+ | a:hover, a:visited { | ||
+ | color: #008455!important; | ||
+ | } | ||
+ | ul { | ||
+ | list-style-image: none; | ||
+ | } | ||
+ | html, body { | ||
+ | font-family: Verdana,sans-serif; | ||
+ | } | ||
+ | body, #center { | ||
+ | background-color: #f6f7f1; | ||
+ | } | ||
+ | #mw-page-base { | ||
+ | background-color: #f6f7f1; | ||
+ | background-image: none; | ||
+ | } | ||
+ | |||
+ | div#mw-panel, #p-logo, #p-logo a { | ||
+ | width: 160px; /* statt 10em */ | ||
+ | } | ||
+ | div#content, #left-navigation { | ||
+ | margin-left: 176px; | ||
+ | } | ||
+ | |||
+ | /* Buttons */ | ||
+ | button { | ||
+ | background-color: #008455; | ||
+ | border: none; | ||
+ | box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4); | ||
+ | color: white; | ||
+ | padding: 5px; | ||
+ | margin:10px 0; | ||
+ | } | ||
+ | button:hover { | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* SMW */ | ||
+ | .checkboxLabel { | ||
+ | display: block; | ||
+ | } | ||
+ | /* "Fortsetzung" abschneiden */ | ||
+ | .smw-column-header { | ||
+ | overflow: hidden; | ||
+ | white-space: nowrap; | ||
+ | max-width: 17px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Seiten-Spezifisches */ | ||
+ | .ns-14 #mw-pages > h2, .ns-14 #mw-pages > h2 + p { | ||
+ | display: none; | ||
+ | } | ||
+ | .page-WEIZENSORTEN ul, .page-DINKELSORTEN ul, .page-ROGGENSORTEN ul, .page-HAFERSORTEN ul, .page-GERSTENSORTEN ul { | ||
+ | list-style-type: none; | ||
+ | margin-left: 0px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Footer */ | ||
+ | #footer-poweredbyico, #footer-places-privacy, .page-Hauptseite #footer-info { | ||
display: none; | display: none; | ||
} | } |
Aktuelle Version vom 25. September 2017, 09:10 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/**** Seitenbreite auf 960px setzen und Inhalt zentrieren ****/
#center {
margin: 0 auto;
max-width: 960px;
width: 100%;
border-bottom: 1px solid #BBBBBB;
border-radius: 0 0 10px 10px;
box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.3);
background-color: #F6F6F6;
}
#mw-head {
max-width: 960px;
right: auto !important;
width: 99% !important;
}
#mw-panel {
right: auto;
left: auto !important;
}
div#content {
min-height: 350px;
}
/************************* für Anons ausblenden *********************/
/* für Anons ausblenden: noanon-Blöcke, "Seite", "Diskussion", weitere Tools in left navigation, in Sidebar: Werkzeuge, Mitschreiber-Tools */
.noanon, #p-namespaces, #ca-talk, #p-views, #p-tb, #p-navigation, #wpSummaryLabel, #wpSummary, #wpMinoredit, #wpWatchthis, #wpPreview, #wpDiff, label[for=wpMinoredit], label[for=wpWatchthis], #p-Redakteure {
display: none;
}
/************************* Sonstiges *********************/
div#simpleSearch {
width: 10vw;
}
#p-logo a {
background-size: 119px auto;
}
/* Farben */
div#content {
border: none;
}
a {
color: #008455!important;
}
a.new, #p-personal a.new {
color: #ba0000!important;
}
a:hover, a:visited {
color: #008455!important;
}
ul {
list-style-image: none;
}
html, body {
font-family: Verdana,sans-serif;
}
body, #center {
background-color: #f6f7f1;
}
#mw-page-base {
background-color: #f6f7f1;
background-image: none;
}
div#mw-panel, #p-logo, #p-logo a {
width: 160px; /* statt 10em */
}
div#content, #left-navigation {
margin-left: 176px;
}
/* Buttons */
button {
background-color: #008455;
border: none;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
color: white;
padding: 5px;
margin:10px 0;
}
button:hover {
cursor: pointer;
}
/* SMW */
.checkboxLabel {
display: block;
}
/* "Fortsetzung" abschneiden */
.smw-column-header {
overflow: hidden;
white-space: nowrap;
max-width: 17px;
}
/* Seiten-Spezifisches */
.ns-14 #mw-pages > h2, .ns-14 #mw-pages > h2 + p {
display: none;
}
.page-WEIZENSORTEN ul, .page-DINKELSORTEN ul, .page-ROGGENSORTEN ul, .page-HAFERSORTEN ul, .page-GERSTENSORTEN ul {
list-style-type: none;
margin-left: 0px;
}
/* Footer */
#footer-poweredbyico, #footer-places-privacy, .page-Hauptseite #footer-info {
display: none;
}