User:Ernesto Sisti/vector.css

/* This file 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 

/* WiTeX https://github.com/AndrewBelt/WiTeX

Version with transparent toolbars which appear on hover: https://github.com/jsmaniac/WiTeX



/* Latin Modern (LaTeX default) font */

@font-face { font-family: 'Latin Modern Roman'; font-weight: normal; font-style: normal; src: url('https://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('https://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('https://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('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bolditalic.woff') format('woff'); }

pt-userpage, #ca-edit, #ca-ve-edit, #p-views, div.vectorTabs ul, div.vectorTabs span{ background: none; }

@font-face { font-family: 'Latin Modern Mono'; font-weight: normal; font-style: normal; src: url('https://cdn.rawgit.com/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.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmmono10-italic.woff') format('woff'); }

/* Page Layout */

body { background: none; font-size: 14pt; font-family: 'Latin Modern Roman', serif; color: black; }

h1, h2, h3, h4, h5, h6 { border: none; font-weight: bold; }

a, a:visited, div.vectorTabs li a { color: #a00; }

a.new, a.new:visited { color: black; }

ul { list-style: disc; }

/* Shift star on baseline */ /*background-position: 5px 21px !important;*/ background-position: 5px 69% !important; transform-origin: 50% 64% !important; /* Calculating with original WP values, should be y=66% but looks better with y=64% */ }
 * 1) ca-unwatch.icon a, #ca-watch.icon a, #ca-unwatch.icon a.loading, #ca-watch.icon a.loading {

/* nuke most things */ visibility:hidden; }	background: none !important; opacity: 0; -webkit-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out; }
 * 1) mw-page-base,#mw-head-base{
 * 1) left-navigation, #mw-panel, #ca-view, #ca-history, #ca-watch, #p-cactions, #footer, #featured-star, .topicon{

background: none; }
 * 1) ca-unwatch {

background-image: linear-gradient(transparent,transparent),url(/w/skins/Vector/resources/skins.vector.styles/images/unwatch-icon.svg?3de3e); width:16px; height:16px; content: ""; }
 * 1) ca-unwatch a:before{

content: ""; opacity: 0; height: 1.8em; -webkit-transition: opacity 0.3s ease-in-out; -moz-transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out; }
 * 1) mw-navigation #ca-unwatch a:before, #mw-navigation #ca-watch a:before {

overflow:visible !important; /* allow the #ca-unwatch to have a :after outside of the bounds of this element. */ }
 * 1) ca-unwatch a {

content: ""; width: 2em; height: 2em; position:fixed; top:2ex; right:2ex; background-repeat: no-repeat; background-position: top right; background-image: linear-gradient(transparent,transparent),url(/w/skins/Vector/resources/skins.vector.styles/images/unwatch-icon.svg?3de3e); opacity: 0.5; -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; transition-delay: 0.25s; }
 * 1) ca-unwatch a:after {

color:transparent; background:none; } background: none; }
 * 1) ca-unwatch a, #ca-watch a {
 * 1) ca-talk, #ca-talk a, #p-namespaces {

opacity: 0; -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; }
 * 1) mw-navigation:hover #ca-unwatch a:after {

opacity: 0.55; -webkit-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out; }
 * 1) mw-navigation:hover #left-navigation, #mw-navigation:hover #ca-view, #mw-navigation:hover #ca-history, #mw-navigation:hover #ca-watch, #mw-navigation:hover #p-cactions, #featured-star:hover, .topicon:hover, #mw-navigation:hover #ca-unwatch a:before, #mw-navigation #ca-watch a:before {

opacity: 0.75; -webkit-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out; }
 * 1) mw-navigation:hover #mw-panel, #footer:hover {

opacity: 0; -webkit-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out; }
 * 1) ca-edit, #ca-ve-edit, #ca-viewsource, #p-personal, #p-search{

opacity: 1; -webkit-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out; }
 * 1) mw-navigation:hover #ca-edit, #mw-navigation:hover #ca-ve-edit, #mw-navigation:hover #ca-viewsource, #mw-navigation:hover #p-personal, #mw-navigation:hover #p-search{

background: none !important; } div.vectorMenu div.menu { border-top-width: 1px; }
 * 1) p-cactions-label, div.vectorTabs, div.vectorTabs ul li, .NavHead div, .NavFrame div, .navbox div, .navbox th, .navbox-title, .hlist div, th, table{

/* Content Box */

.mw-body { max-width: 720px; margin: 1em auto; }

border: none; color: black; }
 * 1) content, div#content {

text-align: center; display: block; }
 * 1) firstHeading, #siteSub {

margin-top: -0.5em; margin-bottom: 4em; }
 * 1) siteSub {

/* Article Body */

.mw-body-content { font-size: inherit; text-align: justify; -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; line-height: 1.5em; }

.mw-body { padding: 2em 0; }

.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, div#content h1, div#content h2, div#content #firstHeading { font-family: inherit; line-height: 1.5em; margin-bottom: 0.5em; }

.mw-body h1, div#content h1 { font-size: 2em; }

.mw-body h2, div#content h2 { font-size: 1.5em; }

.mw-body h3 { font-size: 1.2em; }

.mw-body h4 { font-size: 1.1em; }

.mw-body h5, .mw-body h6 { font-size: 1.0em; }

.mw-body p { margin: 0; }

.mw-body p + p { text-indent: 2em; }

.mw-editsection { /* hide more non-content */ /* display: none; */ opacity:0.1; }

table.ambox { margin-bottom: 1em; }

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 */

border: none; padding: 0; background: none; font-size: inherit; /* span 100% of the width */ display: block; }
 * toc, .toc {

.mw-body #toc h2, .mw-body .toc h2 { font-family: inherit; font-size: 1.5em; }

display: block; }
 * 1) toc h2, .toc h2 {

text-align: left; }
 * 1) toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {

.toctoggle { display: none; }

/* Figures */

div.tright { margin: 0.5em 0 0.5em 1.5em; }

div.tleft { margin: 0.5em 1.5em 0.5em 0; }

/* Code */

.mw-code { margin: 1em 0; }

pre, code { font-family: "Latin Modern Mono", monospace !important; }

sup { text-indent: 0; }