MediaWiki:Common.css: Forskelle mellem versioner

Fra AarhusWiki
mNo edit summary
No edit summary
 
(103 mellemliggende versioner af 3 andre brugere ikke vist)
Linje 1: Linje 1:
/** CSS inkluderet her vil være aktivt for alle brugere. */
/** CSS inkluderet her vil være aktivt for alle brugere. */
/* #mainContent { font-size: 110%; } - CJK var måske alligevel for stort */


#container {max-width: 1024px;}
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 {
.page-Forside #firstHeading,
.page-Forside #contentSub {
   display: none;
   display: none;
}
}
.page-Forside h2 {
 
  padding-top: 0;
@media only screen and (max-width: 1099px) {
  margin-top: 0;
  #wave-banner, #site-themes {
    display: none;
  }
}
 
span.mw-headline {
    /* padding-top: 60px; */
    /* margin-top: -60px; */
    -webkit-background-clip: content-box;
    background-clip: content-box;
}
}


/* Logo */
/*
#header h1 a {
span.mw-headline {
   text-transform: none;
   margin-top: -60px;
   text-indent: .5em !important;
   padding-bottom: 60px;  
   text-shadow: none !important;
   display: block;
}
}
*/


/* Headers */
/*
h1, h2, h3 {
span.mw-headline {
  text-shadow: none !important;
    display: inline-block;
}
span.mw-headline:before {
    display: inline-block;
    content: "";
    height: 80px;
    margin: -80px 0 0;
}
}
*/


label[for=wpCaptchaWord] {
/*
  font-size: 120%;
span.mw-headline {
  font-weight: bold;
    border-top: 50px solid transparent;
  color: red;
    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; */
}


/* For portals, added 2011-12-07 -bv */
#mw-footer-container {
/* On wide screens, show these as two columns */
  /* border-top: solid 1px #555555; */
/* On narrow and mobile screens, let them collapse into a single column */
  /* box-shadow: inset 0 7px 2px -4px rgba(0,0,0,0.1); */
.portal-column-left {
  /* color: #ffffff; */
    float: left;
  border-top: none;
    width: 50%;
  box-shadow: none;
  /* background-color: #ddd; */
  color: #222;
}
}
.portal-column-right {
 
    float: right;
#mw-footer-container a {
    width: 48%;
  color: #222;
}
}
.portal-column-left-wide {
 
    float: left;
/* https://stackoverflow.com/questions/28832129/replace-image-src-location-using-css/28832575 */
    width: 60%;
#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 {
.portal-column-right-narrow {
    float: right;
  display: block;
    width: 38%;
  padding-left: 10px;
}
.portal-column-right-narrow ol {
  margin-left: 1.5em;
}
.portal-column-right-narrow #Seneste_artikler {
  white-space: nowrap;
}
}
.portal-column-left-extra-wide {
 
     float: left;
body.page-Forside h1.firstHeading {
    width: 70%;
     display: none;
}
}
.portal-column-right-extra-narrow {
 
     float: right;
body.page-Forside h1.firstHeading + div#content {
    width: 28%;
     border-top: none;
}
}


@media only screen and (max-width: 860px) {
#content h1.firstHeading {
     /* Decouple the columns on narrow screens */
     border-bottom: 5px solid #455372 !important;
    .portal-column-left,
    .portal-column-right,
    .portal-column-left-wide,
    .portal-column-right-narrow,
    .portal-column-left-extra-wide,
    .portal-column-right-extra-narrow {
        float: none;
        display: block;
        width: 100%;
    }
}
}

Nuværende version fra 23. nov. 2023, 14: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;
}