Jump to content

User:Will Pittenger/timeless.css: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
tried to change main background
Added hierarchical numbering to headings.
Line 57: Line 57:
{
{
filter: invert(0);
filter: invert(0);
}

ol:has(.mw-headline)
{
counter-reset: item;
}
li:has(.mw-headline)
{
display: block;
}
li:has(.mw-headline):before
{
content: counters(item, ".") " ";
counter-increment: item;
}
}

Revision as of 05:39, 28 April 2024

/*== Force Times New Roman to be the font used ==
<pre><nowiki>*/
.mw-body .toctitle h2,
.mw-editsection,
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section > h2,
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section,
body, html, :root
{
	background: white;
	scrollbar-color: darkgreen #020;
	font-family: 'Times New Roman';
}/*</nowiki></pre> */

body *
{
	scrollbar-color: lightgreen #bff;
}

a:visited, .mw-footer-container a:visited
{
	color: #003;
}

a, .mw-footer-container a
{
	color: darkblue;
}

a, .mw-footer-container a:hover
{
	color: #341D00;
}

#mw-footer-container
{
	color: #111;
}

html a.new,
html .vector-menu-tabs li.new a,
html .vectorTabs li.new a {
	color: #009191;
}

body, html, :root
{
	height: 100%;
}

#mw-site-navigation, #mw-content-wrapper, #mw-related-navigation
{
	position: static;
	overflow-y: scroll;
}

[src*="maps.wikimedia.org/"]
{
	filter: invert(0);
}

ol:has(.mw-headline)
{
	counter-reset: item;
}
li:has(.mw-headline)
{
	display: block;
}
li:has(.mw-headline):before
{
	content: counters(item, ".") " ";
	counter-increment: item;
}