Difference between revisions of "MediaWiki:Common.css"

From CRIU
Jump to navigation Jump to search
(created (copy-paste from wiki.openvz.org))
 
(+infobox style (copy-paste from wiki.openvz.org))
Line 33: Line 33:
 
body.page-Main_Page h1.firstHeading {
 
body.page-Main_Page h1.firstHeading {
 
     display: none !important;
 
     display: none !important;
 +
}
 +
 +
 +
/* Infobox template style */
 +
 +
.infobox {
 +
  border: 1px solid #7dae96;
 +
  background-color: #f7f9fa;
 +
  color: black;
 +
  margin-bottom: 0.5em;
 +
  margin-left: 1em;
 +
  padding: 0px;
 +
  float: right;
 +
  clear: right;
 +
}
 +
.infobox td,
 +
.infobox th {
 +
  vertical-align: top;
 +
  padding: 0px;
 +
  padding-left: 0.5em;
 +
  padding-right: 0.5em;
 +
  margin: 0px;
 +
}
 +
.infobox th {
 +
  background-color: #d6e5de;
 +
}
 +
.infobox td {
 +
  border: 1px solid #ffffff;
 +
}
 +
.infobox ul {
 +
  margin: 0px ! important;
 +
  text-align: left;
 +
}
 +
.infobox li {
 +
  display: inline;
 +
  margin-left: 0.2em;
 +
  margin-right: 0.2em;
 +
}
 +
.infobox .header {
 +
  padding: 0.5em;
 +
}
 +
.infobox caption {
 +
  font-size: larger;
 +
  margin-left: inherit;
 +
}
 +
.infobox.bordered {
 +
  border-collapse: collapse;
 +
}
 +
.infobox.bordered td,
 +
.infobox.bordered th {
 +
  border: 1px solid #7dae96;
 +
}
 +
.infobox.bordered .borderless td,
 +
.infobox.bordered .borderless th {
 +
  border: 0;
 +
}
 +
 +
.infobox.sisterproject {
 +
  width: 20em;
 +
  font-size: 90%;
 
}
 
}

Revision as of 10:42, 23 July 2012

 
/* For MediaWiki:Edittools 'insert chars' to look like buttons.
   Taken from http://wiki.openvz.org/MediaWiki:Common.css, originally from
   #my-buttons at http://ru.wikipedia.org/wiki/MediaWiki:Monobook.css
*/
 
#editpage-specialchars {
   padding: 0.5em;
}
 
#editpage-specialchars a {
   color: black;
   background-color: #ccddee;
   font-weight: bold;
   font-size: 0.9em;
   text-decoration: none;
   border: thin #006699 outset;
   padding: 0 0.1em 0.1em 0.1em;
 }
 
#editpage-specialchars a:hover {
   background-color: #bbccdd;
}
 
#editpage-specialchars a:active {
   background-color: #bbccdd;
   border-style: inset;
}
 
/* Don't display some stuff on the main page */
body.page-Main_Page #footer-info-viewcount,
body.page-Main_Page #footer-info-lastmod, 
body.page-Main_Page h1.firstHeading {
    display: none !important;
}

 
/* Infobox template style */
 
.infobox {
   border: 1px solid #7dae96;
   background-color: #f7f9fa;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0px;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
   padding: 0px;
   padding-left: 0.5em;
   padding-right: 0.5em;
   margin: 0px;
}
.infobox th {
   background-color: #d6e5de;
}
.infobox td {
   border: 1px solid #ffffff;
}
.infobox ul {
   margin: 0px ! important;
   text-align: left;
}
.infobox li {
   display: inline;
   margin-left: 0.2em;
   margin-right: 0.2em;
}
.infobox .header {
   padding: 0.5em;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #7dae96;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}
 
.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}