MediaWiki:Common.css: Forskelle mellem versioner
Fra AarhusWiki
Diversen (diskussion | bidrag) No edit summary |
Diversen (diskussion | bidrag) No edit summary Tag: Tilbagerullet |
||
Linje 144: | Linje 144: | ||
} | } | ||
} */ | } */ | ||
@media (max-width: 850px) { | |||
.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; | |||
} | |||
} |
Versionen fra 23. nov. 2023, 13:00
/** CSS inkluderet her vil være aktivt for alle brugere. */ /* https://aarhuswiki.dk/wiki/MediaWiki:Common.css */ body { background-color: #ddd; } #mw-header-hack div { display: none; } #mw-header-container { background-color: #2a3856; color: #efefef; /* border-bottom: 3px solid #aaa; */ /* box-shadow: 0 3px 3px 2px rgba(0,0,0,0.075), 0 0 2px rgba(0,0,0,0.2); */ } #mw-header-container .dropdown { color: #001133; } #p-logo-text { background-image: url('/mediawiki/images/AarhusWiki_logo_white.png'); background-repeat: no-repeat; background-size: contain; } #p-logo-text a { opacity: 0; } #p-logo { display: none; } @media only screen and (max-width: 1099px) { #wave-banner, #site-themes { display: none; } } span.mw-headline { /* padding-top: 60px; */ /* margin-top: -60px; */ -webkit-background-clip: content-box; background-clip: content-box; } /* span.mw-headline { margin-top: -60px; padding-bottom: 60px; display: block; } */ /* span.mw-headline { display: inline-block; } span.mw-headline:before { display: inline-block; content: ""; height: 80px; margin: -80px 0 0; } */ /* span.mw-headline { border-top: 50px solid transparent; margin-top: -50px; -webkit-background-clip: padding-box; -moz-background-clip: padding; background-clip: padding-box; } */ #mw-content-container { /* border-bottom: solid 4px #455372; */ border-bottom: 5px solid #2a3856; /* border-top: 5px solid #2a3856; */ } #mw-footer-container { /* border-top: solid 1px #555555; */ /* box-shadow: inset 0 7px 2px -4px rgba(0,0,0,0.1); */ /* color: #ffffff; */ border-top: none; box-shadow: none; /* background-color: #ddd; */ color: #222; } #mw-footer-container a { color: #222; } /* https://stackoverflow.com/questions/28832129/replace-image-src-location-using-css/28832575 */ #f-poweredbyico img { width:150px; height:41px; box-sizing:border-box; padding-left: 150px; background-image: url(https://aarhuswiki.dk/mediawiki/images/As_logo_black_150px.png); } /* Add width to latest articles-list on the homepage */ .portal-column-right-narrow { display: block; padding-left: 10px; } .portal-column-right-narrow ol { margin-left: 1.5em; } .portal-column-right-narrow #Seneste_artikler { white-space: nowrap; } body.page-Forside h1.firstHeading { display: none; } body.page-Forside h1.firstHeading + div#content { border-top: none; } #content h1.firstHeading { border-bottom: 5px solid #455372 !important; } /* #map_leaflet_1 { max-width: 95% !important; }*/ /* @media (max-width: 1024px) { .building_template { float: none; margin: 0 auto; width: 100%; } } */ @media (max-width: 850px) { .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; } }