MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus DG HochN-Wiki
Wechseln zu:Navigation, Suche
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 5: Zeile 5:
 
   src: url(https://wiki.dg-hochn.de/skins/fonts/FiraSans-Regular.woff2);
 
   src: url(https://wiki.dg-hochn.de/skins/fonts/FiraSans-Regular.woff2);
 
}
 
}
 
.ve-ui-toolbar-floating {
 
position: fixed!important;
 
top: 100px !important;
 
  
 
/* HochN Farbcodes */
 
/* HochN Farbcodes */
Zeile 51: Zeile 47:
 
     position: relative;
 
     position: relative;
 
     top: -0.9rem;
 
     top: -0.9rem;
 +
}
 +
 +
/* Offset for  VisualEditor Toolbar (under the fixed header) */
 +
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
 +
  position: fixed !important;
 +
  top: 86px !important;
 
}
 
}
  

Aktuelle Version vom 27. Juni 2024, 14:10 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Hausschrift */
@font-face {
  font-family: "Fira-Sans";
  src: url(https://wiki.dg-hochn.de/skins/fonts/FiraSans-Regular.woff2);
}

/* HochN Farbcodes */
:root {
  --darkblue: #3e4f53; /* DG 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 50% */
  --grey: #a6998f; /* DG HochN Komplementärfarbe 2 */
}

/* Navbar mini */

/* 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(--darkblue);
}
.p-navbar .navbar-brand img {
    height: 4rem;
    position: relative;
    top: -0.9rem;
}

/* Offset for  VisualEditor Toolbar (under the fixed header) */
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
  position: fixed !important;
  top: 86px !important;
}

/* 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(--darkblue);
    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(--darkblue);
}
a.external.text:visited, a.external.free:visited {
	color: var(--darkblue);
}
a[href].external:after {
	font-family: 'Font Awesome 5 Free';
    content: " ";
}
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(--darkblue);
    background: transparent;
}
.navbar-expand-cmln .navbar-nav .dropdown-menu, .p-navbar.collapsible .navbar-nav .dropdown-menu {
    z-index: 9999;
}
/* Dropdown Icons */
/* Loginbereich Icons */
.pt-userpage, #pt-userpage > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.pt-mytalk, #pt-mytalk > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.pt-preferences, #pt-preferences > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.pt-watchlist, #pt-watchlist > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.pt-mycontris, #pt-mycontris > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.pt-logout, #pt-logout > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.pt-login, #pt-login > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.pt-createaccount, #pt-createaccount > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}

/* Edit Dropdown Icons */
.ca-nstab-mediawiki:before, #ca-nstab-mediawiki > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.ca-talk:before, #ca-talk > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.ca-edit:before, #ca-edit > a:before {
	font-family: 'Font Awesome 5 Free';
    content: "";
}
.ca-history:before, #ca-history > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.ca-delete:before, #ca-delete > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.ca-move:before, #ca-move > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.ca-protect:before, #ca-protect > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.ca-purge:before, #ca-purge > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.ca-viewsource:before, #ca-viewsource > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.far, .pt-watchlist, .ca-nstab-main, .ca-nstab-mediawiki, .ca-nstab-image, .ca-talk, .ca-edit, .ca-ve-edit, .ca-formedit, .ca-watch, .ca-unwatch, #ca-unwatch > a, #ca-watch > a {
    font-weight: 700 !important;
}
/* Toolbox Werkzeuge Icons */
.t-whatlinkshere:before, #t-whatlinkshere > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.t-recentchangeslinked:before, #t-recentchangeslinked > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.t-upload:before, #t-upload > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.t-specialpages:before, #t-specialpages > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.t-print:before, #t-print > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.t-permalink:before, #t-permalink > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.t-info:before, #t-info > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.t-smwbrowselink:before, #t-smwbrowselink > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
.t-cite:before, #t-cite > a:before {
    font-family: 'Font Awesome 5 Free';
    content: "";
}
/* Werkzeug Button */
a.nav-link.dropdown-toggle.p-tb-toggle {
    background: #f2f2f2;
    padding: 10px 0px 10px 0px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 10px;
}
/* Ü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;
}
/* Jumbotron Image Style */
.card-image {
    -webkit-mask-size: cover;
    overflow: hidden;
    min-width: -webkit-fill-available;
    max-height: 250px;
}
.card-block {
	padding: 0.5 0.5em;
}
.card-title {
	text-align: center;
	padding: 0.5 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: table;*/
    border: 0px solid #fff;
}
.wikitable > caption {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #fff;
    display: contents;
}
/*-- 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 c
/* table {
    border: 3px solid var(--darkgreen)!important;
}*/
td {
    padding: 15px 5px 15px 5px!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 Container Höhe */
#content.mw-body.content {
	min-height: 750px;
}

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;
}}

/* to make images responsive */
.res-img img {
	max-width:100%;
	height:auto;
}
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.