MediaWiki:Common.css
Fra AarhusWiki
Bemærk: Efter at have gemt er du måske nødt til at tømme din browsers cache for at kunne se ændringerne.
- Firefox / Safari: Hold Shift nede og klik på Reload, eller tryk enten Ctrl-F5 eller Ctrl-R (⌘-R på en Mac).
- Google Chrome: Tryk Ctrl-Shift-R (⌘-Shift-R på en Mac).
- Internet Explorer / Edge: Hold Ctrl nede og klik på Refresh, eller tryk på Ctrl-F5.
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files
/** CSS inkluderet her vil være aktivt for alle brugere. */
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;
}
.wave-banner {
padding-right: 1em;
box-sizing: border-box;
width: 14em;
display:none;
}
@screen and (min-width:1100px) and (max-width:1339px) {
.wave-banner {
display: block;
position: relative;
}
}
@screen and (min-width:1340px) {
.wave-banner {
justify-content: space-between;
flex: 0 0 14em;
order: 1;
}
}
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;
}