MediaWiki:Vector-2022.css: Difference between revisions

From VRChat Wiki
No edit summary
No edit summary
Line 2: Line 2:


@media screen {
@media screen {
html, body {
html,
body,
.mw-editsection,
.mw-editsection-like,
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2  {
font-family: "Noto Sans", sans-serif;
font-family: "Noto Sans", sans-serif;
}
}
 
.mw-body h1,
  .mw-body-content h1,
  .mw-body-content h2 {
  font-family: inherit;
}
.mw-header {
.mw-header {
padding-top: 16px;
padding-top: 16px;

Revision as of 00:22, 11 June 2024

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@media screen {
	html,
	body, 
	.mw-editsection, 
	.mw-editsection-like, 
	.mw-body h1,
	.mw-body-content h1,
	.mw-body-content h2  {
		font-family: "Noto Sans", sans-serif;
	}

	.mw-header {
		padding-top: 16px;
	}
	
	@media (prefers-color-scheme: dark) {
		body {
			background-color: #111111;
			color: white;
			
			--seperator-color: #ffffff20;
			--seperator: 1px solid var(--seperator-color);
		}
		
		.mw-page-container {
			background-color: transparent;
		}
		
		.mw-header {
			padding-top: 16px;
		}
		
		.vector-menu-tabs .mw-list-item.selected a,
  .vector-menu-tabs .mw-list-item.selected a:visited {
    		color: white;
		}
		
		.mw-footer li {
			color: #f6f6f6;
		}
		
		.mw-ui-icon {
			filter: invert(1);
		}
		
		h1, h2, h3, h4, h5, h6 {
			color: white;
		}
		
		h1, h2, .mw-article-toolbar-container {
			border-bottom: var(--seperator);
		}
	}
}