Difference between revisions of "MediaWiki:Common.css"

From LQ's wiki
Jump to: navigation, search
(Undo revision 925 by Changtau2005 (talk))
 
(7 intermediate revisions by one user not shown)
Line 2: Line 2:
  
 
/* Import [[MediaWiki:Bootstrap.css]] */
 
/* Import [[MediaWiki:Bootstrap.css]] */
@import url("/wiki/index.php?title=MediaWiki:Bootstrap.css&ctype=text/css&action=raw");
+
/* @import url("/wiki/index.php?title=MediaWiki:Bootstrap.css&ctype=text/css&action=raw"); */
  
 
/* Override Bootstrap.css */
 
/* Override Bootstrap.css */
body {
+
/* Vector skin fixes */
    font-size: 16px;
+
/*
}
+
body { font-size: 16px; }
div.vectorMenu h3 a {
+
div.vectorMenu h3 a { font-size: 21px; }
    font-size: 21px;
+
#editform textarea { font-family: monospace; }
}
+
#mw-panel h3 { margin-top: 0; }
 +
 
 
* {
 
* {
 
     box-sizing: initial;
 
     box-sizing: initial;
Line 21: Line 22:
 
     -moz-box-sizing: initial;
 
     -moz-box-sizing: initial;
 
}
 
}
#editform textarea {
+
#simpleSearch button { font-size: 13px; }
    font-family: monospace;
+
}
+
  
 +
h2 { font-size: 19px; }
 +
h3 { font-size: 17px; }
 +
*/
  
 
/* Common.css proper */
 
/* Common.css proper */

Latest revision as of 13:13, 16 May 2016

/* 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;
}