MediaWiki:Common.css: Difference between revisions

From Thirteen Years of Fire Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ---------------------------------------------------------
/* ---------------------------------------------------------
   GLOBAL PAGE BACKGROUND (outside reading area)
   RESET GLOBAL BACKGROUND AND TEXT
   --------------------------------------------------------- */
   --------------------------------------------------------- */
body {
body {
     background: #284139 !important;
     background: #ffffff !important;
    color: #000000 !important;
}
}


/* ---------------------------------------------------------
/* ---------------------------------------------------------
   KEEP READING AREA WHITE WITH BLACK TEXT + DEFAULT LINKS
   READING AREA (content area)
   --------------------------------------------------------- */
   --------------------------------------------------------- */
#content,
#content,
#bodyContent,
#bodyContent,
.mw-body {
.mw-body,
.mw-body-content,
#mw-content-text {
     background: #ffffff !important;
     background: #ffffff !important;
     color: #000000 !important;
     color: #000000 !important;
Line 18: Line 21:
/* ---------------------------------------------------------
/* ---------------------------------------------------------
   SIDEBAR (LEFT PANEL)
   SIDEBAR (LEFT PANEL)
  Restore default Vector colors
   --------------------------------------------------------- */
   --------------------------------------------------------- */
#mw-panel {
#mw-panel {
     background: #284139 !important;
     background: #f8f9fa !important;   /* light gray */
     color: #f8d593 !important;
     color: #000000 !important;
}
}


#mw-panel a {
#mw-panel a {
     color: #f8d593 !important;
     color: #0645ad !important;       /* default link blue */
}
}


/* ---------------------------------------------------------
/* ---------------------------------------------------------
   TOP BAR / HEADER
   TOP BAR / HEADER
  Restore default Vector header
   --------------------------------------------------------- */
   --------------------------------------------------------- */
#mw-head,
#mw-head,
#mw-head-base {
#mw-head-base {
     background: #284139 !important;
     background: #ffffff !important;
     color: #f8d593 !important;
     color: #000000 !important;
}
}


/* ---------------------------------------------------------
/* ---------------------------------------------------------
   SEARCH BOX
   SEARCH BOX
  Restore default styling
   --------------------------------------------------------- */
   --------------------------------------------------------- */
#p-search input {
#p-search input {
     background: #ffffff !important;
     background: #ffffff !important;
     color: #000000 !important;
     color: #000000 !important;
     border: 1px solid #f8d593 !important;
     border: 1px solid #a2a9b1 !important; /* default border */
}
}


/* ---------------------------------------------------------
/* ---------------------------------------------------------
   TABS (Read / Edit / View history)
   TABS (Read / Edit / View history)
  Restore default Vector tabs
   --------------------------------------------------------- */
   --------------------------------------------------------- */
#p-views ul li a {
#p-views ul li a {
     background: #284139 !important;
     background: #ffffff !important;
     color: #f8d593 !important;
     color: #0645ad !important;
     border: 1px solid #f8d593 !important;
     border: 1px solid #a2a9b1 !important;
}
}


#p-views ul li.selected a {
#p-views ul li.selected a {
     background: #f8d593 !important;
     background: #ffffff !important;
     color: #284139 !important;
     color: #000000 !important;
}
}


/* ---------------------------------------------------------
/* ---------------------------------------------------------
   FOOTER
   FOOTER
  Restore default Vector footer
   --------------------------------------------------------- */
   --------------------------------------------------------- */
#footer {
#footer {
     background: #284139 !important;
     background: #ffffff !important;
     color: #f8d593 !important;
     color: #000000 !important;
}
}


#footer a {
#footer a {
     color: #f8d593 !important;
     color: #0645ad !important;
}
}


/* ---------------------------------------------------------
/* ---------------------------------------------------------
   FORCE READING-AREA LINKS TO BE BLACK
   LINKS (reading area)
  Restore default link colors
   --------------------------------------------------------- */
   --------------------------------------------------------- */
#content a,
#content a,
#bodyContent a,
#bodyContent a,
.mw-body a {
.mw-body a,
     color: #000000 !important;
.mw-body-content a,
#mw-content-text a {
     color: #0645ad !important;       /* default blue */
}
}


#content a:visited,
#content a:visited,
#bodyContent a:visited,
#bodyContent a:visited,
.mw-body a:visited {
.mw-body a:visited,
     color: #000000 !important;
.mw-body-content a:visited,
#mw-content-text a:visited {
     color: #0b0080 !important;       /* default visited purple */
}
}


#content a:active,
#content a:active,
#bodyContent a:active,
#bodyContent a:active,
.mw-body a:active {
.mw-body a:active,
     color: #000000 !important;
.mw-body-content a:active,
#mw-content-text a:active {
     color: #faa700 !important;       /* default active orange */
}
}

Latest revision as of 17:16, 18 August 2026

/* ---------------------------------------------------------
   RESET GLOBAL BACKGROUND AND TEXT
   --------------------------------------------------------- */
body {
    background: #ffffff !important;
    color: #000000 !important;
}

/* ---------------------------------------------------------
   READING AREA (content area)
   --------------------------------------------------------- */
#content,
#bodyContent,
.mw-body,
.mw-body-content,
#mw-content-text {
    background: #ffffff !important;
    color: #000000 !important;
}

/* ---------------------------------------------------------
   SIDEBAR (LEFT PANEL)
   Restore default Vector colors
   --------------------------------------------------------- */
#mw-panel {
    background: #f8f9fa !important;   /* light gray */
    color: #000000 !important;
}

#mw-panel a {
    color: #0645ad !important;        /* default link blue */
}

/* ---------------------------------------------------------
   TOP BAR / HEADER
   Restore default Vector header
   --------------------------------------------------------- */
#mw-head,
#mw-head-base {
    background: #ffffff !important;
    color: #000000 !important;
}

/* ---------------------------------------------------------
   SEARCH BOX
   Restore default styling
   --------------------------------------------------------- */
#p-search input {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #a2a9b1 !important; /* default border */
}

/* ---------------------------------------------------------
   TABS (Read / Edit / View history)
   Restore default Vector tabs
   --------------------------------------------------------- */
#p-views ul li a {
    background: #ffffff !important;
    color: #0645ad !important;
    border: 1px solid #a2a9b1 !important;
}

#p-views ul li.selected a {
    background: #ffffff !important;
    color: #000000 !important;
}

/* ---------------------------------------------------------
   FOOTER
   Restore default Vector footer
   --------------------------------------------------------- */
#footer {
    background: #ffffff !important;
    color: #000000 !important;
}

#footer a {
    color: #0645ad !important;
}

/* ---------------------------------------------------------
   LINKS (reading area)
   Restore default link colors
   --------------------------------------------------------- */
#content a,
#bodyContent a,
.mw-body a,
.mw-body-content a,
#mw-content-text a {
    color: #0645ad !important;        /* default blue */
}

#content a:visited,
#bodyContent a:visited,
.mw-body a:visited,
.mw-body-content a:visited,
#mw-content-text a:visited {
    color: #0b0080 !important;        /* default visited purple */
}

#content a:active,
#bodyContent a:active,
.mw-body a:active,
.mw-body-content a:active,
#mw-content-text a:active {
    color: #faa700 !important;        /* default active orange */
}