Difference between revisions of "MediaWiki:Common.css"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 55: Line 55:
 
dl.opcode dl dt {
 
dl.opcode dl dt {
 
     font-weight: normal;
 
     font-weight: normal;
}
 
/**
 
* For [[Saves (GTA VC)/visual]]
 
*/
 
.save_table td {
 
    width: 3em;
 
    height: 3em;
 
    text-align: center;
 
 
}
 
}
 
/**
 
/**
Line 75: Line 67:
 
div#simpleSearch #searchInput {
 
div#simpleSearch #searchInput {
 
     font-family: inherit;
 
     font-family: inherit;
 +
}
 +
/**
 +
* Syntaxhighlight preformatted text fix
 +
*/
 +
.mw-highlight > pre {
 +
    white-space: pre;
 +
    overflow-x: auto;
 
}
 
}

Revision as of 22:33, 10 September 2016

/* CSS placed here will be applied to all skins */
/**
 * Lowercase usernames (only works in some places)
 */
.mw-userlink[href*="Spaceeinstein"] {
    text-transform: lowercase;
}
/**
 * Table column centering
 */
table.center-col-1 td:nth-child(1) {
    text-align: center;
}
table.center-col-2 td:nth-child(2) {
    text-align: center;
}
table.center-col-3 td:nth-child(3) {
    text-align: center;
}
/**
 * GXT character map
 */
table.charmap {
    text-align: center;
}
table.charmap td, table.charmap th {
    width: 2em;
    height: 2em;
}
table.charmap td {
    font-family: monospace;
    font-size: 150%;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}
table.charmap.jp td {
    font-family: Meiryo, monospace;
    font-size: 120%;
}
/**
 * Template:Icon
 */
span.icon-align img {
    vertical-align: text-top;
}
span.icon-align img[alt="Grand Theft Auto series"] {
    vertical-align: middle;
}
/**
 * Template:OpCode
 */
dl.opcode dl {
    margin-bottom: 0;
}
dl.opcode dl dt {
    font-weight: normal;
}
/**
 * Search results page fix
 */
.mw-search-results {
    float: none !important;
}
/**
 * Search box fix
 */
div#simpleSearch #searchInput {
    font-family: inherit;
}
/**
 * Syntaxhighlight preformatted text fix
 */
.mw-highlight > pre {
    white-space: pre;
    overflow-x: auto;
}