User:Dracoling/vector.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .js page for this skin can be added at User:Dracoling/vector.js. |
/*********************************************************************
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
For more information, please refer to <http://unlicense.org/>
*********************************************************************/
/*
WiTeX
https://github.com/AndrewBelt/WiTeX
*/
/* Latin Modern (LaTeX default) font */
@font-face {
font-family: 'Latin Modern Roman';
font-weight: normal;
font-style: normal;
/* pls someone offer me a CDN for these fonts so I can save bandwidth for
my email service */
src: url('http://smrsh.net/lmroman/lmroman10-regular-webfont.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: bold;
font-style: normal;
src: url('http://smrsh.net/lmroman/lmroman10-bold-webfont.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: normal;
font-style: italic;
src: url('http://smrsh.net/lmroman/lmroman10-italic-webfont.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: bold;
font-style: italic;
src: url('http://smrsh.net/lmroman/lmroman10-bolditalic-webfont.woff') format('woff');
}
/* Page Layout */
body {
background: none;
font-size: 16pt;
}
body {
font-family: 'Latin Modern Roman', serif;
}
h1, h2, h3, h4, h5, h6 {
border: none;
font-weight: bold;
}
a, a:visited {
color: #a00;
}
ul {
list-style: disc;
}
#mw-navigation, #mw-page-base, #mw-head-base, #footer {
/* nuke everything but the content */
display: none;
}
/* Content Box */
.mw-body {
max-width: 720px;
margin: 2em auto;
}
#content {
border: none;
color: black;
}
#firstHeading, #siteSub {
text-align: center;
display: block;
}
.mw-body h1, .mw-body h2 {
font-family: inherit;
}
#siteSub {
margin-bottom: 4em;
}
/* Article Body */
.mw-editsection {
/* hide more non-content */
display: none;
}
.mw-body-content {
text-align: justify;
}
dl dd {
/* center definitions (most useful for display equations) */
text-align: center;
}
span.texhtml {
/* revert inline math to default font */
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
/* Table of Contents */
#toc, .toc {
border: none;
padding: 0;
background: none;
}
.mw-body #toc h2, .mw-body .toc h2 {
font-family: inherit;
}
#toc h2, .toc h2 {
display:block;
}
#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
text-align: left;
}
.toctoggle {
display: none;
}