Difference between revisions of "MediaWiki:Common.css"

From CrowdSociety
Jump to: navigation, search
(Replaced content with "/* CSS placed here will be applied to all skins */ To change the background colors of only the text areas of all the pages: body{background-image:none}")
Line 3: Line 3:
 
/* To change the background colors of only the text areas of all the pages */
 
/* To change the background colors of only the text areas of all the pages */
 
body{background-image:none}
 
body{background-image:none}
 +
 +
/*** Bold 'edit this page' link to encourage newcomers ***/
 +
 +
    ca-edit a {
 +
 +
  font-weight: bold !important;
 +
 +
}
 +
 +
/* Infobox template style */ .infobox {
 +
 +
  border: 1px solid #aaaaaa;
 +
  background-color: #ffffff;
 +
  color: white;
 +
  margin-bottom: 1em;
 +
  margin-left: 1em;
 +
  padding: 10em;
 +
  float: right;
 +
  clear: right;
 +
 +
} .infobox td, .infobox th {
 +
 +
  vertical-align: top;
 +
 +
} .infobox caption {
 +
 +
  font-size: larger;
 +
  margin-left: inherit;
 +
 +
} .infobox.bordered {
 +
 +
  border-collapse: collapse;
 +
 +
} .infobox.bordered td, .infobox.bordered th {
 +
 +
  border: 1px solid #aaaaaa;
 +
 +
} .infobox.bordered .borderless td, .infobox.bordered .borderless th {
 +
 +
  border: 0;
 +
 +
}
 +
 +
/* Forum formatting (by -Algorithm & -Splaka) */ .forumheader {
 +
 +
  border: 1px solid #aaaaaa;
 +
  margin-top: 1em;
 +
  padding: 12px;
 +
 +
} .forumlist td.forum_edited a {
 +
 +
  color: black;
 +
  text-decoration: none;
 +
 +
} .forumlist td.forum_title a {
 +
 +
  padding-left: 20px;
 +
 +
} .forumlist td.forum_title a.forum_new {
 +
 +
  font-weight: bold;
 +
  background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
 +
  padding-left: 20px;
 +
 +
} .forumlist td.forum_title a.forum_new:visited {
 +
 +
  font-weight: normal;
 +
  background: none;
 +
  padding-left: 20px;
 +
 +
} .forumlist th.forum_title {
 +
 +
  padding-left: 20px;
 +
 +
}
 +
 +
/* Recent changes byte indicators */ .mw-plusminus-pos {
 +
 +
  color: #000000;
 +
 +
} .mw-plusminus-neg {
 +
 +
  color: #000000;
 +
 +
}
 +
 +
/* Image frame fix */ div.tright, div.tleft {
 +
 +
  border: 1px solid silver;
 +
 +
}
 +
 +
div.thumbinner {
 +
 +
  background: inherit;
 +
  border: none;
 +
  color: inherit;
 +
 +
}
 +
 +
    article div.thumb {
 +
 +
  color:inherit;
 +
 +
}
 +
 +
/* === Babel === */
 +
 +
div.babelbox {
 +
 +
  float: right;
 +
  margin-left: 1em;
 +
  margin-bottom: 0.5em;
 +
  width: 246px;
 +
  border: 1px solid #aaaaaa;
 +
  padding: 2px 0 2px 0;
 +
 +
} .lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
 +
 +
  margin: 2px 4px 2px 4px; /* t, l, b, r */
 +
  width:238px;
 +
  border-collapse: collapse;
 +
 +
} td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
 +
 +
  text-align:center;
 +
  font-size:14pt;
 +
  width:45px;
 +
  height:45px;
 +
 +
} td.lang-descriptionN, td.lang-description0, td.lang-description1, td.lang-description2, td.lang-description3 {
 +
 +
font-size:8pt;
 +
padding:4pt;
 +
line-height:1.25em;
 +
 +
}
 +
 +
.lang-block0 {
 +
 +
  border:1px solid #aaaaaa;
 +
 +
} td.lang-code0 {
 +
 +
background-color: #ffffff;
 +
color: white;
 +
 +
} td.lang-description0 {
 +
 +
background-color: #ffffff;
 +
color: white;
 +
 +
}
 +
 +
.lang-block1, .lang-block2, .lang-block3 {
 +
 +
  border:1px solid #aaaaaa;
 +
 +
} td.lang-code1, td.lang-code2, td.lang-code3 {
 +
 +
background-color: #ffffff;
 +
color: white;
 +
 +
} td.lang-description1, td.lang-description2, td.lang-description3 {
 +
 +
background-color: #ffffff;
 +
color: white;
 +
 +
}
 +
 +
.lang-blockN {
 +
 +
  border:1px solid #aaaaaa;
 +
 +
} td.lang-codeN {
 +
 +
background-color: #ffffff;
 +
color: white;
 +
 +
} td.lang-descriptionN {
 +
 +
background-color: #ffffff;
 +
color: white;
 +
 +
}

Revision as of 14:29, 1 December 2014

/* CSS placed here will be applied to all skins */

/* To change the background colors of only the text areas of all the pages */
body{background-image:none}

/*** Bold 'edit this page' link to encourage newcomers ***/

    ca-edit a { 

   font-weight: bold !important; 

}

/* Infobox template style */ .infobox {

  border: 1px solid #aaaaaa;
  background-color: #ffffff;
  color: white;
  margin-bottom: 1em;
  margin-left: 1em;
  padding: 10em;
  float: right;
  clear: right;

} .infobox td, .infobox th {

  vertical-align: top;

} .infobox caption {

  font-size: larger;
  margin-left: inherit;

} .infobox.bordered {

  border-collapse: collapse;

} .infobox.bordered td, .infobox.bordered th {

  border: 1px solid #aaaaaa;

} .infobox.bordered .borderless td, .infobox.bordered .borderless th {

  border: 0;

}

/* Forum formatting (by -Algorithm & -Splaka) */ .forumheader {

  border: 1px solid #aaaaaa;
  margin-top: 1em;
  padding: 12px;

} .forumlist td.forum_edited a {

  color: black;
  text-decoration: none;

} .forumlist td.forum_title a {

  padding-left: 20px;

} .forumlist td.forum_title a.forum_new {

  font-weight: bold;
  background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
  padding-left: 20px;

} .forumlist td.forum_title a.forum_new:visited {

  font-weight: normal;
  background: none;
  padding-left: 20px;

} .forumlist th.forum_title {

  padding-left: 20px;

}

/* Recent changes byte indicators */ .mw-plusminus-pos {

  color: #000000;

} .mw-plusminus-neg {

  color: #000000;

}

/* Image frame fix */ div.tright, div.tleft {

  border: 1px solid silver;

}

div.thumbinner {

  background: inherit;
  border: none;
  color: inherit;

}

    article div.thumb { 

  color:inherit;

}

/* === Babel === */

div.babelbox {

  float: right;
  margin-left: 1em;
  margin-bottom: 0.5em;
  width: 246px;
  border: 1px solid #aaaaaa;
  padding: 2px 0 2px 0;

} .lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {

  margin: 2px 4px 2px 4px; /* t, l, b, r */
  width:238px;
  border-collapse: collapse;

} td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {

  text-align:center;
  font-size:14pt;
  width:45px;
  height:45px;

} td.lang-descriptionN, td.lang-description0, td.lang-description1, td.lang-description2, td.lang-description3 {

 font-size:8pt;
 padding:4pt;
 line-height:1.25em;

}

.lang-block0 {

  border:1px solid #aaaaaa;

} td.lang-code0 {

 background-color: #ffffff;
 color: white;

} td.lang-description0 {

 background-color: #ffffff;
 color: white;

}

.lang-block1, .lang-block2, .lang-block3 {

  border:1px solid #aaaaaa;

} td.lang-code1, td.lang-code2, td.lang-code3 {

 background-color: #ffffff;
 color: white;

} td.lang-description1, td.lang-description2, td.lang-description3 {

 background-color: #ffffff;
 color: white;

}

.lang-blockN {

  border:1px solid #aaaaaa;

} td.lang-codeN {

 background-color: #ffffff;
 color: white;

} td.lang-descriptionN {

 background-color: #ffffff;
 color: white;

}