MediaWiki:Common.css: Difference between revisions

From Bitcraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* Remove the default white/grey gradient at the very top */
/* ===== Layout background ===== */
 
/* Remove default grey/white stripes */
#mw-page-base,
#mw-page-base,
#mw-head-base {
#mw-head-base {
     background: transparent !important;
     background: #0B1220 !important;
}
 
/* Body + sidebar background */
body {
    background: #0B1220;
}
}


/* Put your hero image behind the tabs at the top */
#mw-panel {
    background-color: #0B1220;
}
 
/* Content area stays light for readability */
#content {
    background: #ffffff;
    color: #000000;
}
 
/* ===== Header hero image ===== */
 
#mw-head {
#mw-head {
     background-image: url("/images/background.png");
     background-image: url("/images/background.png");
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-position: center bottom; /* tweak if needed */
     background-position: center bottom;
     background-size: cover;
     background-size: cover;
    min-height: 160px;
}
}


/* Sidebar background */
/* Make the tab strip itself transparent so the image shows through */
.vector-sidebar-container {
#left-navigation,
     background: #0B1220;
#right-navigation {
    background: transparent;
}
 
/* ===== Top navigation text colours ===== */
 
#p-personal a,
#right-navigation .vector-menu-tabs a,
#left-navigation .vector-menu-tabs a {
     color: #ffffff !important;
}
}


/* Page background */
#p-personal a:hover,
body {
#right-navigation .vector-menu-tabs a:hover,
     background: #0B1220;
#left-navigation .vector-menu-tabs a:hover {
     color: #5EB6FF !important;
}
}


/* Links */
/* ===== Global links (inside articles, sidebar, etc.) ===== */
a {
 
#bodyContent a,
#mw-panel a {
     color: #3399FF;
     color: #3399FF;
}
}
a:hover {
 
#bodyContent a:hover,
#mw-panel a:hover {
     color: #5EB6FF;
     color: #5EB6FF;
}
/* ===== Footer colours ===== */
#footer,
#footer * {
    color: #d0d7ff !important;
    background-color: #020819;
}
}

Revision as of 14:29, 27 December 2025

/* ===== Layout background ===== */

/* Remove default grey/white stripes */
#mw-page-base,
#mw-head-base {
    background: #0B1220 !important;
}

/* Body + sidebar background */
body {
    background: #0B1220;
}

#mw-panel {
    background-color: #0B1220;
}

/* Content area stays light for readability */
#content {
    background: #ffffff;
    color: #000000;
}

/* ===== Header hero image ===== */

#mw-head {
    background-image: url("/images/background.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    min-height: 160px;
}

/* Make the tab strip itself transparent so the image shows through */
#left-navigation,
#right-navigation {
    background: transparent;
}

/* ===== Top navigation text colours ===== */

#p-personal a,
#right-navigation .vector-menu-tabs a,
#left-navigation .vector-menu-tabs a {
    color: #ffffff !important;
}

#p-personal a:hover,
#right-navigation .vector-menu-tabs a:hover,
#left-navigation .vector-menu-tabs a:hover {
    color: #5EB6FF !important;
}

/* ===== Global links (inside articles, sidebar, etc.) ===== */

#bodyContent a,
#mw-panel a {
    color: #3399FF;
}

#bodyContent a:hover,
#mw-panel a:hover {
    color: #5EB6FF;
}

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

#footer,
#footer * {
    color: #d0d7ff !important;
    background-color: #020819;
}