User:Archelon/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:Archelon/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
Fork by Bry6n
https://github.com/Vaikus/WiTeX
Merge+further modifications by Archelon
[no URL]
Please note that this does not produce fully satisfactory results, but I'm going to try using it for now.
*/
/* Latin Modern (LaTeX default) font */
@font-face {
font-family: 'Latin Modern Roman';
font-weight: normal;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/andrewbelt/witex@master/fonts/lmroman10-regular.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: bold;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/andrewbelt/witex@master/fonts/lmroman10-bold.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: normal;
font-style: italic;
src: url('https://cdn.jsdelivr.net/gh/andrewbelt/witex@master/fonts/lmroman10-italic.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: bold;
font-style: italic;
src: url('https://cdn.jsdelivr.net/gh/andrewbelt/witex@master/fonts/lmroman10-bolditalic.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Mono';
font-weight: normal;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/andrewbelt/witex@master/fonts/lmmono10-regular.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Mono';
font-weight: normal;
font-style: italic;
src: url('https://cdn.jsdelivr.net/gh/andrewbelt/witex@master/fonts/lmmono10-italic.woff') format('woff');
}
#pt-userpage, #ca-view, #ca-edit, #ca-history, #p-views, #ca-viewsource, #mw-page-base, div.vectorTabs ul, div.vectorTabs span{
background: none;
}
/* Page Layout */
body {
background: none;
font-size: 16pt;
font-family: 'Latin Modern Roman', serif;
color: black;
}
h1, h2, h3, h4, h5, h6 {
border: none;
font-weight: bold;
}
a {
color: #0000FF;
}
a:visited {
color: #7700FF;
}
a.new, a.new:visited {
color: #FF0000;
}
ul {
list-style: disc;
}
#left-navigation, #mw-panel, #ca-watch, #pt-sandbox, #pt-betafeatures, #ca-unwatch, #mw-head-base, #footer, #featured-star, .topicon{
/* nuke most things */
display: none !important;
}
/* Content Box */
.mw-body {
max-width: 80%;
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-body-content {
text-align: left;
}
.texhtml {
/* revert inline math to default font */
font-family: inherit !important;
font-size: inherit !important;
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;
}