MediaWiki:Common.css: Difference between revisions

From Bitcraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
body {
body {
     background-color: #050b16; /* deep navy */
     background-color: #050b16; /* deep navy */
    background-image: url("/images/background.png");
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-position: left top;
     background-position: left top;
Line 11: Line 10:
}
}


/* Remove the default Vector gradient blocks so the body background shows */
 
#mw-page-base,
#mw-page-base {
#mw-head-base,
    background: #050b16 url("/images/background.png") no-repeat left top;
.vector-header,
    background-size: 900px auto;  /* tweak this number to fit your art */
.vector-header-container,
}
.vector-sticky-header {
 
     background: transparent !important;
#mw-head-base {
    box-shadow: none;
     background: none !important;
    border: 0;
}
}



Revision as of 14:50, 27 December 2025

/* ===== Bitcraft global layout & background ===== */

/* Dark outer background + hero image */
html,
body {
    background-color: #050b16; /* deep navy */
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 1100px auto; /* tweak this to fit your art */
}


#mw-page-base {
    background: #050b16 url("/images/background.png") no-repeat left top;
    background-size: 900px auto;   /* tweak this number to fit your art */
}

#mw-head-base {
    background: none !important;
}

/* Article box (keep this light like Brighter Shores) */
.mw-body {
    background-color: #ffffff;
    color: #111827; /* dark text */
    border-color: transparent;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
    margin-top: 0;
}

/* Headings inside articles */
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6 {
    color: #111827;
    border-color: #e5e7eb;
}

/* ===== Sidebar (left menu) ===== */

#mw-panel {
    background: rgba(3, 7, 18, 0.96); /* almost black, lets art peek around it */
    color: #e5e7eb;
}

#mw-panel .vector-menu-heading {
    color: #e5e7eb !important;
    font-weight: 600;
}

#mw-panel .vector-menu-content a,
#mw-panel .vector-menu-content a:visited {
    color: #bfdbfe !important;   /* light blue links */
}

#mw-panel .vector-menu-content a:hover {
    color: #e0f2fe !important;
}

/* ===== Top tab bar (Read / Edit / View history / More) ===== */

.vector-menu-tabs .vector-menu-content-list > li > a,
.vector-menu-tabs .vector-menu-content-list > li > a:visited {
    color: #e5e7eb;
    background: transparent;
    border-color: transparent;
}

.vector-menu-tabs .vector-menu-content-list > li.selected > a {
    background-color: rgba(15, 23, 42, 0.85); /* subtle pill for active tab */
    border-color: #1d4ed8 #1d4ed8 transparent;
    color: #ffffff;
}

.vector-menu-tabs .vector-menu-content-list > li > a:hover {
    color: #bfdbfe;
}

/* Personal links (Stewie, Talk, Preferences, etc.) */
#p-personal a,
#p-personal a:visited {
    color: #e5e7eb;
}

#p-personal a:hover {
    color: #bfdbfe;
}

/* ===== Search box ===== */

.vector-search-box input,
.vector-search-box .cdx-text-input__input {
    background-color: #020617;
    color: #e5e7eb;
    border-color: #1e293b;
}

.vector-search-box input::placeholder,
.vector-search-box .cdx-text-input__input::placeholder {
    color: #64748b;
}

/* ===== Page links (inside articles) ===== */

.mw-body a {
    color: #38bdf8;
}

.mw-body a:visited,
.mw-body a:active {
    color: #0ea5e9;
}

.mw-body a.new {
    color: #f97373 !important; /* redlinks */
}

/* ===== Footer ===== */

.mw-footer,
#footer {
    background: transparent;
    color: #e5e7eb;
}

.mw-footer a,
.mw-footer a:visited,
.mw-footer a:active {
    color: #93c5fd;
}

/* Optional: center content a bit more like Brighter Shores */
body .mw-body {
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
}