MediaWiki:Common.css: Difference between revisions

From PrePostPrint
No edit summary
(testing typo)
Line 36: Line 36:
h1, h2, h3, h4, .mw-body h1, .mw-body-content h1, .vector-sticky-header-context-bar-primary, .mw-body-content h2 {
h1, h2, h3, h4, .mw-body h1, .mw-body-content h1, .vector-sticky-header-context-bar-primary, .mw-body-content h2 {
font-family: 'nanook';
font-family: 'nanook';
font-family: 'TINY5x3GX';
/* font-family: 'TINY5x3GX';*/
font-variation-settings: "wght" 150;
font-variation-settings: "wght" 150;

Revision as of 12:29, 31 January 2024

/* CSS placed here will be applied to all skins */
@font-face{
	font-family: 'nanook';
	src: url('/images/f/f7/Nanook.otf') format('opentype');
}
@font-face{
	font-family: 'TINY5x3GX';
	src: url('/images/f/f7/TINY5x3GX.ttf') format('truetype-variations');
}


body{
	font-family: monospace;
	font-size: 1.4em;
	background-color: #ff8;
}

.mw-head{
	background-image: linear-gradient(yellow, #ff8);
}
.mw-logo-container {
	background:url(/images/f/f7/ppp-text.svg) no-repeat center;
	background-size: contain;
}
.mw-logo-wordmark {
	opacity:0;
}
#mw-page-base {
    background-color: #ff8;
    background-image: none;
}
.mw-logo-wordmark {
	font-family: 'nanook';
	/*transform: skewX(15deg);*/
}
h1, h2, h3, h4, .mw-body h1, .mw-body-content h1, .vector-sticky-header-context-bar-primary, .mw-body-content h2 {
	font-family: 'nanook';
/*	font-family: 'TINY5x3GX';*/
	font-variation-settings: "wght" 150;
	
}

h1:nth-of-type(odd), h2:nth-of-type(odd), h3:nth-of-type(odd), h4:nth-of-type(odd), h1:nth-of-type(odd), .mw-body h1:nth-of-type(odd), .mw-body-content h1:nth-of-type(odd), .mw-body-content h2:nth-of-type(odd) {
	/*transform: skewX(-15deg);*/
}

.vector-body h2 {
    font-size: 4em;
}
.vector-body h3 {
    font-size: 2.5em;
}
.vector-body h4 {
	font-variation-settings: "wght" 80;
    font-size: 2.5em;
}