MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Kommentieren
(Die Seite wurde neu angelegt: „→‎Das folgende CSS wird für alle Benutzeroberflächen geladen.: @font-face { font-family: 'Lato'; src: url('/fonts/Lato-Regular.eot'); src: url…“)
 
(margin-left, lato und Unterdrückung toc-numberg)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
@font-face {
    font-family: 'Lato';
    src: url('/fonts/Lato-Regular.eot');
    src: url('/fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Lato-Regular.woff2') format('woff2'),
        url('/fonts/Lato-Regular.woff') format('woff'),
        url('/fonts/Lato-Regular.ttf') format('truetype');
        font-style: normal;
        font-weight: 400;
        font-variant-ligatures: common-ligatures;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/Lato-Bold.eot');
    src: url('/fonts/Lato-Bold.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Lato-Bold.woff2') format('woff2'),
        url('/fonts/Lato-Bold.woff') format('woff'),
        url('/fonts/Lato-Bold.ttf') format('truetype');
        font-style: normal;
        font-weight: 600;
        font-variant-ligatures: common-ligatures;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/Lato-Italic.eot');
    src: url('/fonts/Lato-Italic.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Lato-Italic.woff2') format('woff2'),
        url('/fonts/Lato-Italic.woff') format('woff'),
        url('/fonts/Lato-Italic.ttf') format('truetype');
        font-style: italic;
        font-weight: 400;
        font-variant-ligatures: common-ligatures;
}
@font-face {
    font-family: 'Lato';
    src: url('/fonts/Lato-BoldItalic.eot');
    src: url('/fonts/Lato-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Lato-BoldItalic.woff2') format('woff2'),
        url('/fonts/Lato-BoldItalic.woff') format('woff'),
        url('/fonts/Lato-BoldItalic.ttf') format('truetype');
        font-style: italic;
        font-weight: 600;
        font-variant-ligatures: common-ligatures;
}
body {
body {
   background-color: white;
   background-color: white;
  font-family: 'Lato';
/*  font-family: 'Lato'; */
}
}


.mw-body {
.mw-body {
margin-left: 9em;  
/* margin-left: 9em; */
}
}


Zeile 61: Zeile 12:
vertical-align: top;
vertical-align: top;
}
}
.tocnumber { display: none; }


#content h1, #content h2, #content #firstHeading { font-family: Lato, sans-serif; }
#content h1, #content h2, #content #firstHeading { font-family: Lato, sans-serif; }

Version vom 7. August 2019, 10:41 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
body {
  background-color: white;
/*  font-family: 'Lato'; */
}

.mw-body {
/*	margin-left: 9em; */
}

.inner td {
vertical-align: top;
}

.tocnumber { display: none; }

#content h1, #content h2, #content #firstHeading { font-family: Lato, sans-serif; }

#p-logo-custom, #p-logo {
        left: 0;
        width: 10em;
        height: 6rem;
        margin-bottom: 1em;
        margin-left: 0.5em;

        a {
                display: block;
                background-repeat: no-repeat;
                background-position: center center;
                text-decoration: none;
        }
}

div#mw-panel {
	width: 9em;
    font-size: @menu-main-font-size;
    position: fixed;
    top: 1rem;
    bottom: 0px;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-top: 0;
}


#mw-page-base {
        background-color: #B6C828 !important;
        background-image: none;
}

@media (max-width:768px) {
        #mw-page-base {
                background-color: #B6C828;
        }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
        #mw-page-base {
                background-color: #B6C828;
        }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
        #mw-page-base {
                background-color: #B6C828;
        }
}

#mw-page-base, #mw-head, div.vectorMenu h5 span { background-color: #B6C828; }

div.vectorTabs a:hover, div.vectorMenu h5 span:hover {
        background-color:  #007556;
}

.onhoverbg:hover {
        background-color:  #007556;
}

.downarrow:hover{
        background-color:  #007556;
}

div.vectorMenu:hover h5 a {
        background-color:  #007556;
}

div.vectorMenu h5 a {
        background-color: #B6C828;
}

div.vectorMenu:hover {
        background-color:  #007556;
}

div.vectorMenu ul {
        border: solid 2px #B6C828;
        border-top: none;
}

div.vectorTabs li.new a, div.vectorTabs li.new a:visited {
    color: red;
}

.userIcon20 { display: none; }