MediaWiki:Timeless.css: Difference between revisions

From Ghost Theory Wiki
No edit summary
No edit summary
Tag: Bots
 
(135 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Reset and Base Styles */
#ca-talk { display: none !important; }
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
/* Hide the entire Anonymous dropdown menu in Timeless */
  background-color: #000000;
#p-personal,
  color: #ffffff;
#personal,
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
#user-tools {
  font-size: 16px;
    display: none !important;
  line-height: 1.6;
}
}


/* Links */
.quote-box {
a {
    padding: 1em 1.2em;
  color: #ffe135;
    margin: 1.5em 0;
  text-decoration: none;
    background: #f2f2f2;
  transition: color 0.3s ease;
    border-left: 4px solid #ccc;
    border-radius: 4px;
    color: #222;
}
}


a:visited {
/* Gray background box for FAQ questions */
  color: #c0c0c0;
.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 */


a:hover {
  color: #ffed4e;
}
}


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


#mw-head {
/* Hide all category links on article pages */
  background-color: #1a1a1a;
#catlinks {
  border-bottom: 2px solid #333333;
    display: none !important;
  padding: 10px 20px;
}
}


#mw-navigation {
/* Hide empty category page warnings and edit notices */
  background-color: #000000;
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;
}
}


/* Content Area */
/* Hide the "Category" tab on category pages (optional) */
#content {
body.ns-14 #ca-nstab-category {
  background-color: #000000;
    display: none !important;
  padding: 20px;
  margin-left: 0;
}
}


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


/* Text Boxes and Content */
/* Universal kill-switch for Timeless page tools */
#mw-content {
#mw-related-navigation,
  background-color: #1a1a1a;
#page-tools,
  padding: 20px;
#page-tools-wrapper,
  border-radius: 4px;
#mw-panel .page-tools,
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
.sidebar-chunk.page-tools {
    display: none !important;
}
}


/* Sidebar Navigation */
@import url('https://fonts.googleapis.com/css2?family=Alegreya:opsz,wght@8..30,400;8..30,600;8..30,700&display=swap');
#mw-panel {
  background-color: #000000;
  padding: 10px 0;
}
 
.mw-portlet {
  background-color: #000000;
  margin-bottom: 20px;
  border: 1px solid #333333;
  border-radius: 4px;
  overflow: hidden;
}
 
.mw-portlet-body {
  background-color: #1a1a1a;
  padding: 0;
}
 
/* Portlet Header */
.mw-portlet > h3,
.vector-portlet-heading {
  background-color: #2a2a2a;
  color: #ffffff;
  padding: 12px 15px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid #333333;
  transition: background-color 0.3s ease;
}
 
.mw-portlet > h3:hover,
.vector-portlet-heading:hover {
  background-color: #333333;
}
 
/* Collapsible Arrow */
.portlet-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 12px;
  color: #ffe135;
}
 
.portlet-arrow.collapsed {
  transform: rotate(-90deg);
}
 
/* Portlet List */
.mw-portlet-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.mw-portlet-body li {
  border-bottom: 1px solid #2a2a2a;
  margin: 0;
}
 
.mw-portlet-body li:last-child {
  border-bottom: none;
}
 
.mw-portlet-body a {
  display: block;
  padding: 12px 15px;
  color: #ffe135;
  text-decoration: none;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
 
.mw-portlet-body a:visited {
  color: #c0c0c0;
}
 
.mw-portlet-body a:hover {
  background-color: #2a2a2a;
  padding-left: 20px;
  color: #ffed4e;
}
 
/* Year Items and Expandable Sections */
.year-item {
  background-color: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
  margin: 0;
  padding: 0;
}
 
.year-item:last-child {
  border-bottom: none;
}
 
.year-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background-color: #1a1a1a;
  color: #ffe135;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}
 
.year-header:hover {
  background-color: #2a2a2a;
}
 
.year-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 12px;
  color: #ffe135;
}
 
.year-arrow.collapsed {
  transform: rotate(-90deg);
}
 
.year-content {
  display: none;
  background-color: #0f0f0f;
  padding: 0;
  border-top: 1px solid #2a2a2a;
}
 
.year-content.expanded {
  display: block;
}
 
.year-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.year-content li {
  border-bottom: 1px solid #2a2a2a;
  margin: 0;
}
 
.year-content li:last-child {
  border-bottom: none;
}
 
.year-content a {
  display: block;
  padding: 10px 15px 10px 30px;
  color: #ffe135;
  text-decoration: none;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
  font-size: 14px;
}
 
.year-content a:visited {
  color: #c0c0c0;
}
 
.year-content a:hover {
  background-color: #1a1a1a;
  padding-left: 35px;
  color: #ffed4e;
}
 
/* Search Box */
.searchbox {
  padding: 10px;
  margin-bottom: 10px;
}
 
.searchbox input {
  width: 100%;
  padding: 8px;
  border: 1px solid #2a2a2a;
  background-color: #0f0f0f;
  color: #ffe135;
  font-size: 14px;
  box-sizing: border-box;
}
 
.searchbox input::placeholder {
  color: #666;
}
 
.searchbox input:focus {
  outline: none;
  border-color: #ffe135;
  background-color: #1a1a1a;
}
 
/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    height: 100vh;
    z-index: 1000;
    transition: left 0.3s ease;
  }
 
  .sidebar.active {
    left: 0;
  }


  .main-content {
/* Force Timeless title span to behave like a real heading */
     margin-left: 0;
.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;
}