Difference between revisions of "MediaWiki:Common.css"

Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
 +
/* Edit section on the right */
 +
.ltr .mw-editsection {
 +
float: right;
 +
}
 +
.rtl .mw-editsection {
 +
float: left;
 +
}
  
 
/* Gehsi div classes */
 
/* Gehsi div classes */

Revision as of 20:10, 15 July 2014

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

/* Edit section on the right */
.ltr .mw-editsection {
	float: right;
}
.rtl .mw-editsection {
	float: left;
}

/* Gehsi div classes */
div.mw-geshi {
  margin: 1em 0; 
  border: 1px solid #7777FF;
  text-align: left; 
  padding:10px 10px;
  clear: both;
  background-color: #DDDDFF;
  font-size: 1.1em;
}
div.mw-geshi-error {
  margin: 1em 0; 
  border: 1px solid #FF7777;
  text-align: left; 
  padding:10px 10px;
  clear: both;
  background-color: #FFDDDD;
  font-size: 1.1em;
}
div.mw-geshi-valid {
  margin: 1em 0; 
  border: 1px solid #77FF77;
  text-align: left; 
  padding:10px 10px;
  clear: both;
  background-color: #DDFFDD;
  font-size: 1.1em;
}

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
    border: none;
    padding: 0.25em 0.9em;     /* 0.9em left/right */
    width: 100%;               /* Make all mboxes the same width regardless of text length */
    vertical-align: top;
    /*font-size: 16px;*/
    font-size: 100%;
    line-height: 1.5em;
}
td.mbox-image {                /* The left image cell */
    border: none; 
    padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
    text-align: center; 
}
td.mbox-imageright {           /* The right image cell */
    border: none;
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
    text-align: center; 
}
td.mbox-empty-cell {           /* An empty narrow cell */
    border: none;
    padding: 0px;
    width: 1px;
}

/* FM Box */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #ccc;
    background: #f9f9f9;     /* Default "system" gray */
    text-align:left;
}
table.fmbox-system {
    background: #f9f9f9;
}

/* ART DECOR tables */
table.artdecor {
  border: 1px solid #aaa;
  background-color: #f9f9f9;
  text-align:left;
  margin: 0.2em;
}
.artdecor td, .artdecor th {
  vertical-align: top;
  text-align: left;
  line-height: 1.5em;
  border: none;
  background-color: #fff;
  padding: 0.2em;
}
.artdecor th { 
  font-weight: bold;
  background-color: #ECFFE0;
}