MediaWiki:Common.css: Difference between revisions

From Sephardic Diaspora Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(33 intermediate revisions by the same user not shown)
Line 14: Line 14:
}
}


/* === Sandy Ivory + Jewel Tones === */
/* Page background */
body {
body {
    background-color: #66023C !important;
  background-color: #f6f1e1 !important; /* sandy ivory */
    color: white !important; /* Text color for contrast */
  color: #2b2b2b;
}
}


#content {
/* Content area */
    background-color: #66023C !important;
#content, .mw-body {
    color: white !important; /* Keep text visible */
  background-color: #FAF9F6 !important; /*  #fff8f0lighter ivory for readability, changing to white.  */
  color: #2b2b2b;
  border: 1px solid #e2d6c5;
}
}


/* ===== HEADER & TOP BAR ===== */
/* Sidebar */
#mw-page-base,
#mw-panel {
#mw-head-base,
  background-color: #f6f1e1 !important;
#mw-head,
}
#p-personal,
#mw-panel .portal h3 {
.vector-menu-tabs {
  color: #8b0000 !important; /* ruby heading */
    background-color: #66023C !important;
}
#mw-panel .vector-menu-content-list li a {
  color: #0F52BA !important; /* sapphire blue links */
}
#mw-panel .vector-menu-content-list li a:hover {
  color: #004f4f !important;
}
}


/* Top bar */
#mw-head, #mw-head-base, #left-navigation, #right-navigation {
  background-color: #f6f1e1 !important;
  border-bottom: 3px solid #00796b; /* changing to green      */
}


/* ===== SIDEBAR ===== */
/* Tabs */
#mw-panel {
.vectorTabs li a {
    background-color: #66023C !important;
  background-color: transparent !important;
  color: #005f73 !important; /* sapphire */
  border: none !important;
}
.vectorTabs li.selected a {
  color: #9c2c2c !important; /* ruby red for active tab */
  font-weight: bold;
}
.vectorTabs li a:hover {
  color: #00796b !important; /* emerald hover */
}
}


/* Headings */
h1, h2, h3, h4 {
  color: #542b98; /* Prple*/
}


/* ===== LINKS ===== */
/* Links */
a {
a {
    color: #FFD700 !important; /* Gold for contrast */
  color: #005f73; /* sapphire */
}
}
a:visited {
a:visited {
    color: #FFB700 !important;
  color: #7b3f00; /* bronze tone */
}
a:hover {
  color: #00796b; /* emerald */
}
}


/* ===== FOOTER ===== */
/* Footer */
#footer {
#footer {
    background-color: #66023C !important;
  background-color: #f6f1e1 !important;
    color: white !important;
  border-top: 2px solid #00796b;
}
}


/* Tab background for active and inactive states */
 
.vectorTabs li a,
/* Top banner placement */
.vectorTabs li a:visited {
#mw-head {
     background-color: #66023C !important; /* Tyrian purple */
    background: url("https://sephardicdiaspora.wiki/images/e/e0/Sephardic_Diaspora_Wiki_Top_Banner.png") no-repeat center top;
     color: #FFD700 !important; /* Gold text */
     background-color: #F5F0E0;     /* Sandy ivory background for blend */
    border: none !important;
     background-size: contain;
    height: 100px;                 /* Adjust this to match your banner's height */
}
}


/* Hover state */
/* Push content down so it doesn’t overlap with banner */
.vectorTabs li a:hover {
#content {
     background-color: #7A2B52 !important; /* Slightly lighter purple */
     margin-top: 100px;             /* Same value as banner height */
    color: #FFD700 !important; /* Keep gold text */
}
}


/* Active tab */
 
.vectorTabs li.selected a,
/* Hide action tabs for anonymous users */
.vectorTabs li.selected a:visited {
body.ns-0 #ca-talk,
    background-color: #4E012B !important; /* Darker purple for active */
body.ns-0 #ca-history,  
     color: #FFD700 !important;
body.ns-0 #ca-viewsource {
     display: none !important;
}
}
    #ca-talk {
        display: none !important;
    }
    #ca-view {
        display: none;
    }
#ca-nstab-main { display: none !important; }




/* Match tabs and portlets to Tyrian Purple */
/* Footer banner */
#p-personal,
#footer {
.vectorTabs,
  background: url("https://sephardicdiaspora.wiki/images/b/b4/Sephardic_wiki_banner.png") no-repeat center center;
.vectorTabs li,
  background-size: contain;  /* or 'cover' if you want edge-to-edge */
.vectorTabs li a,
  height: 120px;              /* match your banner height */
.vectorTabs li a span,
  padding-top: 10px;
div#mw-head,
  padding-bottom: 10px;
#p-cactions,
}
#p-views,
/* keep footer links below the image */
#mw-panel {
#footer #footer-info,  
     background-color: #66023C !important;
#footer #footer-places {
  position: relative;
  z-index: 2;
}
 
input#searchInput {
     color: #542b98; /* Your preferred text color */
}
}


/* Make sure tab text stays readable */
/* Change search box placeholder text color */
.vectorTabs li a span {
input#searchInput::placeholder {
     color: #FFD700 !important; /* gold text */
     color: #542b98; /* Change this to your preferred color */
}
}


/* Remove tab gradient so solid purple shows */
 
.vectorTabs li a {
/* Center all page titles */
     background-image: none !important;
#firstHeading {
     text-align: center;
}
}


/* === Make all top tabs match Tyrian Purple (#66023C) === */


/* Bar + nav containers */
/* Center all headings and subtitles */
#mw-head,
h1, h2, h3, h4, h5, h6 {
#mw-head-base,
    text-align: center;
#left-navigation,
#right-navigation,
#p-namespaces,
#p-views,
#p-cactions,
#p-personal {
  background: #66023C !important;
}
}


/* Each tab li and link */
 
#p-namespaces .vectorTabs li,
#bmc-button-wrapper {
#p-views .vectorTabs li,
   text-align: center;
#p-cactions .vectorTabs li,
   margin-top: 10px;
#right-navigation .vectorTabs li {
   margin-bottom: 10px;
   background: #66023C !important;
   border: 0 !important;
   box-shadow: none !important;
}
}


#p-namespaces .vectorTabs li a,
/* Hide Special Pages link in the sidebar */
#p-views .vectorTabs li a,
#s-specialpages {
#p-cactions .vectorTabs li a,
   display: none !important;
#right-navigation .vectorTabs li a {
  background: #66023C !important;
  background-image: none !important;  /* kill gradient */
  color: #FFD700 !important;          /* gold text */
  border: 0 !important;
  box-shadow: none !important;
   text-shadow: none !important;
}
}


/* Active/selected tab */
#t-whatlinkshere { display: none !important; }
#p-namespaces .vectorTabs li.selected a,
#t-recentchangeslinked { display: none !important; }
#p-views .vectorTabs li.selected a,
/* Hide Permanent link and Page information from the Tools menu */
#p-cactions .vectorTabs li.selected a,
#t-permalink,
#right-navigation .vectorTabs li.selected a {
#t-info {
  background: #4E012B !important;     /* darker purple for active */
   display: none !important;
  color: #FFD700 !important;
   border: 0 !important;
}
}


/* Hover state */
#n-specialpages,
#p-namespaces .vectorTabs li a:hover,
#p-navigation li a[href*="Special:SpecialPages"] {
#p-views .vectorTabs li a:hover,
   display: none !important;
#p-cactions .vectorTabs li a:hover,
#right-navigation .vectorTabs li a:hover {
   background: #7A2B52 !important;      /* lighter purple on hover */
  color: #FFD700 !important;
  background-image: none !important;
}
}


/* Search box to blend in */
.global-donate {
#simpleSearch,
   text-align: center;
#searchInput {
   margin-top: 40px;
   background: #7A2B52 !important;
   margin-bottom: 20px;
   border: 1px solid #4E012B !important;
   color: #fff !important;
}
}
#searchInput::placeholder { color: #f2d27a !important; }

Latest revision as of 00:49, 15 August 2025

/* CSS placed here will be applied to all skins */

/* Resize the site logo */
.mw-wiki-logo {
    background-size: contain !important;
    width: 160px !important; /* adjust width */
    height: 160px !important; /* adjust height */
}

/* Center it nicely */
.mw-wiki-logo {
    background-position: center !important;
    background-repeat: no-repeat !important;
}


/* === Sandy Ivory + Jewel Tones === */

/* Page background */
body {
  background-color: #f6f1e1 !important; /* sandy ivory */
  color: #2b2b2b;
}

/* Content area */
#content, .mw-body {
  background-color: #FAF9F6 !important; /*  #fff8f0lighter ivory for readability, changing to white.  */
  color: #2b2b2b;
  border: 1px solid #e2d6c5;
}

/* Sidebar */
#mw-panel {
  background-color: #f6f1e1 !important;
}
#mw-panel .portal h3 {
  color: #8b0000 !important; /* ruby heading */
}
#mw-panel .vector-menu-content-list li a {
  color: #0F52BA !important; /* sapphire blue links */
}
#mw-panel .vector-menu-content-list li a:hover {
  color: #004f4f !important;
}

/* Top bar */
#mw-head, #mw-head-base, #left-navigation, #right-navigation {
  background-color: #f6f1e1 !important;
  border-bottom: 3px solid #00796b; /* changing to green      */
}

/* Tabs */
.vectorTabs li a {
  background-color: transparent !important;
  color: #005f73 !important; /* sapphire */
  border: none !important;
}
.vectorTabs li.selected a {
  color: #9c2c2c !important; /* ruby red for active tab */
  font-weight: bold;
}
.vectorTabs li a:hover {
  color: #00796b !important; /* emerald hover */
}

/* Headings */
h1, h2, h3, h4 {
  color: #542b98; /* Prple*/
}

/* Links */
a {
  color: #005f73; /* sapphire */
}
a:visited {
  color: #7b3f00; /* bronze tone */
}
a:hover {
  color: #00796b; /* emerald */
}

/* Footer */
#footer {
  background-color: #f6f1e1 !important;
  border-top: 2px solid #00796b;
}


/* Top banner placement */
#mw-head {
    background: url("https://sephardicdiaspora.wiki/images/e/e0/Sephardic_Diaspora_Wiki_Top_Banner.png") no-repeat center top;
    background-color: #F5F0E0;     /* Sandy ivory background for blend */
    background-size: contain;
    height: 100px;                 /* Adjust this to match your banner's height */
}

/* Push content down so it doesn’t overlap with banner */
#content {
    margin-top: 100px;             /* Same value as banner height */
}


/* Hide action tabs for anonymous users */
body.ns-0 #ca-talk, 
body.ns-0 #ca-history, 
body.ns-0 #ca-viewsource {
    display: none !important;
}

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

    #ca-view {
        display: none;
    }

#ca-nstab-main { display: none !important; }



/* Footer banner */
#footer {
  background: url("https://sephardicdiaspora.wiki/images/b/b4/Sephardic_wiki_banner.png") no-repeat center center;
  background-size: contain;   /* or 'cover' if you want edge-to-edge */
  height: 120px;              /* match your banner height */
  padding-top: 10px;
  padding-bottom: 10px;
}
/* keep footer links below the image */
#footer #footer-info, 
#footer #footer-places { 
  position: relative; 
  z-index: 2; 
}

input#searchInput {
    color: #542b98; /* Your preferred text color */
}

/* Change search box placeholder text color */
input#searchInput::placeholder {
    color: #542b98; /* Change this to your preferred color */
}


/* Center all page titles */
#firstHeading {
    text-align: center;
}


/* Center all headings and subtitles */
h1, h2, h3, h4, h5, h6 {
    text-align: center;
}


#bmc-button-wrapper {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Hide Special Pages link in the sidebar */
#s-specialpages {
  display: none !important;
}

#t-whatlinkshere { display: none !important; }
#t-recentchangeslinked { display: none !important; }
/* Hide Permanent link and Page information from the Tools menu */
#t-permalink,
#t-info {
  display: none !important;
}

#n-specialpages,
#p-navigation li a[href*="Special:SpecialPages"] {
  display: none !important;
}

.global-donate {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}