<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://openjournal.wiki/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.css</id>
	<title>MediaWiki:Common.css - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://openjournal.wiki/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.css"/>
	<link rel="alternate" type="text/html" href="https://openjournal.wiki/index.php?title=MediaWiki:Common.css&amp;action=history"/>
	<updated>2026-09-11T00:28:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://openjournal.wiki/index.php?title=MediaWiki:Common.css&amp;diff=23&amp;oldid=prev</id>
		<title>OpenJournalAdmin: openjournal styles</title>
		<link rel="alternate" type="text/html" href="https://openjournal.wiki/index.php?title=MediaWiki:Common.css&amp;diff=23&amp;oldid=prev"/>
		<updated>2026-09-10T19:58:30Z</updated>

		<summary type="html">&lt;p&gt;openjournal styles&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* openjournal -- loaded into MediaWiki:Common.css by the seed step.&lt;br /&gt;
   Edit it on-wiki at /wiki/MediaWiki:Common.css, or here and re-seed.&lt;br /&gt;
&lt;br /&gt;
   Colours are MediaWiki&amp;#039;s Codex design tokens rather than literals, so this&lt;br /&gt;
   file follows the reader&amp;#039;s Light/Dark/Automatic choice without needing a&lt;br /&gt;
   second set of rules. The hex values after each token are the light-mode&lt;br /&gt;
   fallback, used only if a skin does not define the token. */&lt;br /&gt;
&lt;br /&gt;
.oj-hero {&lt;br /&gt;
	margin: 0 0 1.5em;&lt;br /&gt;
	padding: 2em 0 1.6em;&lt;br /&gt;
	border-bottom: 1px solid var( --border-color-subtle, #c8ccd1 );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.oj-hero-title {&lt;br /&gt;
	font-size: 2.6em;&lt;br /&gt;
	line-height: 1.1;&lt;br /&gt;
	font-weight: 700;&lt;br /&gt;
	letter-spacing: -0.02em;&lt;br /&gt;
	color: var( --color-emphasized, #101418 );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.oj-hero-sub {&lt;br /&gt;
	margin-top: 0.4em;&lt;br /&gt;
	font-size: 1.05em;&lt;br /&gt;
	color: var( --color-subtle, #54595d );&lt;br /&gt;
	max-width: 34em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* One article in a feed. */&lt;br /&gt;
.oj-entry {&lt;br /&gt;
	padding: 0.7em 0;&lt;br /&gt;
	border-bottom: 1px solid var( --border-color-muted, #eaecf0 );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.oj-entry a {&lt;br /&gt;
	font-size: 1.12em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.oj-byline {&lt;br /&gt;
	color: var( --color-subtle, #54595d );&lt;br /&gt;
	font-size: 0.88em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.oj-journal .oj-feed {&lt;br /&gt;
	margin-top: 1.2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.oj-footnote {&lt;br /&gt;
	color: var( --color-subtle, #54595d );&lt;br /&gt;
	font-size: 0.92em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* The author list is a run of spans; CSS supplies the separators so there is&lt;br /&gt;
   never a trailing one. */&lt;br /&gt;
.oj-authors span + span::before {&lt;br /&gt;
	content: &amp;quot; \00b7 &amp;quot;;&lt;br /&gt;
	color: var( --color-subtle, #54595d );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* The &amp;quot;start a new article&amp;quot; box reads as a call to action, not a search field. */&lt;br /&gt;
.oj-journal .inputbox-element {&lt;br /&gt;
	max-width: 26em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* ---------------------------------------------------------------- Dark mode&lt;br /&gt;
&lt;br /&gt;
   Codex&amp;#039;s dark palette puts body text at #eaecf0 and headings at #f8f9fa on a&lt;br /&gt;
   #101418 page: contrast ratios of 15.6:1 and 17.6:1. WCAG AAA asks for 7:1,&lt;br /&gt;
   so that is roughly twice the contrast anyone needs, and on a near-black&lt;br /&gt;
   ground it is where text starts to glow and smear (halation).&lt;br /&gt;
&lt;br /&gt;
   Soften the text and lift the page a little off black. The ratios below stay&lt;br /&gt;
   above AAA, so nothing becomes harder to read:&lt;br /&gt;
&lt;br /&gt;
     headings   #f8f9fa 17.6:1  -&amp;gt;  #dfe3e7 13.7:1&lt;br /&gt;
     body text  #eaecf0 15.6:1  -&amp;gt;  #ccd1d6 11.5:1&lt;br /&gt;
     bylines    #a2a9b1  7.8:1  -&amp;gt;  #9fa6ae  7.2:1&lt;br /&gt;
&lt;br /&gt;
   These override Codex tokens, so everything on the page follows -- article&lt;br /&gt;
   text, the skin&amp;#039;s own chrome and the styles above alike. */&lt;br /&gt;
&lt;br /&gt;
.oj-dark-palette,&lt;br /&gt;
html.skin-theme-clientpref-night {&lt;br /&gt;
	--color-base: #ccd1d6;&lt;br /&gt;
	--color-emphasized: #dfe3e7;&lt;br /&gt;
	--color-subtle: #9fa6ae;&lt;br /&gt;
	--background-color-base: #17191c;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* The same, for readers on Automatic whose system is set to dark. */&lt;br /&gt;
@media screen and ( prefers-color-scheme: dark ) {&lt;br /&gt;
	html.skin-theme-clientpref-os {&lt;br /&gt;
		--color-base: #ccd1d6;&lt;br /&gt;
		--color-emphasized: #dfe3e7;&lt;br /&gt;
		--color-subtle: #9fa6ae;&lt;br /&gt;
		--background-color-base: #17191c;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* A single external link styled as a button, for the one place that needs it:&lt;br /&gt;
   the database dump on OpenJournal:Helping out. */&lt;br /&gt;
.oj-download {&lt;br /&gt;
	margin: 1em 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.oj-download a {&lt;br /&gt;
	display: inline-block;&lt;br /&gt;
	padding: 0.55em 1.1em;&lt;br /&gt;
	border-radius: 2px;&lt;br /&gt;
	background: var( --background-color-progressive, #36c );&lt;br /&gt;
	color: var( --color-inverted, #fff );&lt;br /&gt;
	font-weight: 600;&lt;br /&gt;
	text-decoration: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.oj-download a:hover {&lt;br /&gt;
	background: var( --background-color-progressive--hover, #4b77d6 );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* MediaWiki marks every external link with a small icon by default; it reads&lt;br /&gt;
   oddly against a button. */&lt;br /&gt;
.oj-download a.external {&lt;br /&gt;
	background-image: none;&lt;br /&gt;
	padding-right: 1.1em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Prev/next links at the bottom of each page of the front-page feed. */&lt;br /&gt;
.oj-pager {&lt;br /&gt;
	display: flex;&lt;br /&gt;
	justify-content: space-between;&lt;br /&gt;
	margin-top: 1em;&lt;br /&gt;
	padding-top: 0.6em;&lt;br /&gt;
	border-top: 1px solid var( --border-color-muted, #eaecf0 );&lt;br /&gt;
	font-size: 0.92em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Either link can be absent (first or last page). flexbox alone can&amp;#039;t tell&lt;br /&gt;
   &amp;quot;only Older present&amp;quot; from &amp;quot;only Newer present&amp;quot; -- both are a lone&lt;br /&gt;
   first-child -- so the template gives Older its own class to push right. */&lt;br /&gt;
.oj-pager .oj-older {&lt;br /&gt;
	margin-left: auto;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Appearance (theme/font-size/width) is removed from every page rather than&lt;br /&gt;
   relocated -- Vector wires it into the right column with no config to move&lt;br /&gt;
   it, and Special:Preferences already has a real, working &amp;quot;Color&amp;quot; setting&lt;br /&gt;
   under Appearance, so nothing is lost for anyone with an account; readers&lt;br /&gt;
   without one still get the site&amp;#039;s OJ_DEFAULT_THEME default. */&lt;br /&gt;
.vector-appearance-landmark {&lt;br /&gt;
	display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* &amp;quot;Switch to old look&amp;quot; (legacy Vector opt-out), shown to logged-in users at&lt;br /&gt;
   the bottom of the left menu. Vector hardcodes this with no config flag to&lt;br /&gt;
   turn it off -- confirmed by rendering the component directly rather than&lt;br /&gt;
   guessing from the template -- so it&amp;#039;s removed the same way as Appearance. */&lt;br /&gt;
.vector-main-menu-action-opt-out {&lt;br /&gt;
	display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* The right panel&amp;#039;s &amp;quot;Last modified&amp;quot; link already says this. No config gate&lt;br /&gt;
   exists for the footer&amp;#039;s own copy (unlike Privacy/About/Disclaimers just&lt;br /&gt;
   above, which are disabled the proper way, via their interface messages),&lt;br /&gt;
   so it&amp;#039;s hidden the same way Appearance and the old-look link are. */&lt;br /&gt;
#footer-info-lastmod {&lt;br /&gt;
	display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Vector deliberately gives the page title (h1) and h2 section headings a&lt;br /&gt;
   serif font -- Wikipedia&amp;#039;s own visual identity -- while body text, and&lt;br /&gt;
   even h3-h6, stay sans-serif. Confirmed in skins.vector.styles: the rule&lt;br /&gt;
   is .mw-body h1, .mw-body-content h1/h2 { font-family: &amp;#039;Linux Libertine&amp;#039; ...&lt;br /&gt;
   That split reads as inconsistent here, so headings inherit the body font&lt;br /&gt;
   instead of overriding it -- one font, everywhere, and it stays that way&lt;br /&gt;
   even if the body font ever changes. */&lt;br /&gt;
.mw-body h1,&lt;br /&gt;
.mw-body .mw-heading1,&lt;br /&gt;
.mw-body-content h1,&lt;br /&gt;
.mw-body-content .mw-heading1,&lt;br /&gt;
.mw-body-content h2,&lt;br /&gt;
.mw-body-content .mw-heading2 {&lt;br /&gt;
	font-family: inherit;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>OpenJournalAdmin</name></author>
	</entry>
</feed>