Vorlage:MemorialWikiInfoboxResponsive: Unterschied zwischen den Versionen
Aus bernburg-memorial.ksb-anhalt.de
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<includeonly>{{#css: | <includeonly>{{#css: | ||
@media only screen and (min-width: 768px) { | |||
.memorialwikiinfobox { | .memorialwikiinfobox { | ||
width: 270px; | width: 270px; | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
/* border: 10px solid #000; */ | |||
} | } | ||
} | |||
@media only screen and (max-width: 768px) { | |||
.memorialwikiinfobox { | |||
width: 270px; | |||
float: right; | |||
clear: right; | |||
/* border: 10px solid #000; */ | |||
} | |||
} | |||
@media only screen and (max-width: 600px) { | |||
.memorialwikiinfobox { | |||
float: none; | |||
display: block; | |||
margin-left: auto; | |||
margin-right: auto; | |||
/* border: 10px solid #000; */ | |||
} | |||
} | |||
}}</includeonly> | }}</includeonly> |