MediaWiki:Common.css: Forskelle mellem versioner

Fra AarhusWiki
mNo edit summary
No edit summary
 
(106 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: 1100px;}
body {
  background-color: #ddd;
}


/* */
#mw-header-hack div {
.page-Forside #firstHeading,
.page-Forside #contentSub {
   display: none;
   display: none;
}
}
.page-Forside h2 {
 
   padding-top: 0;
#mw-header-container {
   margin-top: 0;
   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); */
}
}


/* Logo */
#mw-header-container .dropdown {
#header h1 a {
   color: #001133;
  text-transform: none;
  text-indent: .5em !important;
   text-shadow: none !important;
}
}


/* Headers */
#p-logo-text {
h1, h2, h3 {
  background-image: url('/mediawiki/images/AarhusWiki_logo_white.png');
   text-shadow: none !important;
  background-repeat: no-repeat;
   background-size: contain;
}
}


label[for=wpCaptchaWord] {
#p-logo-text a {
  font-size: 120%;
   opacity: 0;
  font-weight: bold;
   color: red;
}
}


#p-logo {
  display: none;
}


/* For portals, added 2011-12-07 -bv */
@media only screen and (max-width: 1099px) {
/* On wide screens, show these as two columns */
  #wave-banner, #site-themes {
/* On narrow and mobile screens, let them collapse into a single column */
     display: none;
.portal-column-left {
  }
     float: left;
    width: 50%;
}
}
.portal-column-right {
 
     float: right;
span.mw-headline {
     width: 48%;
    /* padding-top: 60px; */
    /* margin-top: -60px; */
     -webkit-background-clip: content-box;
     background-clip: content-box;
}
}
.portal-column-left-wide {
 
    float: left;
/*
    width: 60%;
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 {
.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;
}
}
.skin-minerva,
 
@media only screen and (max-width: 800px) {
#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;
}