Difference between revisions of "MediaWiki:Common.css"

Jump to navigation Jump to search
2,061 bytes added ,  21:43, 16 June 2013
Updates for MediaWiki v1.21
(Change font)
(Updates for MediaWiki v1.21)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Default font */
* {
  font-family: verdana;
}


/* Remove logo space */
/* Remove logo space */
#p-logo a, #p-logo a:hover {
#p-logo a, #p-logo a:hover {
     display: none;
     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 {
table.vwikitable {
         margin: 1em 1em 1em 0;
         margin: 1em 1em 1em 0;
         background: #f6fff6;
         background: #fafffa;
         border: 1px #9EB19E solid;
         border: 1px #9EB19E solid;
         border-collapse: collapse;
         border-collapse: collapse;
Line 28: Line 38:
.vwikitable caption {
.vwikitable caption {
         font-weight: bold;
         font-weight: bold;
}
.vwikitable tr:hover {
        background-color: #f6f6d1;
}
}


.even {
        background-color: #fffff0;
}


/* When <div class="nonumtoc"> is used on the table of contents,
.even tr:hover {
  the ToC will display without numbers
        background-color: #ffffd1;
.nonumtoc .tocnumber { display: none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
}
.nonumtoc #toc ul ul,
 
.nonumtoc .toc ul ul {  
.num {
    margin: 0 0 0 2em;  
        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;
}

Navigation menu