MediaWiki:Timeless.css: Difference between revisions

From Ghost Theory Wiki
Replaced content with "Reset and Base Styles: * { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #000000; color: #ffffff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.6; } Links: a { color: #ffe135; text-decoration: none; transition: color 0.3s ease; } a:visited { color: #c0c0c0; } a:hover { color: #ffed"
Tag: Replaced
No edit summary
Tag: Bots
 
(136 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Reset and Base Styles */
#ca-talk { display: none !important; }
* {
 
  margin: 0;
/* Hide the entire Anonymous dropdown menu in Timeless */
   padding: 0;
#p-personal,
  box-sizing: border-box;
#personal,
#user-tools {
    display: none !important;
}
 
.quote-box {
    padding: 1em 1.2em;
    margin: 1.5em 0;
    background: #f2f2f2;
    border-left: 4px solid #ccc;
    border-radius: 4px;
    color: #222;
}
 
/* Gray background box for FAQ questions */
.faq-question {
    background-color: #f2f3f4;   /* light gray that fits your Timeless theme */
    padding: .2em;              /* space inside the box */
    margin: .5em 0;             /* space between boxes */
    border-radius: 2px;        /* optional: soft corners */
 
}
 
/* Make the heading smaller INSIDE the FAQ box */
h3 .faq-question {
    background-color: #f2f3f4;
    padding: .2em;
    border-radius: 2px;
    font-size: .8em !important;
}
 
/* Hide all category links on article pages */
#catlinks {
    display: none !important;
}
}


body {
/* Hide empty category page warnings and edit notices */
  background-color: #000000;
body.page-Category .mw-parser-output > p,
  color: #ffffff;
body.page-Category .noarticletext,
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
body.page-Category .mw-empty-elt,
  font-size: 16px;
body.page-Category #contentSub,
  line-height: 1.6;
body.page-Category #contentSub2 {
    display: none !important;
}
}


/* Links */
/* Hide the "Category" tab on category pages (optional) */
a {
body.ns-14 #ca-nstab-category {
  color: #ffe135;
    display: none !important;
  text-decoration: none;
  transition: color 0.3s ease;
}
}


a:visited {
/* Hide all category displays in Timeless */
  color: #c0c0c0;
#catlinks,
.catlinks,
.mw-normal-catlinks,
.mw-hidden-catlinks,
#mw-normal-catlinks,
#mw-hidden-catlinks {
    display: none !important;
}
}


a:hover {
/* Universal kill-switch for Timeless page tools */
  color: #ffed
#mw-related-navigation,
#page-tools,
#page-tools-wrapper,
#mw-panel .page-tools,
.sidebar-chunk.page-tools {
    display: none !important;
}
 
@import url('https://fonts.googleapis.com/css2?family=Alegreya:opsz,wght@8..30,400;8..30,600;8..30,700&display=swap');
 
/* Force Timeless title span to behave like a real heading */
.mw-page-title-main {
    display: block !important;
    font-family: "Alegreya", serif !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 0.2em 0 !important;
    color: #989898 !important;
}

Latest revision as of 06:43, 11 January 2026

#ca-talk { display: none !important; }

/* Hide the entire Anonymous dropdown menu in Timeless */
#p-personal,
#personal,
#user-tools {
    display: none !important;
}

.quote-box {
    padding: 1em 1.2em;
    margin: 1.5em 0;
    background: #f2f2f2;
    border-left: 4px solid #ccc;
    border-radius: 4px;
    color: #222;
}

/* Gray background box for FAQ questions */
.faq-question {
    background-color: #f2f3f4;   /* light gray that fits your Timeless theme */
    padding: .2em;               /* space inside the box */
    margin: .5em 0;              /* space between boxes */
    border-radius: 2px;         /* optional: soft corners */

}

/* Make the heading smaller INSIDE the FAQ box */
h3 .faq-question {
    background-color: #f2f3f4;
    padding: .2em;
    border-radius: 2px;
    font-size: .8em !important;
}

/* Hide all category links on article pages */
#catlinks {
    display: none !important;
}

/* Hide empty category page warnings and edit notices */
body.page-Category .mw-parser-output > p,
body.page-Category .noarticletext,
body.page-Category .mw-empty-elt,
body.page-Category #contentSub,
body.page-Category #contentSub2 {
    display: none !important;
}

/* Hide the "Category" tab on category pages (optional) */
body.ns-14 #ca-nstab-category {
    display: none !important;
}

/* Hide all category displays in Timeless */
#catlinks,
.catlinks,
.mw-normal-catlinks,
.mw-hidden-catlinks,
#mw-normal-catlinks,
#mw-hidden-catlinks {
    display: none !important;
}

/* Universal kill-switch for Timeless page tools */
#mw-related-navigation,
#page-tools,
#page-tools-wrapper,
#mw-panel .page-tools,
.sidebar-chunk.page-tools {
    display: none !important;
}

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

/* Force Timeless title span to behave like a real heading */
.mw-page-title-main {
    display: block !important;
    font-family: "Alegreya", serif !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 0.2em 0 !important;
    color: #989898 !important;
}