MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| (22 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 6: | Zeile 6: | ||
/* 'Bearbeiten'-Reiter, Login, Toolbar in Navigation etc. verstecken */ | /* 'Bearbeiten'-Reiter, Login, Toolbar in Navigation etc. verstecken */ | ||
/*#p-namespaces, #p-personal, #p-cactions, #p-tb, #p-views { display: none ; } */ | /* #p-namespaces, #p-personal, #p-cactions, #footer-places-privacy, #p-tb, #p-views { display: none ; } */ | ||
/* Toolbar in Navigation verstecken */ | /* Toolbar in Navigation verstecken */ | ||
| Zeile 12: | Zeile 12: | ||
/* Datenschutz etc. im Footer verstecken */ | /* Datenschutz etc. im Footer verstecken */ | ||
#footer-places, #footer-places-about,#footer-disclaimer { display: none; } | /* #footer-places, #footer-places-about,#footer-disclaimer { display: none; } */ | ||
#footer-places-about,#footer-places-disclaimer { display: none; } | |||
/* Sorgt für eine konstante Position des Labels zum ein-/ausklappen der Einzelnachweise */ | /* Sorgt für eine konstante Position des Labels zum ein-/ausklappen der Einzelnachweise */ | ||
| Zeile 19: | Zeile 20: | ||
} | } | ||
/* Überschrift auf Startseite entfernen */ | |||
body.page-Hauptseite.action-view h1.firstHeading, body.page-Hauptseite.action-submit h1.firstHeading { display: none; } | body.page-Hauptseite.action-view h1.firstHeading, body.page-Hauptseite.action-submit h1.firstHeading { display: none; } | ||
body.page-Start.action-view h1.firstHeading, body.page-Start.action-submit h1.firstHeading { display: none; } | |||
/* Anpassungen für Hauptseite */ | |||
/* Bilder in den Paneelen auf 100% skalieren */ | |||
div.panel-body img { max-width: 100%; height: auto; width: auto; } | |||
/* Links in den Bildboxen schwarz darstellen */ | |||
div.panel-footer a {color: black;} | |||
/* Kein Strich unter der Überschrift in den Bildboxen */ | |||
div.panel-footer h2 {border-bottom: 0px;} | |||
/* Kein Strich unter der Überschrift in den Bildboxen */ | |||
div.panel-footer h2 .plainlinks a {color: black !important;} | |||
/* schlecht zentriertes Logo gerade biegen */ | |||
div.col.text-right img[alt="Uni salzburg.gif"] {padding-left: 13px} | |||
/* Infobox im Fußbereich */ | |||
div.beta-info pre { | |||
background-color: #ffffff; | |||
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; | |||
} | |||
/* Formatierung für Suchfeld*/ | |||
.form-control:focus { | |||
border-color: #266A3B; | |||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(38, 106, 59, 0.6); | |||
} | |||
@media only screen and (min-width: 780px) { | |||
ul.nav li.dropdown:hover > ul.dropdown-menu { | |||
display: block; | |||
} | |||
} | |||
@media screen and (min-width: 710px) { | |||
panelFooterFixedHeight { | |||
height: 170px; | |||
} | |||
} | |||
p { | |||
margin: 0.5em 0; | |||
} | |||
/* Formatierung für "Metaeinträge" in Navigationsmenüs } */ | |||
#n-\.C3\.9Cber-die-drei-Artikeltypen > a {font-style: italic} | |||
#n-Grammatische-Bereiche > a {font-style: italic} | |||
#n-\.C3\.9Cber-das-Projekt > a {font-style: italic} | |||
/* Design etwas leichter machen */ | |||
.firstHeading { | |||
font-size: 30px; | |||
} | |||
h1, .h1 { | |||
font-size: 24px; | |||
border-bottom: 1px solid #aaa; | |||
} | |||
h2, .h2 { | |||
font-size: 22px; | |||
border-bottom: 1px solid #aaa; | |||
} | |||
h3, .h3 { | |||
font-size: 20px; | |||
font-weight: bold; | |||
margin-bottom: .5em; | |||
} | |||
#toc, .toc { | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
padding: 1em; | |||
display: table; | |||
} | |||
#toc, .toccolours { | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
padding: .5em; | |||
} | |||
a:visited{ | |||
color: rgba(38, 106, 59, 1.0); | |||
} | |||
a.external:visited { | |||
color: rgba(38, 106, 59, 1.0) !important; | |||
} | |||
/* | |||
with a bit of blue: rgba(47, 117, 107, 1.0); | |||
*/ | |||
a.new:visited{ | |||
color: #b52b27; | |||
} | |||
/* highlight links to current page */ | /* highlight links to current page */ | ||
| Zeile 32: | Zeile 133: | ||
#ca-watch { display:none!important; } | #ca-watch { display:none!important; } | ||
#ca-view { display:none!important; } | #ca-view { display:none!important; } | ||
/* Navigationsmenü fett setzen */ | |||
div#mw-navigation-collapse { | |||
font-weight: 600; | |||
} | |||
/* Suchfeldtext aber nicht*/ | |||
input#searchInput { | |||
font-weight: normal; | |||
} | |||
overflow-anchor: none; | |||
/* CSS STYLING */ | /* CSS STYLING */ | ||
Aktuelle Version vom 8. Januar 2019, 12:41 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* HIDE STUFF
NOTE: Es dauert jeweils ein wenig, bis die Sachen greifen (5-10min)
*/
/* 'Bearbeiten'-Reiter, Login, Toolbar in Navigation etc. verstecken */
/* #p-namespaces, #p-personal, #p-cactions, #footer-places-privacy, #p-tb, #p-views { display: none ; } */
/* Toolbar in Navigation verstecken */
#p-tb { display:none !important; }
/* Datenschutz etc. im Footer verstecken */
/* #footer-places, #footer-places-about,#footer-disclaimer { display: none; } */
#footer-places-about,#footer-places-disclaimer { display: none; }
/* Sorgt für eine konstante Position des Labels zum ein-/ausklappen der Einzelnachweise */
.mw-collapsible.fixtoggle > .mw-collapsible-toggle {
float: none;
}
/* Überschrift auf Startseite entfernen */
body.page-Hauptseite.action-view h1.firstHeading, body.page-Hauptseite.action-submit h1.firstHeading { display: none; }
body.page-Start.action-view h1.firstHeading, body.page-Start.action-submit h1.firstHeading { display: none; }
/* Anpassungen für Hauptseite */
/* Bilder in den Paneelen auf 100% skalieren */
div.panel-body img { max-width: 100%; height: auto; width: auto; }
/* Links in den Bildboxen schwarz darstellen */
div.panel-footer a {color: black;}
/* Kein Strich unter der Überschrift in den Bildboxen */
div.panel-footer h2 {border-bottom: 0px;}
/* Kein Strich unter der Überschrift in den Bildboxen */
div.panel-footer h2 .plainlinks a {color: black !important;}
/* schlecht zentriertes Logo gerade biegen */
div.col.text-right img[alt="Uni salzburg.gif"] {padding-left: 13px}
/* Infobox im Fußbereich */
div.beta-info pre {
background-color: #ffffff;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
/* Formatierung für Suchfeld*/
.form-control:focus {
border-color: #266A3B;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(38, 106, 59, 0.6);
}
@media only screen and (min-width: 780px) {
ul.nav li.dropdown:hover > ul.dropdown-menu {
display: block;
}
}
@media screen and (min-width: 710px) {
panelFooterFixedHeight {
height: 170px;
}
}
p {
margin: 0.5em 0;
}
/* Formatierung für "Metaeinträge" in Navigationsmenüs } */
#n-\.C3\.9Cber-die-drei-Artikeltypen > a {font-style: italic}
#n-Grammatische-Bereiche > a {font-style: italic}
#n-\.C3\.9Cber-das-Projekt > a {font-style: italic}
/* Design etwas leichter machen */
.firstHeading {
font-size: 30px;
}
h1, .h1 {
font-size: 24px;
border-bottom: 1px solid #aaa;
}
h2, .h2 {
font-size: 22px;
border-bottom: 1px solid #aaa;
}
h3, .h3 {
font-size: 20px;
font-weight: bold;
margin-bottom: .5em;
}
#toc, .toc {
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 1em;
display: table;
}
#toc, .toccolours {
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: .5em;
}
a:visited{
color: rgba(38, 106, 59, 1.0);
}
a.external:visited {
color: rgba(38, 106, 59, 1.0) !important;
}
/*
with a bit of blue: rgba(47, 117, 107, 1.0);
*/
a.new:visited{
color: #b52b27;
}
/* highlight links to current page */
a.current {
display: none;
}
/* remove tabs */
#ca-viewsource { display:none!important; }
#ca-talk { display:none!important; }
#ca-history { display:none!important; }
#ca-watch { display:none!important; }
#ca-view { display:none!important; }
/* Navigationsmenü fett setzen */
div#mw-navigation-collapse {
font-weight: 600;
}
/* Suchfeldtext aber nicht*/
input#searchInput {
font-weight: normal;
}
overflow-anchor: none;
/* CSS STYLING */
/*
@import url(https://fonts.googleapis.com/css?family=Roboto);
body { background-color: #8fbc8f; font-family: 'Roboto', sans-serif; }
h1.firstHeading, .mw-headline { font-family: 'Roboto', sans-serif; }
#mw-panel { background-color: LightCyan; }
#mw-head-base, #mw-head, #mw-page-base, #mw-navigation, #mw-body { background-color: #8fbc8f; }
*/