User:Njiordr/vector-2022.css

/* * wikipedia.rehash [css] 2.0.0 * - krasjet * * A minimal typographic rehash of Wikipedia designed for better screen * readability. * * homepage: https://krasjet.com/voice/wikipedia.rehash/ */

/* remove the blue border on the left */

body { font-family: charter, serif; }

p { font-family: charter, serif; }

h1 { font-family: charter, serif; }

h2 { font-family: charter, serif; }

div { font-family: charter, serif; }

font-family: charter, serif; }
 * 1) content {

/* * larger font size and more space between lines * charter can be downloaded here: https://practicaltypography.com/fonts/charter.zip */ .mw-body-content { font-size: 1.2em !important; line-height: 1.5; font-family: charter, serif; }

/* hyphenation, only available on firefox, legacy edge, and safari */ .mw-body-content p { -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }

/* less intrusive heading size */ margin-top: 1.15rem; font-size: 120% !important; }
 * 1) mw-content-text h2 {

/* prevent math image overflow */ dd .mwe-math-fallback-image-inline { max-width: 100% !important; }

/* fix the equation box issue */ .equation-box dd .mwe-math-fallback-image-inline { max-width: none !important; }

/* fix numbered equations */ dd td { width: initial !important; }

/* font size adjustments for various elements */

/* * I'm using Fira Mono as my monospace font. * You might have to tweak this part for your setup. */ pre, code, .monospaced { font-size: 100% !important; }

.hatnote { font-size: 100% !important; }

/* list items */ font-size: 100% !important; }
 * 1) mw-content-text ul,
 * 2) mw-content-text ol {

table { font-size: 100% !important; /* uncomment this if you want to prevent table overflow */ /* display: block; overflow-x: auto; */ }

table pre, table code, table .monospaced { font-size: 85% !important; }

font-size: 100% !important; }
 * 1) toc {

font-size: 100% !important; }
 * 1) toc h2 {

font-size: 80% !important; }
 * 1) mp-topbanner {