MediaWiki:Mobile.css: Forskelle mellem versioner
Diversen (diskussion | bidrag) (Fix) |
Diversen (diskussion | bidrag) No edit summary |
||
(18 mellemliggende versioner af den samme bruger vises ikke) | |||
Linje 8: | Linje 8: | ||
/* Grey background like wikipedia */ | /* Grey background like wikipedia */ | ||
div.header { | div.header { | ||
background-color: #f2f2f2; | |||
} | } | ||
/* Make the seachform wider by narrowing the last tablecell */ | /* Make the seachform wider by narrowing the last tablecell */ | ||
.header > div:last-child { | .header>div:last-child { | ||
width: 1em; | |||
} | } | ||
input.search { | input.search { | ||
padding: .6em; | |||
} | } | ||
Linje 23: | Linje 23: | ||
/* Trying to prevent the sourcecode from setting a specific width on the image */ | /* Trying to prevent the sourcecode from setting a specific width on the image */ | ||
@media screen and (max-width: 500px) { | @media screen and (max-width: 500px) { | ||
.content .thumb .thumbinner { | |||
margin: 0 auto; | |||
width: 100% !important; | |||
} | |||
} | } | ||
Linje 36: | Linje 36: | ||
.skin-minerva .portal-column-left-extra-wide, | .skin-minerva .portal-column-left-extra-wide, | ||
.skin-minerva .portal-column-right-extra-narrow { | .skin-minerva .portal-column-right-extra-narrow { | ||
float: none; | |||
display: block; | |||
width: 100%; | |||
} | } | ||
.building_template { | |||
float: right !important; | |||
border: 2px groove black !important; | |||
width: 100% !important; | |||
padding: 10px !important; | |||
display: table !important; | |||
margin-left: 10px !important; | |||
margin-bottom: 10px !important; | |||
font-size: 14px !important; | |||
background-color: #f7f7f7 !important; | |||
} | |||
#map_leaflet_1 { | |||
width: 100% !important; | |||
height: 180px !important; | |||
background-color: rgb(238, 238, 238) !important; | |||
overflow: hidden !important; | |||
position: relative !important; | |||
min-width: 100% !important; | |||
} | |||
.building_template td { | |||
padding-left: 5px !important; | |||
padding-right: 5px !important; | |||
} |
Nuværende version fra 23. nov. 2023, 13:33
/* 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: right !important; border: 2px groove black !important; width: 100% !important; padding: 10px !important; display: table !important; margin-left: 10px !important; margin-bottom: 10px !important; font-size: 14px !important; background-color: #f7f7f7 !important; } #map_leaflet_1 { width: 100% !important; height: 180px !important; background-color: rgb(238, 238, 238) !important; overflow: hidden !important; position: relative !important; min-width: 100% !important; } .building_template td { padding-left: 5px !important; padding-right: 5px !important; }