WiTeX/style.css
2015-02-11 17:57:12 -07:00

158 lines
2.9 KiB
CSS

/*********************************************************************
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;
src: url('//cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-regular.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: bold;
font-style: normal;
src: url('//cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bold.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: normal;
font-style: italic;
src: url('//cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-italic.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: bold;
font-style: italic;
src: url('//cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bolditalic.woff') format('woff');
}
#pt-userpage, #ca-edit, #p-views, div.vectorTabs ul, div.vectorTabs span{
background: none;
}
/* 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, div.vectorTabs li a {
color: #ED1B23;
}
ul {
list-style: disc;
}
#left-navigation, #mw-panel, #ca-view, #ca-history, #ca-watch, #mw-page-base, #mw-head-base, #footer, #featured-star, .topicon{
/* nuke most things */
display: none !important;
}
.NavHead div, .NavFrame div, .navbox div, .navbox th, .navbox-title, .hlist div, th, table{
background: white !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-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;
}
.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;
}