Difference between revisions of "MediaWiki:Common.css"

From homebrew.pixelbath
Jump to navigation Jump to search
(apptable)
(+infobox)
 
Line 40: Line 40:
 
     text-align: left;
 
     text-align: left;
 
     padding: 0.2em 0.4em 0.2em 0.4em;
 
     padding: 0.2em 0.4em 0.2em 0.4em;
 +
}
 +
.infobox {
 +
    border: 1px solid #aaa;
 +
    background-color: #f9f9f9;
 +
    color: black;
 +
    margin: 0.5em 0 0.5em 1em;
 +
    padding: 0.2em;
 +
    float: right;
 +
    clear: right;
 +
}
 +
.infobox td, .infobox th {
 +
    vertical-align: top;
 
}
 
}

Latest revision as of 23:20, 4 February 2018

/* CSS placed here will be applied to all skins */
table.linkbar {
    border-collapse: collapse;
}
table.linkbar td {
    border: 1px solid #94c0d4;
    color: #000000;
    text-align: left;
    background: #c8dce5;
    white-space: nowrap;
}
table.linkbar td:hover {
    background: #a4cddf;
    cursor: pointer;
}
table.linkbar a {
    text-decoration: none;
    color: #000000;
    padding: 5px 15px 5px 15px;
    display: block;
}
table.linkbar td.sel {
    background: #a4cddf;
    font-weight: bold;
    padding: 5px 15px 5px 15px;
}

table.apptable {
    width: 100%;
    background: #f9f9f9;
    border: 1px #aaaaaa solid;
    border-collapse: collapse;
}
table.apptable th {
    background: #f2f2f2;
    text-align: left;
}
table.apptable th, table.apptable td {
    border: 1px #aaaaaa solid;
    text-align: left;
    padding: 0.2em 0.4em 0.2em 0.4em;
}
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
}
.infobox td, .infobox th {
    vertical-align: top;
}