Difference between revisions of "MediaWiki:Common.css"

From vwiki
Jump to navigation Jump to search
(Added additional vwikitable formatting)
(Updates for MediaWiki v1.21)
 
Line 10: Line 10:
}
}
   
   
/* Force content surround to be green */
div#content {
    border-color: #9EB19E;
}
/* Fix Geshi Syntax Highlighter size */
div.mw-geshi {
    font-size: 1em;
}
   
   
/* Custom table */
/* Custom table */

Latest revision as of 21:43, 16 June 2013

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

/* Remove logo space */
#p-logo a, #p-logo a:hover {
    display: none;
}
 
#column-one {
padding-top: 21px;
}
 
/* Force content surround to be green */
div#content {
    border-color: #9EB19E;
}

/* Fix Geshi Syntax Highlighter size */
div.mw-geshi {
    font-size: 1em;
}
 
/* Custom table */
table.vwikitable {
        margin: 1em 1em 1em 0;
        background: #fafffa;
        border: 1px #9EB19E solid;
        border-collapse: collapse;
        color: black;
}
.vwikitable th, .vwikitable td {
        border: 1px #9EB19E solid;
        padding: 0.2em;
}
.vwikitable th {
        background: #ddeddd;
        text-align: center;
}
.vwikitable caption {
        font-weight: bold;
}
.vwikitable tr:hover {
        background-color: #f6f6d1;
}

.even {
        background-color: #fffff0;
}

.even tr:hover {
        background-color: #ffffd1;
}

.num {
        text-align: right;
}

/* Custom equal-width table */
table.vwikitable-equal {
        margin: 1em 1em 1em 0;
        background: #fafffa;
        border: 1px #9EB19E solid;
        border-collapse: collapse;
        color: black;
}
.vwikitable-equal tr, .vwikitable-equal td {
        border: 1px #9EB19E solid;
        padding: 0.2em;
}
.vwikitable-equal th, .vwikitable-equal td {
        width:5%;
}
.vwikitable-equal th {
        background: #ddeddd;
        text-align: center;
}
.vwikitable-equal caption {
        font-weight: bold;
}
.vwikitable-equal tr:hover {
        background-color: #f6f6d1;
}

/* Custom alert table */
table.alert,
table.vwiki-alert {
        margin-left:auto; 
        margin-right:auto;
        background: #fff6f6;
        border: 1px #B19E9E solid;
        border-collapse: collapse;
        color: black;
        text-align: center;
}
.alert th, .alert td, 
.vwiki-alert th, .vwiki-alert td {
        border: 1px #B19E9E solid;
        padding: 0.2em;
}
.alert th,
.vwiki-alert th {
        background: #eddddd;
}
.alert caption,
.vwiki-alert caption {
        font-weight: bold;
}

/* Custom note table */
table.note,
table.vwiki-note {
        margin-left:auto; 
        margin-right:auto;
        background: #FFEDC8;
        border: 1px #DBCCAC solid;
        border-collapse: collapse;
        color: black;
        text-align: center;
}
.note th, .note td,
.vwiki-note th, .vwiki-note td {
        border: none;
        padding: 0.2em;
	text-align: center;
}
.note th,
.vwiki-note th {
        background: #FFEDC8;
}

/* Custom box-out table */
table.boxout,
table.vwiki-boxout {
        margin-left:auto; 
        margin-right:auto;
        background: #eef4ee;
        border: 1px #fafffa solid;
        border-collapse: collapse;
        border-style: solid none solid none;
        color: black;
        text-align: center;
}
.boxout th, .boxout td,
.vwiki-boxout th, .vwiki-boxout td {
        border: none;
        padding: 0.2em;
	text-align: center;
}
.note th,
.vwiki-boxout th {
        background: #eef4ee;
}