MediaWiki: Tweeki.css: Unterschied zwischen den Versionen

Aus Smart Places Network
Wechseln zu: Navigation, Suche
Zeile 103: Zeile 103:
 
.mw-highlight .s2 { color: #888; }
 
.mw-highlight .s2 { color: #888; }
  
/* Style group of images inside pages generated by the form Produktmusterkoffer */
+
/* Site notice */
 +
.panel-heading{
 +
    text-align: center;
 +
    position: relative;
 +
}
 +
 
 +
.panel-heading-text {
 +
    color: white;
 +
    font-size: 13px;
 +
    letter-spacing: 1px;
 +
    font-weight: bold;
 +
    text-transform: uppercase;
 +
    position: relative;
 +
}
 +
 
 +
.panel-heading-glyphicon {
 +
    color: white;
 +
    font-size: 30px;
 +
    position: absolute;
 +
    left: 7px;
 +
    top: 7px;
 +
    opacity: .3;
 +
}
 +
 
 +
/* Group of images inside pages generated by the form Produktmusterkoffer */
 
#product-gallery {
 
#product-gallery {
 
     display: flex;
 
     display: flex;

Version vom 15. Februar 2019, 12:21 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 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-bottom: .5em; 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;
    position: relative;
}

.panel-heading-text {
    color: white;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.panel-heading-glyphicon {
    color: white;
    font-size: 30px;
    position: absolute;
    left: 7px;
    top: 7px;
    opacity: .3;
}

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