MediaWiki:Common.css

From LQ's wiki
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */
 
/* Import [[MediaWiki:Bootstrap.css]] */
/* @import url("/wiki/index.php?title=MediaWiki:Bootstrap.css&ctype=text/css&action=raw"); */
 
/* Override Bootstrap.css */
/* Vector skin fixes */
/*
body { font-size: 16px; }
div.vectorMenu h3 a { font-size: 21px; }
#editform textarea { font-family: monospace; }
#mw-panel h3 { margin-top: 0; }
 
* {
    box-sizing: initial;
    -webkit-box-sizing: initial;
    -moz-box-sizing: initial;
}
*:before, *:after {
    box-sizing: initial;
    -webkit-box-sizing: initial;
    -moz-box-sizing: initial;
}
#simpleSearch button { font-size: 13px; }
 
h2 { font-size: 19px; }
h3 { font-size: 17px; }
*/
 
/* Common.css proper */
@font-face {
    font-family: vibrocen;
    src: url("http://lqkhoo.com/fonts/vibrocen.ttf") format("truetype"),
         url("http://lqkhoo.com/fonts/fonts/vibrocen.woff") format("woff"),
         url("http://lqkhoo.com/fonts/fonts/vibrocen.eof") format("eof"),
         url("http://lqkhoo.com/fonts/fonts/vibrocen.svg") format("svg");
}
 
/* HTML to pdf - specific print toggle formatting */
 
.custom-print-toggle {
    cursor: pointer;
    font-size: 0.5em;
    margin-left: 2em;
    padding: 0.05em 1em;
    color: darkgreen;
    font-weight: bold;
}
 
.custom-print-toggle.print-mode {
    color: #F44;
}
 
#firstHeading > .custom-print-toggle {
    line-height: 20px;
    display: none;
}
 
#firstHeading:hover > .custom-print-toggle {
    display: inline-block;
}
 
body.custom-print #mw-navigation,
body.custom-print #mw-page-base,
body.custom-print div#footer,
body.custom-print #catlinks,
body.custom-print .editsection,
body.custom-print #toc {
    display: none;
}
 
body.custom-print #content {
    margin-left: 0;
    border: 1px solid transparent;
}
 
body.custom-print h1 {
    text-align: center;
}
 
table.wikitable {
    margin: 1em 0;
    background-color: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
    color: black;
}
 
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
 
table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: #f2f2f2;
    text-align: center;
}
 
table.navbox {
    width: 100%;
}
 
 
pre {
    font-size: 1.2em;
    padding: 1em; 
    margin: 1em 0; 
    border: 1px dashed #2f6fab;
    background-color: #f9f9f9;
}