MediaWiki:Timeless.css: Difference between revisions

From Ghost Theory Wiki
No edit summary
Tag: Bots
No edit summary
Tag: Bots
Line 1: Line 1:
body { border: 10px solid magenta !important; }
.mw-page-header h1 {
    font-family: 'Courier New', monospace !important;
}
#ca-talk { display: none !important; }
#ca-talk { display: none !important; }


Line 80: Line 74:
@import url('https://fonts.googleapis.com/css2?family=Alegreya:opsz,wght@8..30,400;8..30,600;8..30,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya:opsz,wght@8..30,400;8..30,600;8..30,700&display=swap');


/* PAGE TITLE: KEEP ALEGREYA, FIX SIZE + COLOR */
/* UNIVERSAL TITLE OVERRIDE — WORKS ON ALL TIMELESS VERSIONS */
 
.mw-page-title-main,
/* 1. Make sure the title actually uses Alegreya */
.mw-title,
.mw-page-header h1,
.firstHeading,
.mw-body-header h1,
.page-heading,
.mw-page-header .mw-page-title-main,
.mw-titlebar h1,
.mw-body-header .mw-page-title-main {
.mw-titlebar .mw-page-title-main {
     font-family: 'Alegreya', serif !important;
     font-family: 'Alegreya', serif !important;
     font-weight: 700 !important;
     font-weight: 700 !important;
}
/* 2. Force size + color on the title text node */
.mw-page-title-main {
    font-size: 1.5rem !important;      /* adjust up/down until it feels right */
    color: #808080 !important;        /* the color you said is correct */
    line-height: 1.2 !important;
}
/* FORCE the actual h1 to be bold */
.mw-page-header h1,
.mw-body-header h1 {
    font-weight: 700 !important;
}
/* FINAL OVERRIDE: FORCE TITLE TO USE ALEGREYA AND BOLD */
.mw-page-header h1,
.mw-body-header h1 {
    font-family: 'Alegreya', serif !important;
    font-weight: 700 !important;
}
.mw-page-header h1,
.mw-body-header h1 {
    font-family: 'Courier New', monospace !important;
}
body {
    outline: 5px solid red !important;
}
}