MediaWiki:Mobile.css: Forskelle mellem versioner
Fra AarhusWiki
Cjk (diskussion | bidrag) mNo edit summary |
Cjk (diskussion | bidrag) mNo edit summary |
||
Linje 15: | Linje 15: | ||
} | } | ||
/* Trying to prevent the sourcecode from setting a specific width on the image */ | |||
@media screen and (max-width: 500px) { | |||
.content .thumb .thumbinner { | |||
margin: 0 auto; | |||
width: 100% !important; | |||
} | |||
} | |||
/* Decouple the columns on narrow screens */ | /* Decouple the columns on narrow screens */ |
Versionen fra 11. jul. 2016, 11:00
/* CSS placed here will affect users of the mobile site */ /* Remove welcome-message from Mainpage */ .page-Main_Page.is-authenticated .pre-content { display: none; } /* Grey background like wikipedia */ div.header { background-color: #f2f2f2; } input.search { padding: .6em; } /* Trying to prevent the sourcecode from setting a specific width on the image */ @media screen and (max-width: 500px) { .content .thumb .thumbinner { margin: 0 auto; width: 100% !important; } } /* Decouple the columns on narrow screens */ .skin-minerva .portal-column-left, .skin-minerva .portal-column-right, .skin-minerva .portal-column-left-wide, .skin-minerva .portal-column-right-narrow, .skin-minerva .portal-column-left-extra-wide, .skin-minerva .portal-column-right-extra-narrow { float: none; display: block; width: 100%; } }