MediaWiki:Timeless.css: Difference between revisions

From Ghost Theory Wiki
No edit summary
Tag: Bots
No edit summary
Tag: Bots
 
(20 intermediate revisions by the same user not shown)
Line 74: 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 */
/* Force Timeless title span to behave like a real heading */
 
.mw-page-title-main {
/* 1. Make sure the title actually uses Alegreya */
    display: block !important;
.mw-page-header h1,
     font-family: "Alegreya", serif !important;
.mw-body-header h1,
    font-size: 1.4rem !important;
.mw-page-header .mw-page-title-main,
.mw-body-header .mw-page-title-main {
     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;
     line-height: 1.2 !important;
}
     margin: 0 0 0.2em 0 !important;
 
     color: #989898 !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;
}
}