MediaWiki:Common.css: Forskelle mellem versioner
Fra AarhusWiki
Cjk (diskussion | bidrag) mNo edit summary |
Diversen (diskussion | bidrag) No edit summary |
||
| (61 mellemliggende versioner af 3 andre brugere ikke vist) | |||
| Linje 35: | Linje 35: | ||
@media only screen and (max-width: 1099px) { | @media only screen and (max-width: 1099px) { | ||
#wave-banner { | #wave-banner, #site-themes { | ||
display: none; | display: none; | ||
} | } | ||
| Linje 41: | Linje 41: | ||
span.mw-headline { | span.mw-headline { | ||
padding-top: 60px; | /* padding-top: 60px; */ | ||
margin-top: -60px; | /* margin-top: -60px; */ | ||
-webkit-background-clip: content-box; | -webkit-background-clip: content-box; | ||
background-clip: content-box; | background-clip: content-box; | ||
| Linje 116: | Linje 116: | ||
.portal-column-right-narrow #Seneste_artikler { | .portal-column-right-narrow #Seneste_artikler { | ||
white-space: nowrap; | 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; | |||
} | } | ||
Nuværende version fra 23. nov. 2023, 15:00
/** 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;
}
@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;
}