MediaWiki: Tweeki.css: Unterschied zwischen den Versionen
Aus Smart Places Network
Jonar (Diskussion | Beiträge) |
Jonar (Diskussion | Beiträge) |
||
| (9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 121: | Zeile 121: | ||
font-size: 22px; | font-size: 22px; | ||
left: 30px; | left: 30px; | ||
| − | top: | + | top: 23px; |
} | } | ||
| − | @media | + | /* Small screens */ |
| + | @media (max-width: 991px) { | ||
.panel-heading-text { | .panel-heading-text { | ||
font-size: 14px; | font-size: 14px; | ||
} | } | ||
| − | + | .panel-heading-glyphicon { | |
font-size: 22px; | font-size: 22px; | ||
| − | left: | + | left: 45px; |
| − | top: | + | top: 15px; |
} | } | ||
} | } | ||
| − | @media (min-width: | + | /* Medium screens */ |
| + | @media (min-width: 992px) and (max-width: 1199px) { | ||
.panel-heading-text { | .panel-heading-text { | ||
| − | font-size: | + | font-size: 12px; |
} | } | ||
| − | + | .panel-heading-glyphicon { | |
| − | font-size: | + | font-size: 20px; |
left: 30px; | left: 30px; | ||
| − | top: | + | top: 25px; |
} | } | ||
} | } | ||
| Zeile 184: | Zeile 186: | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
| + | } | ||
| + | |||
| + | /*Fix overlapping top navbar and Universal Language Selector menus*/ | ||
| + | .imeselector.imeselector-toggle { | ||
| + | margin-top: 16px !important; | ||
| + | } | ||
| + | #language-settings-dialog { | ||
| + | margin-top: 49px !important; | ||
| + | } | ||
| + | |||
| + | /*Prevent site notice buttons from growing*/ | ||
| + | .panel-heading p { | ||
| + | margin: 0; | ||
} | } | ||
Aktuelle Version vom 31. Januar 2020, 13:24 Uhr
/* @import url('https://fonts.googleapis.com/css?family=Poppins'); */
/* poppins-regular - latin */
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 400;
src: url('resources/fonts/poppins-v5-latin-regular.eot'); /* IE9 Compat Modes */
src: local('Poppins Regular'), local('Poppins-Regular'),
url('resources/fonts/poppins-v5-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('resources/fonts/poppins-v5-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('resources/fonts/poppins-v5-latin-regular.woff') format('woff'), /* Modern Browsers */
url('resources/fonts/poppins-v5-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('resources/fonts/poppins-v5-latin-regular.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* Navigation */
#navbar {font-family: 'Poppins', sans-serif;}
.navbar-inner { background-color: white}
.navbar-brand { height: 55px; display: grid; place-items: center center;}
.navbar-brand img { height: 40px; margin-top: -8px;margin-right: 3em;}
.navbar-default .navbar-nav>li>a { padding-top: 20px; font-size: 16px; }
nav.category-browser {background-color: white;padding-left: .5em;font-size: 16px;line-height: 1.4em;}
nav.category-browser h2 {font-size: 1.4em; border:none; margin-top: .5em;}
nav.category-browser ul {padding-left: 1em;}
/* Headings */
.page-header {
padding: 0;
margin: 0;
text-align: left;
border: none;
letter-spacing: normal;
font-weight: 500;
}
h1 {font-size: 1.9em; color: #111; font-family: 'Poppins', sans-serif;}
h2,h3,h4,h5 {color: #333; font-family: 'Poppins', sans-serif; font-weight:500;}
h2 {font-size: 1.7em; border-bottom: 1px solid #aaa; margin-bottom: .7em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.3em;}
h5 {font-size: 1.2em;}
body {
font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 18px;
line-height: 1.5em;
color: #444;
}
/* Default links */
a {
color: #077c9d;
text-decoration: none;
}
a:hover, a:focus {
color: #fd8103;
text-decoration: underline;
}
a:active, a:hover {
outline: 0;
}
/* Top navigation links */
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
color: #333;
background-color: transparent;
color: #fd8103;
}
/* Sidebar */
#tweekiTOC #toctitle h2, #tweekiTOC .toctitle h2 {border-bottom: none; margin-top: .5em;}
#sidebar-left { padding-left: 2em; }
/* Media-queries specific adjustments */
@media (min-width: 992px) {
#sidebar-left { padding-left: 2em; font-size: .9em;line-height: 1.3em;overflow-y: auto; height: 93vh;position:absolute;}
}
@media (min-width: 768px) {
#content { padding: 1em;}
}
/* Expand anchor to header width in accordions */
.panel-title a {
display: block;
padding: 10px 15px;
margin: -10px -15px;
}
/* Change separation */
.panel {
margin: .5em auto;
width: 95%;
}
/* Footer */
#catlinks {display:block;border:none; border-top: 1px solid #aaa;}
/* Geshi custom */
.mw-highlight .nt { color: #17C5D8; }
.mw-highlight .nv { color: #D90368; }
.mw-highlight .s2 { color: #888; }
/* Site notice */
.panel-heading{
text-align: center;
}
.panel-heading-text {
color: white;
font-size: 14px;
}
.panel-heading-glyphicon {
color: white;
position: absolute;
opacity: .3;
font-size: 22px;
left: 30px;
top: 23px;
}
/* Small screens */
@media (max-width: 991px) {
.panel-heading-text {
font-size: 14px;
}
.panel-heading-glyphicon {
font-size: 22px;
left: 45px;
top: 15px;
}
}
/* Medium screens */
@media (min-width: 992px) and (max-width: 1199px) {
.panel-heading-text {
font-size: 12px;
}
.panel-heading-glyphicon {
font-size: 20px;
left: 30px;
top: 25px;
}
}
/* Group of images inside pages generated by the form Produktmusterkoffer */
#product-gallery {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
#product-gallery > .element-container .image {
margin: 5px;
display: flex;
flex-direction: column;
justify-items: center;
align-items: center;
}
#product-gallery > .element-container .image > img {
border: 1px solid #c8ccd1;
background-color: #f8f9fa;
width: 155px;
height: 155px;
object-fit: contain;
padding: 14px;
box-sizing: border-box;
}
#product-gallery > .element-container .image::after {
width: 155px;
content: attr(title);
color: #747e8b;
text-align: center;
overflow-wrap: break-word;
}
/* More responsive Thumbnails */
.thumbinner {
width: 100%;
height: auto;
}
.thumbimage {
width: 100%;
height: auto;
}
/*Fix overlapping top navbar and Universal Language Selector menus*/
.imeselector.imeselector-toggle {
margin-top: 16px !important;
}
#language-settings-dialog {
margin-top: 49px !important;
}
/*Prevent site notice buttons from growing*/
.panel-heading p {
margin: 0;
}