MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus DG HochN-Wiki
Thilo (Diskussion | Beiträge) K |
Thilo (Diskussion | Beiträge) K |
||
Zeile 1: | Zeile 1: | ||
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | /* 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"; | ||
+ | } | ||
+ | /* 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: #0271bb; | ||
+ | } | ||
+ | .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: #0271bb; | ||
+ | color: #fff; | ||
+ | border: 1px solid #0271bb; | ||
+ | } | ||
+ | .mw-ui-button.mw-ui-progressive:hover { | ||
+ | background-color: #3366cc; | ||
+ | border: 1px solid #3366cc; | ||
+ | } | ||
+ | /* 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: #3c3c3c; | ||
+ | font-weight: 600; | ||
+ | } | ||
+ | a:hover { | ||
+ | color: #0271bb; | ||
+ | text-decoration: underline; | ||
+ | } | ||
+ | a:visited { | ||
+ | color: #555555; | ||
+ | } | ||
+ | /* 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: #0271bb; | ||
+ | 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; | ||
+ | } | ||
/*---- DPL Forum ----*/ | /*---- DPL Forum ----*/ | ||
/* Forumheader style */ | /* Forumheader style */ | ||
.forum-header { | .forum-header { | ||
− | + | border: 1px solid #8396a4; | |
− | + | background-color: #d3ebef; | |
margin: 0 0 1em; | margin: 0 0 1em; | ||
padding: 0 0.5em; | padding: 0 0.5em; | ||
+ | } | ||
+ | /* Warning Icon raus */ | ||
+ | .warning { | ||
+ | display: none!important; | ||
} | } | ||
/* Forum table outside border */ | /* Forum table outside border */ | ||
Zeile 25: | Zeile 157: | ||
/* Forum table background color (shows on even rows) */ | /* Forum table background color (shows on even rows) */ | ||
table.forum-table > tbody > tr:nth-child(even) { | table.forum-table > tbody > tr:nth-child(even) { | ||
− | background-color:# | + | background-color:#f9f9f9; |
} | } | ||
/* Forum table header row background, style and padding */ | /* Forum table header row background, style and padding */ | ||
table.forum-table > tbody > tr > th { | table.forum-table > tbody > tr > th { | ||
− | background-color:# | + | background-color:#d3ebef; |
font-weight:bold; | font-weight:bold; | ||
padding: 8px; | padding: 8px; | ||
} | } | ||
− | + | /* Tabellen */ | |
+ | .wikitable { | ||
+ | overflow: auto; | ||
+ | display: block; | ||
+ | border: 0px solid #fff; | ||
+ | } | ||
+ | .wikitable > caption { | ||
+ | padding-top: 1rem; | ||
+ | padding-bottom: 1rem; | ||
+ | background: #fff; | ||
+ | } | ||
/*-- InputBox --*/ | /*-- InputBox --*/ | ||
.inputbox-sidebar { | .inputbox-sidebar { | ||
Zeile 44: | Zeile 186: | ||
margin-left: 2em; | margin-left: 2em; | ||
} | } | ||
+ | /* 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; | ||
+ | }} |
Version vom 22. April 2021, 20:19 Uhr
/* 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";
}
/* 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: #0271bb;
}
.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: #0271bb;
color: #fff;
border: 1px solid #0271bb;
}
.mw-ui-button.mw-ui-progressive:hover {
background-color: #3366cc;
border: 1px solid #3366cc;
}
/* 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: #3c3c3c;
font-weight: 600;
}
a:hover {
color: #0271bb;
text-decoration: underline;
}
a:visited {
color: #555555;
}
/* 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: #0271bb;
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;
}
/*---- DPL Forum ----*/
/* Forumheader style */
.forum-header {
border: 1px solid #8396a4;
background-color: #d3ebef;
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:#d3ebef;
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;
}
/* 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;
}}