MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Athalon
Zur Navigation springen Zur Suche springen
 
(12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 8: Zeile 8:
 
}
 
}
  
.ath-home-page img {
+
.ath-home-page-banner {
 +
width: 100%;
 +
 
 +
}
 +
 
 +
.ath-home-page-banner img {
 
     max-width: 100%;
 
     max-width: 100%;
 
     height: auto;
 
     height: auto;
 +
}
 +
 +
 +
.ath-home-page-map {
 +
 +
    display: flex;
 +
}
 +
 +
.ath-home-page-map .noresize {
 +
    position: relative;
 +
    width: auto !important;
 +
    height: auto !important;
 +
    margin: auto;
 +
    max-width: 900px
 +
}
 +
 +
.ath-home-page-map .noresize > img {
 +
    width: auto !important;
 +
    height: auto !important;
 +
    max-width: 100%;
 +
 +
}
 +
 +
.ath-home-page-map .noresize > img + div {
 +
    margin-left: auto !important
 +
}
 +
 +
 +
@media screen and (max-width: 1350px) {
 +
    .ath-home-page-map-right img {
 +
        width: 32px;
 +
        height: auto;
 +
    }
 +
}
 +
 +
.ath-home-page-wiki-table {
 +
    display: flex;
 +
    flex-flow: wrap;
 +
}
 +
 +
 +
.ath-home-page-wiki-table > td {
 +
    flex: 1;
 +
}
 +
 +
 +
@media screen and (max-width: 1000px) {
 +
    #mw-panel {
 +
        position: static;
 +
    }
 +
    #p-logo {
 +
        position: absolute;
 +
        top: 0;
 +
        left: 0;
 +
    }
 +
    #p-logo a {
 +
        width: 5em;
 +
        height: 80px;
 +
        background-size: cover;
 +
    }
 +
    #content {
 +
        margin-left: 0 !important;
 +
    }
 
}
 
}

Aktuelle Version vom 23. März 2023, 14:10 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
table.crafting tbody{
     background-image:url('http://wiki.athalon.de/images/c/cc/Crafting-Background.png');
}

table.smelting tbody{
     background-image:url('http://wiki.athalon.de/images/b/b8/Smelting-Background.png');
}

.ath-home-page-banner {
width: 100%;

}

.ath-home-page-banner img {
    max-width: 100%;
    height: auto;
}


.ath-home-page-map {

    display: flex;
}

.ath-home-page-map .noresize {
    position: relative;
    width: auto !important;
    height: auto !important;
    margin: auto;
    max-width: 900px
}

.ath-home-page-map .noresize > img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;

}

.ath-home-page-map .noresize > img + div {
    margin-left: auto !important
}


@media screen and (max-width: 1350px) {
    .ath-home-page-map-right img {
         width: 32px;
         height: auto;
    }
}

.ath-home-page-wiki-table {
    display: flex;
    flex-flow: wrap;
}


.ath-home-page-wiki-table > td {
    flex: 1;
}


@media screen and (max-width: 1000px) {
    #mw-panel {
        position: static;
    }
    #p-logo {
        position: absolute;
        top: 0;
        left: 0;
    }
    #p-logo a {
        width: 5em;
        height: 80px;
        background-size: cover;
    }
    #content {
        margin-left: 0 !important;
    }
}