MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Seb (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „→Das folgende CSS wird für alle Benutzeroberflächen geladen.: table.test th{ background-image:url('http://wiki.athalon.net/images/8/8b/H%C3%A4matit_…“) |
Misan (Diskussion | Beiträge) |
||
| (19 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | ||
| − | table. | + | table.crafting tbody{ |
| − | background-image:url('http://wiki.athalon. | + | 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; | ||
| + | } | ||
} | } | ||
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;
}
}