Jump to content

User:Archelon/vector.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*********************************************************************
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;
}