Diferencia entre revisiones de «MediaWiki:Common.css»

De WikiEducator
Saltar a: navegación, buscar
(copied from English wikieducator.org)
(Sin diferencias)

Revisión de 09:00 26 mar 2009

/* Los estilos CSS definidos aquí aplicarán a todas las pieles (skins) */
/** CSS placed here will be applied to all skins */
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 1em;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}
 
table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}
 
body.page-Main_Page h1.firstHeading {
    display: none !important;
}
 
/* CSS for Navigation Templates User:BrentSimpson */
 
table.tws {
width: 100%;
padding: 1px;
border: 2px solid #A3B0BF;
-moz-border-radius: 4px;
}
 
table.tws th {
    background: #E4EDF2;
    border: 1px solid #A3B0BF;
}
 
#ProjectNav {
    background-color: #FFF;
    border: 2px solid #A3B0BF;
    padding: 14px;
    margin: 16px 0 12px 0;
    padding-bottom: 35px;
}
 
#ProjectNavPages {
    margin: 24px 0 0 20px;
    text-align: center;
    padding: 0px 14px 0px 14px;
    border: 1px solid #A3B0BF;
    background-color:#E4EDF2;
    float: left;
    -moz-border-radius: 4px;
}
 
/* CSS for print (pdf aggregation) versions of iDevice templates. User:Kruhly*/
/* So far the CSS makes a reasonable iDevice but the pdf aggregator does not */
/* recognize all the html and thus does not render the iDevices properly */
/* See User:Kruhly edits of Template:Objectives print for details */
 
table.idevicetable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
  width: 100%;
}
 
 
table.ideviceinnertable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 0px;
  border-collapse: collapse;
  width: 100%;
}
 
table.idevicetable th, table.idevicetable td,
table.ideviceinnertable th, table.ideviceinnertable td {
  border: 0px;
  padding: 0.2em;
  align: left;
}
 
table.idevicetable th {
  background: #f9f9f9;
  text-align: center;
}
 
table.ideviceinnertable th {
  background: #f9f9f9;
  text-align: left;
}
 
table.idevicetable caption,
table.ideviceinnertable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
  border: 2px solid #A3B0BF;
}
/* CSS for collapsible pedagogical templates User:Kruhly*/
 
table.WEidevice {
padding: 1px;
width:100%;
background: #F6F9ED;
}
 
.WEidevice.objectives,
.WEidevice.preknowledge,
.WEidevice.case_study,
.WEidevice.definition,
.WEidevice.competency,
.WEidevice.key_points,
.WEidevice.media,
.WEidevice.outcomes,
.WEidevice.review,
.WEidevice.summary,
.WEidevice.web_resources,
.WEidevice.wikipedia,
.WEidevice.wiktionary,
.WEidevice.howlong
 {
    border: 1px solid #AAAAAA;
}
.WEidevice.activity,
.WEidevice.assessment,
.WEidevice.discussion,
.WEidevice.reading,
.WEidevice.reflection,
.WEidevice.key_points {
   border: 1px solid #AAAAAA;
   -moz-border-radius: 8px;
}
 
<!--  Causes the hide/show bracket to turn yellow
.WEidevice.activity th,
.WEidevice.assessment th,
.WEidevice.discussion th,
.WEidevice.reading th,
.WEidevice.reflection th,
.WEidevice.key_points th{
   color: #FCC65B;
} -->
 
table.WEidevice th {
    text-align:left;  
    font-weight: bolder;
}
.WEideviceinner{
    padding-left: 8ex;
    color: black;
}
 
/* Infobox template style from Wikipedia */
 
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: 0.2em;
    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 #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}
 
@media print {
    .infobox.sisterproject {
        display: none;
    }
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    border-right: 1px solid #aaa;
}
 
/* styles for Template:ContentInfobox User:BrentSimpson */
 
.DCnodisplay {
    display:none;
}
 
/* styles for Template:PutInTOC  User:Kruhly */
 
.PutInTOC { visibility:hidden; }