Difference between revisions of "MediaWiki:Common.css"

From ALFA
Jump to: navigation, search
Line 13: Line 13:
 
}
 
}
  
table.infoPane > tr {
+
table.infoPane tr {
 
     vertical-align: text-top;
 
     vertical-align: text-top;
 
}
 
}
  
table.infoPane > tr > th {
+
table.infoPane tr th {
 
     color: #FFFFFF;
 
     color: #FFFFFF;
 
     background-color: #336699;
 
     background-color: #336699;
Line 26: Line 26:
 
}
 
}
  
table.infoPane > tr > th.section {
+
table.infoPane tr th.section {
 
     color: #000000;
 
     color: #000000;
 
     background-color: #F3F3F3;
 
     background-color: #F3F3F3;
Line 35: Line 35:
 
}
 
}
  
table.infoPane > tr > td {
+
table.infoPane tr td {
 
     text-align: right;
 
     text-align: right;
 
     padding: 2px 5px;
 
     padding: 2px 5px;
 
}
 
}
  
table.infoPane > tr > td:first-child {
+
table.infoPane tr td:first-child {
 
     text-align: left;
 
     text-align: left;
 
     font-weight: bold;
 
     font-weight: bold;
 
}
 
}
  
table.infoPane > tr > td.minor {
+
table.infoPane tr td.minor {
 
     text-align: right;
 
     text-align: right;
 
     font-size: 0.75em;
 
     font-size: 0.75em;

Revision as of 01:41, 26 January 2014

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

/* ============================================
     INFORMATION PANES
   ============================================ */
table.infoPane {
    clear: right;
    float: right;
    border: 1px solid #202020;
    margin: 0 0 0.5em 1em;
    text-align: left;
    width: 250px
}

table.infoPane tr {
    vertical-align: text-top;
}

table.infoPane tr th {
    color: #FFFFFF;
    background-color: #336699;
    border: 1px solid #003366;
    font-size: larger;
    padding:4px 0 4px 0;
    text-align: center;
}

table.infoPane tr th.section {
    color: #000000;
    background-color: #F3F3F3;
    border: 1px solid #DFDECF;
    font-size: 1.15em;
    font-weight: 450;
    padding: 3px;
}

table.infoPane tr td {
    text-align: right;
    padding: 2px 5px;
}

table.infoPane tr td:first-child {
    text-align: left;
    font-weight: bold;
}

table.infoPane tr td.minor {
    text-align: right;
    font-size: 0.75em;
    font-style: italic;
    font-weight: normal;
}

/* ============================================
     NAVIGATION TABLES
   ============================================ */
table.navTable {
    border: 1px solid #BDBCAD;
    padding: 0px;
    margin: 0 auto;
    width: 75%;
    clear: both;
}

table.navTable tr {
    vertical-align: text-top;
}

table.navTable th {
    background-color: #CCCCFF;
    border: 1px solid #336699;
    text-align: center;
    font-size: 1.15em;
    padding: 3px;
}

table.navTable td {
    padding: 3px 5px;
    vertical-align: text-top;
}

table.navTable td:first-child {
    background-color: #F3F3F3;
    border: 1px solid #DFDECF;
    text-align: right;
    font-weight: bold;
}

table.navTable td ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

table.navTable td li {
    display: inline;
    padding: 0px;
    margin: 0px;
}

table.navTable td li + li:before{
    content: " • ";
}