MediaWiki:Common.css: Difference between revisions

From PrePostPrint
(Created page with "→‎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 c...")
 
(Forced typography removal)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
@font-face {
@font-face{
  font-family:'nanook';
font-family: 'nanook';
  src:url(/images/f/f7/Nanook.otf) format('opentype')
src: url('/images/f/f7/Nanook.otf') format('opentype');
}
}
@font-face{
@font-face {
font-family: 'TINY5x3GX';
  font-family:'TINY5x3GX';
src: url('/images/f/f7/TINY5x3GX.ttf') format('truetype-variations');
  src:url(/images/f/f7/TINY5x3GX.ttf) format('truetype-variations')
}
}
 
body {
 
  font-family:monospace;
body{
  font-size:1.4em;
font-family: monospace;
  background-color:#ff8
font-size: 1.4em;
background-color: #ff8;
}
}
 
.mw-head {
.mw-head{
  background-image:linear-gradient(yellow,#ff8)
background-image: linear-gradient(yellow, #ff8);
}
}
.mw-logo-container {
.mw-logo-container {
background:url(/images/f/f7/ppp-text.svg) no-repeat center;
  background:url(/images/f/f7/ppp-text.svg) no-repeat center;
background-size: contain;
  background-size:contain
}
}
.mw-logo-wordmark {
.mw-logo-wordmark {
opacity:0;
  opacity:0
}
}
#mw-page-base {
#mw-page-base {
    background-color: #ff8;
  background-color:#ff8;
    background-image: none;
  background-image:none
}
}
.mw-logo-wordmark {
.mw-logo-wordmark {
font-family: 'nanook';
  font-family:'nanook'
/*transform: skewX(15deg);*/
}
}
h1, h2, h3, h4, .mw-body h1, .mw-body-content h1, .mw-body-content h2 {
h1:nth-of-type(odd),
font-family: 'nanook';
h2:nth-of-type(odd),
font-family: 'TINY5x3GX';
h3:nth-of-type(odd),
font-variation-settings: "wght" 150;
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),
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) {
.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;
}
}

Latest revision as of 12:37, 31 January 2024

@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'
}
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) {
}