User:Ttedja/timeless.css

/* Article body*/ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Lato', 'Inter V', 'Inter','Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; line-height: 1.6em; /* 1.5em was too "cramped" for me. Revert to Vector line-height */ } /* Change texmath to use appropriate OpenType Math fonts. Due to Latin Modern Math's   radical symbol's baseline (I think), anything that has roots will look off. */ span.texhtml, mlmath { font-family: /*"Latin Modern Math", */"STIX Two Math", "Cambria Math", "STIXGeneral"; }

/* Headings and article subtitles */ .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt { font-family: ui-serif, "New York Large", "Georgia", 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif; line-height: 1.5em; /* Headings with decenders are touching the border line; this should add a bit of spacing */ } /** Correct "From Wikipedia, the free encyclopedia" spacing from first header (ie. title of page) **/ .mw-body h1.firstHeading { margin-bottom: 0em; /* eliminates bottom margin — spacing between h1.firstHeading and #siteSub should've been handled by #siteSub */ }	font-family: ui-serif, "New York Small", "Georgia", 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif; margin: 0.25em 0 0.5em 0; /* here is where I correct spacing; the rest of the value comes from Timeless.css */ }
 * 1) siteSub {

/* Search bar */ @media screen { #searchInput { padding: 0.4em 4.5em 0.4em 2em; /* manually centres input text by equalising both top and bottom paddings */ } }

/* Username (header); ≥ 851px */ @media screen and (min-width: 851px) { #personal { line-height: 1.2em; }	#personal h2 { padding-bottom: 0; padding-top: 0; background-position: left center; position: relative; top: 0.2em; }	#personal h2 span { height: 1.2em; font-family: ui-serif, "New York Small", "Georgia", 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif; position: relative; top: 0.3em; /* trial-and-error, looked best this way */ }	/* the :after element aligns with the bottom of the span. Correct for padding-bottom modification for */ #personal :after { position: relative; bottom: 0.25em; vertical-align: middle; }	#user-tools h2:after { height: 12px; /* restores value from #personal :after */ } }

@media screen and (max-width: 1099px) and (min-width: 851px) { #mw-site-navigation h2, #mw-related-navigation h2 { font-family: ui-serif, "New York Small", "Georgia", 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif; } }

/* Monospaced fonts */ /** Ace Editor (wikiEditor) **/ /* #editor { font-family: 'Menlo', 'Ubuntu Mono', 'Cascadia Code', 'Consolas', 'source-code-pro', monospace; } */ .screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace { font-family: 'Menlo', 'Ubuntu Mono', 'Cascadia Code', 'Consolas', 'source-code-pro', monospace; } /** VisualEditor (Source edit mode) **/ /* .mw-editfont-monospace { font-family: 'Menlo', 'Ubuntu Mono', 'Cascadia Code', 'Consolas', 'source-code-pro', monospace; } */