Difference between revisions of "MediaWiki:Common.css"

From LQ's wiki
Jump to: navigation, search
Line 8: Line 8:
 
     font-size: 16px;
 
     font-size: 16px;
 
}
 
}
 
+
div.vectorMenu h3 a {
*, *:before, *:after {
+
    font-size: 21px;
 +
}
 +
* {
 
     box-sizing: initial;
 
     box-sizing: initial;
 
     -webkit-box-sizing: initial;
 
     -webkit-box-sizing: initial;
 
     -moz-box-sizing: initial;
 
     -moz-box-sizing: initial;
 +
}
 +
*:before, *:after {
 +
    box-sizing: initial;
 +
    -webkit-box-sizing: initial;
 +
    -moz-box-sizing: initial;
 +
}
 +
#editform textarea {
 +
    font-family: monospace;
 
}
 
}
  

Revision as of 09:22, 4 October 2014

/* 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 */
body {
    font-size: 16px;
}
div.vectorMenu h3 a {
    font-size: 21px;
}
* {
    box-sizing: initial;
    -webkit-box-sizing: initial;
    -moz-box-sizing: initial;
}
*:before, *:after {
    box-sizing: initial;
    -webkit-box-sizing: initial;
    -moz-box-sizing: initial;
}
#editform textarea {
    font-family: monospace;
}
 
 
/* 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;
}