Difference between revisions of "User:DustyFB/Sandbox/Templates/Template:SpaceshipInfobox"
Jump to navigation
Jump to search
Line 139: | Line 139: | ||
} | } | ||
}} | }} | ||
/* Portrait orientation. Also, low-res viewports */ | |||
@media | |||
only screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), | |||
only screen and ( min--moz-device-pixel-ratio: 2) and (orientation: portrait), | |||
only screen and ( -o-min-device-pixel-ratio: 2/1) and (orientation: portrait), | |||
only screen and ( min-device-pixel-ratio: 2) and (orientation: portrait), | |||
only screen and ( min-resolution: 192dpi) and (orientation: portrait), | |||
only screen and ( min-resolution: 2dppx) and (orientation: portrait), | |||
only screen and (max-width: 800px) and (orientation: portrait) { | |||
.Spaceship-Infobox { | |||
width:auto; | |||
float:none; | |||
clear:none; | |||
font-size:1.5em; | |||
} | |||
} | |||
/* Landscape orientation. Also, low-res viewports */ | |||
@media | |||
only screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape), | |||
only screen and ( min--moz-device-pixel-ratio: 2) and (orientation: landscape), | |||
only screen and ( -o-min-device-pixel-ratio: 2/1) and (orientation: landscape), | |||
only screen and ( min-device-pixel-ratio: 2) and (orientation: landscape), | |||
only screen and ( min-resolution: 192dpi) and (orientation: landscape), | |||
only screen and ( min-resolution: 2dppx) and (orientation: landscape) | |||
{ | |||
.Spaceship-Infobox { | |||
width:40%; | |||
font-size:0.9em; | |||
} | |||
} | |||
</includeonly> | </includeonly> |
Revision as of 07:37, 14 May 2021
Gallery mode can be utilized in the image field with:
|image=<gallery mode="slideshow"> Image:Memory_relay.png|"Caption" Image:Logo_of_empire.png|"Caption" </gallery>