MediaWiki:Timeless.css: Difference between revisions
From Ghost Theory Wiki
No edit summary Tag: Bots |
No edit summary Tag: Bots |
||
| Line 74: | Line 74: | ||
@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;500;600;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;500;600;700&display=swap'); | ||
/* | /* PAGE TITLE: KEEP ALEGREYA, FIX SIZE + COLOR */ | ||
.mw-page- | /* 1. Make sure the title actually uses Alegreya */ | ||
.mw-page-header h1, | |||
.mw-body-header h1, | |||
.mw-page-header .mw-page-title-main, | .mw-page-header .mw-page-title-main, | ||
.mw-body-header | .mw-body-header .mw-page-title-main { | ||
font-family: 'Alegreya', serif !important; | font-family: 'Alegreya', serif !important; | ||
font-weight: 600 !important; | font-weight: 600 !important; | ||
color: #989898 !important; | } | ||
/* 2. Force size + color on the title text node */ | |||
.mw-page-title-main { | |||
font-size: 1rem !important; /* adjust up/down until it feels right */ | |||
color: #989898 !important; /* the color you said is correct */ | |||
line-height: 1.2 !important; | line-height: 1.2 !important; | ||
} | } | ||
