MediaWiki: Tweeki.css: Unterschied zwischen den Versionen

Aus Smart Places Network
Wechseln zu: Navigation, Suche
 
(45 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 18: Zeile 18:
 
#navbar {font-family: 'Poppins', sans-serif;}
 
#navbar {font-family: 'Poppins', sans-serif;}
 
.navbar-inner { background-color: white}
 
.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-brand img { height: 40px; margin-top: -8px;margin-right: 3em;}
 
.navbar-default .navbar-nav>li>a { padding-top: 20px; font-size: 16px; }
 
.navbar-default .navbar-nav>li>a { padding-top: 20px; font-size: 16px; }
Zeile 93: Zeile 94:
  
 
/* Change separation */
 
/* Change separation */
  .panel { margin-bottom: .5em; width: 95%;}
+
  .panel {
 +
    margin: .5em auto;
 +
    width: 95%;
 +
}
  
 
/* Footer */
 
/* Footer */
Zeile 103: Zeile 107:
 
.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;
 +
}
 +
.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 {
 
#product-gallery {
    background: red;
 
 
     display: flex;
 
     display: flex;
 
     flex-direction: row;
 
     flex-direction: row;
 
     flex-wrap: wrap;
 
     flex-wrap: wrap;
 
}
 
}
#product-gallery > .element-container {
+
#product-gallery > .element-container .image {
    background-color: blue;
+
     margin: 5px;
     margin: 20px;
 
 
     display: flex;
 
     display: flex;
 
     flex-direction: column;
 
     flex-direction: column;
     justify-items: space-between;
+
     justify-items: center;
 
     align-items: center;
 
     align-items: center;
 
}
 
}
/*
+
#product-gallery > .element-container .image > img {
#product-gallery > .element-container > p > .image {
 
 
     border: 1px solid #c8ccd1;
 
     border: 1px solid #c8ccd1;
 
     background-color: #f8f9fa;
 
     background-color: #f8f9fa;
 
     width: 155px;
 
     width: 155px;
 
     height: 155px;
 
     height: 155px;
     margin: 5px;
+
     object-fit: contain;
 
     padding: 14px;
 
     padding: 14px;
 
     box-sizing: border-box;
 
     box-sizing: border-box;
 +
}
 +
#product-gallery > .element-container .image::after {
 +
    width: 155px;
 +
    content: attr(title);
 +
    color: #747e8b;
 
     text-align: center;
 
     text-align: center;
 +
    overflow-wrap: break-word;
 +
}
 +
 +
/* More responsive Thumbnails */
 +
.thumbinner {
 +
    width: 100%;
 +
    height: auto;
 +
}
 +
.thumbimage {
 +
    width: 100%;
 +
    height: auto;
 
}
 
}
  
#product-gallery .image {
+
/*Fix overlapping top navbar and Universal Language Selector menus*/
     position: relative;
+
.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;
 
}
 
}
#product-gallery .image::after {
 
    content: attr(title);
 
    position: absolute;
 
    left: 0;
 
    top: 155px;
 
    width: 155px;
 
    color: #747e8b;
 
    overflow-wrap: break-word;
 
    z-index: 1;
 
} */
 

Aktuelle Version vom 31. Januar 2020, 12: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;
}