MediaWiki:Common.css: Forskelle mellem versioner

Fra AarhusWiki
mNo edit summary
mNo edit summary
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 */
#mw-header-hack div {
 
   display: none;
#container {
   max-width: 1024px;
}
}


/* overskrifterne er block-elements, men resultaterne floats... */
#mv-header-container {
.mw-search-results {
   border-bottom: 3px solid #aaa;
   float: none !important;
  box-shadow: 0 3px 3px 2px rgba(0,0,0,0.075), 0 0 2px rgba(0,0,0,0.2);
}
}


.page-Forside #firstHeading,
#p-logo-text {
.page-Forside #contentSub {
   background-image: url('/mediawiki/images/AarhusWiki_logo.png?018a4');
   display: none;
   background-repeat: no-repeat;
}
   background-size: contain;
.page-Forside h2 {
   padding-top: 0;
   margin-top: 0;
}
}


/* Logo */
#p-logo-text a {
#header h1 a {
   opacity: 0;
   text-transform: none;
  text-indent: .5em !important;
  text-shadow: none !important;
}
}


/* Headers */
#p-logo {
h1, h2, h3 {
   display: none;
   text-shadow: none !important;
}
 
label[for=wpCaptchaWord] {
  font-size: 120%;
  font-weight: bold;
  color: red;
}
}


/* Replace the Medaiwiki-logo with ours */
#mw-content-container {
#f-poweredbyico a {
   /* border-bottom: solid 4px #33bb77; */
   background-image: url(https://aarhuswiki.dk/mediawiki/images/f/fc/As_logo_black_150px.png);
   border-bottom: 5px solid #455372;
   display: block;
   border-top: 5px solid #455372;
  height: 41px;
  width: 150px;
   margin-top: 5px;
}
}


#f-poweredbyico img {
#mw-footer-container {
   display: none;
   /* 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;
}
}


/* For portals, added 2011-12-07 -bv */
#mw-footer-container a {
/* On wide screens, show these as two columns */
  color: #222;
/* On narrow and mobile screens, let them collapse into a single column */
.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%;
}
}
 
#f-poweredbyico {
@media only screen and (min-width: 900px) {
   /* background-image: url(https://aarhuswiki.dk/mediawiki/images/f/fc/As_logo_black_150px.png); */
   .portal-column-left {
      float: left;
      width: 50%;
  }
  .portal-column-right {
      float: right;
      width: 48%;
  }
  .portal-column-left-wide {
      float: left;
      width: 60%;
  }
  .portal-column-right-narrow {
      float: right;
      width: 38%;
  }
  .portal-column-left-extra-wide {
      float: left;
      width: 70%;
  }
  .portal-column-right-extra-narrow {
      float: right;
      width: 28%;
  }
 
 
 
}
}

Versionen fra 10. apr. 2019, 11:58

/** CSS inkluderet her vil være aktivt for alle brugere. */

#mw-header-hack div {
  display: none;
}

#mv-header-container {
  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);
}

#p-logo-text {
  background-image: url('/mediawiki/images/AarhusWiki_logo.png?018a4');
  background-repeat: no-repeat;
  background-size: contain;
}

#p-logo-text a {
  opacity: 0;
}

#p-logo {
  display: none;
}

#mw-content-container {
  /* border-bottom: solid 4px #33bb77; */
  border-bottom: 5px solid #455372;
  border-top: 5px solid #455372;
}

#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;
}
#f-poweredbyico {
  /* background-image: url(https://aarhuswiki.dk/mediawiki/images/f/fc/As_logo_black_150px.png); */
}