Difference between revisions of "MediaWiki:Common.css"

From LQ's wiki
Jump to: navigation, search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
@include url("/index.php?title=MediaWiki:Fonts.css&ctype=text/css&action=raw");
+
@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 */
 
/* HTML to pdf - specific print toggle formatting */
 
   
 
   

Revision as of 19:48, 25 January 2014

/* CSS placed here will be applied to all skins */
 
@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;
}