MediaWiki:Common.css

Aus DG HochN-Wiki
Wechseln zu:Navigation, Suche

Hinweis: Leere nach dem Speichern 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: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Gehe zu Menü → Einstellungen (Opera → Einstellungen auf dem Mac) und dann auf Datenschutz & Sicherheit → Browserdaten löschen → Gespeicherte Bilder und Dateien.
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Hausschrift */
@import url('https://fonts.googleapis.com/css?family=Fira+Sans&display=swap');

@font-face {
  font-family: "Fira Sans";
}

/* HochN Farbcodes */
:root {
  --darkblue: #00495b; /* HochN Blau 100% */
  --blue: #8396a4; /* HochN Blau 50% */
  --lightblue: #cad2d8; /* HochN Blau 20% */
  --darkgreen: #b0bc00; /* HochN Grün 100% */
  --green: #d2d57f; /* HochN Grün 50% */
  --cyan: #32b8c9; /* HochN Cyan 100% */
  --lightcyan: #d3ebef; /* HochN Cyan 20% */
  --darkred: #730c3d; /* HochN Rot 100% */
  --red: #b37f8e; /* HochN Rot 100% */
}

/* Navbar mini */
.p-navbar.small, .small .dropdown-menu > *.p-navbar, .footer-info > div.p-navbar, .footer-places > div.p-navbar, .footer-icons > div.p-navbar {
    display: none;
}
/* Navbar Settings */
.p-navbar {
    background-color: #fff;
    border-bottom: 1px solid #f3f3f3;
    padding: 20px 15px 20px 15px;
}
.navbar, .p-navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
.navbar-light .navbar-nav .nav-link, .p-navbar .navbar-nav .nav-link, .navbar-light .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .navbar-light .navbar-nav .navbar-tool > a, .p-navbar .navbar-nav .navbar-tool > a {
    color: #333;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 900;
    font-family: "Fira Sans", sans-serif;
}
.navbar-light .navbar-nav .nav-link:hover, .p-navbar .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .p-navbar .navbar-tool > a:hover, .p-navbar .navbar-light .navbar-nav .navbar-tool > a:hover, .p-navbar .navbar-nav .navbar-tool > a:hover, .navbar-light .navbar-nav .nav-link:focus, .p-navbar .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .p-navbar .navbar-tool > a:focus, .p-navbar .navbar-light .navbar-nav .navbar-tool > a:focus, .p-navbar .navbar-nav .navbar-tool > a:focus {
    color: var(--darkgreen);
}
.p-navbar .navbar-brand img {
    height: 4rem;
    position: relative;
    top: -0.9rem;
}
@media (min-width: 1600px) {
.p-navbar {
    padding: 20px 21% 20px 21%;
}}
/* Button Styles */
.mw-ui-button.mw-ui-progressive {
    background-color: var(--darkgreen);
    color: #fff;
    border: 1px solid var(--darkgreen);
}
.mw-ui-button.mw-ui-progressive:hover {
    background-color: var(--green);
    border: 1px solid var(--green);
}
/* Header Image */
.inslider {
    position: absolute;
    color: #666!important;
    font-size: 28px!important;
    font-weight: 600!important;
    bottom: 27%!important;
    max-width: 66%!important;
    display: inline-block;
    background-color: rgba(255,255,255,0.8)!important;
    left: 3%!important;
    padding: 5px!important;
    padding-top: 15px!important;
    padding-right: 15px!important;
    padding-bottom: 15px!important;
    padding-left: 25px!important;
}
p img {
    margin: 0;
    object-fit: cover;
    max-width: -webkit-fill-available;
}
/* Links */
a {
    color: var(--darkblue);
    font-weight: 600;
}
a:hover {
    color: var(--darkgreen);
    text-decoration: underline;
}
a:visited {
  color: var(--darkblue);
}
a.external.text, a.external.free {
	color: var(--darkblue);
    font-weight: 600;
}
a.external.text:hover, a.external.free:hover {
	color: var(--darkgreen);
}
a.external.text:visited, a.external.free:visited {
	color: var(--darkblue);
}
a[href].new {
	color: var(--darkred);
}
a[href].new:hover {
	color: var(--red);
}
a[href].new:visited {
	color: var(--darkred);
}
/* Scrollbar Z-Index */
.ace_scrollbar {
    z-index: 3;
}
/* Dropdown */
.dropdown-item, .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child {
    font-weight: 400;
    color: #4e4e4e;
    text-transform: none;
    font-weight: 600;
    padding: 18px 40px 18px 40px;
}
.dropdown-item:hover, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:hover, .dropdown-item:focus, .p-navbar .navbar-nav .dropdown-menu > div > a:last-child:first-child:focus {
    color: var(--darkgreen);
    background: transparent;
}
.navbar-expand-cmln .navbar-nav .dropdown-menu, .p-navbar.collapsible .navbar-nav .dropdown-menu {
    z-index: 9999;
}
/* Überschriften */
h1, h2, h3, h4, h5, h6 {
	font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    color: #4e4e4e;
    line-height: 1.3em;
}
/* Font Settings */
body {
    font-family: "Fira Sans", sans-serif;
    color: #4E4E4E;
    -moz-hyphens: inherit;
    -webkit-hyphens: inherit;
    -ms-hyphens: inherit;
    hyphens: inherit;
    display: block;
    overflow-x: hidden;
}
p {
    margin-top: .6rem;
    margin-bottom: .6rem;
}
/* Linkbox */
.toc {
    padding: 35px 20px 35px 20px;
    margin: 25px 0px 25px 0px;
}
/* Canvas Background Color */
canvas {
	background: #f3f3f3;
}
/* Login Badge Farbe */
.badge-info {
    background-color: var(--cyan);
}
/*---- DPL Forum ----*/
/* Forumheader style */
.forum-header {
    border: 1px solid var(--lightblue);
    background-color: var(--lightblue);
	margin: 0 0 1em; 
	padding: 0 0.5em;
}
/* Warning Icon raus */
.warning {
    display: none!important;
}
/* Forum table outside border */
table.forum-table {
	border: 1px solid lightgrey;
}
/* Forum table cell padding and borders for all table body cells */
table.forum-table > tbody > tr > td {
	border-top: 1px solid lightgrey;
	padding: 8px;
}
/* Forum table background color (show on odd rows) */
table.forum-table > tbody > tr {
	background-color:#fff;
}
/* Forum table background color (shows on even rows) */
table.forum-table > tbody > tr:nth-child(even) {
	background-color:#f9f9f9;
}
/* Forum table header row background, style and padding */
table.forum-table > tbody > tr > th {
	background-color: var(--lightcyan);
	font-weight:bold;
	padding: 8px;
}
/* Tabellen */
.wikitable {
    overflow: auto;
    display: block;
    border: 0px solid #fff;
}
.wikitable > caption {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #fff;
}
/*-- InputBox --*/
.inputbox-sidebar {
	width: 300px; 
	border: 1px solid lightgrey; 
	clear: right; 
	float: right; 
	margin: 3px; 
	padding:10px;
	margin-left: 2em;
}
/* Map Startseite */

.leaflet-container.leaflet-touch-drag {
    z-index: 0;
}
/* Tabellenrahmen */

table {
    padding: 15px 5px 15px 5px!important;
    border: 3px solid var(--darkgreen)!important;
}

/* Test für Boxen */

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.inslider {
    position: absolute;
    color: #fff;
    font-size: 30px;
    bottom: 6.5%;
    max-width: 60%;
    display: inline-block;
    background: rgba(0,0,0,0.5);
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgba(0, 0, 0, 0.5);
    left: 3%;
    padding: 5px;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}

.heroblocks {
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 17px;
}
@media (min-width: 992px) {
.heroblocks .heroblock {
    flex-basis: 33.33%;
}}
.heroblocks .heroblock {
    padding: 0px;
    padding-top: 70px;
    padding-right: 30px;
    padding-bottom: 70px;
    padding-left: 25px;
    margin-top: 20px;
}
.heroblocks .heroblock1, .heroblocks .heroblock2, .heroblocks .heroblock4, .heroblocks .heroblock5 {
    border-right: 6px solid #fff;
    border-right-width: 6px;
    border-right-style: solid;
    border-right-color: rgb(255, 255, 255);
}
.heroblocks .heroblock1, .heroblocks .heroblock3 {
    background: #f3f3f3;
    background-color: #f3f3f3;
}
.heroblocks .heroblock2, .heroblocks .heroblock4 {
    background: #f3f3f3;
    background-color: #f3f3f3;
}

*, *::before, *::after {
    box-sizing: border-box;
}

div {
    display: block;
}

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/* Mobile */
/* Header img font */
@media (max-width: 992px) {
.inslider {
    position: absolute;
    color: #666!important;
    font-size: 22px!important;
    font-weight: 600!important;
    bottom: 30%!important;
    max-width: 88%!important;
    display: inline-block;
    background-color: rgba(255,255,255,0.8)!important;
    left: 5%!important;
    padding: 5px!important;
    padding-top: 15px!important;
    padding-right: 15px!important;
    padding-bottom: 15px!important;
    padding-left: 15px!important;
}}
Cookies helfen uns bei der Bereitstellung von DG HochN-Wiki. Durch die Nutzung von DG HochN-Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.