MediaWiki:Mobile.css: Forskelle mellem versioner
Fra AarhusWiki
Diversen (diskussion | bidrag) No edit summary |
Diversen (diskussion | bidrag) No edit summary |
||
Linje 41: | Linje 41: | ||
} | } | ||
.building_template { | .building_template { | ||
float: none; | float: none !important; | ||
border: none; | border: none !important; | ||
width: auto; | width: auto !important; | ||
padding: 0; | padding: 0 !important; | ||
display: initial; /* or specific default display value */ | display: initial !important; /* or specific default display value */ | ||
margin-left: 0; | margin-left: 0 !important; | ||
margin-bottom: 0; | margin-bottom: 0 !important; | ||
font-size: medium; /* or specific default font size */ | font-size: medium !important; /* or specific default font size */ | ||
background-color: transparent; /* or specific default background */ | background-color: transparent !important; /* or specific default background */ | ||
} | } |
Versionen fra 23. nov. 2023, 11:55
/* 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; } /* Make the seachform wider by narrowing the last tablecell */ .header>div:last-child { width: 1em; } 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%; } .building_template { float: none !important; border: none !important; width: auto !important; padding: 0 !important; display: initial !important; /* or specific default display value */ margin-left: 0 !important; margin-bottom: 0 !important; font-size: medium !important; /* or specific default font size */ background-color: transparent !important; /* or specific default background */ }