MediaWiki:Common.css: Difference between revisions

From Questlandia Wiki
Jump to navigation Jump to search
No edit summary
Undo revision 82 by Gridcaster (talk)
Tag: Undo
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ===== BACKGROUND & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Oldenburg:wght@400;700&display=swap');
body {
 
    background: url("/images/wiki_background.png") no-repeat center center fixed;
/* ─────────────────────────────────────────────────────────
    background-size: cover;
  Base & Background
    font-family: 'Lora', Georgia, serif;
───────────────────────────────────────────────────────── */
    color: #ddd;
html, body {
  margin: 0; padding: 0;
  font-family: 'Oldenburg', Georgia, serif;
  background: url('/images/wiki_background.png') center center fixed no-repeat;
  background-size: cover;
  color: #333;
}
}


/* ===== HEADER ===== */
/* ─────────────────────────────────────────────────────────
#mw-head, #mw-head-base {
  Header Bar Colors
    background-color: #4B0082;
───────────────────────────────────────────────────────── */
    border-bottom: 2px solid #C0392B;
#mw-head {
    color: white;
  border-bottom: 3px solid #F28C28 !important;
}
}


/* ===== SIDEBAR ===== */
#mw-list-item {
#mw-panel {
color: #202122;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
}


#mw-panel a {
#left-navigation {
    color: #4B0082 !important;
  background-color: #c4b7dc;
    font-weight: bold;
}
}


#mw-panel a:hover {
#mw-page-base {
     color: #C0392B !important;
     background-color: #c4b7dc;
}
}


/* ===== CONTENT AREA ===== */
#mw-head {
#content {
     background-color: #c4b7dc;
     background-color: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    color: #222;
}
}


/* ===== FOOTER ===== */
#mw-head-base {
#footer, #footer a, #footer li {
     background-color: #c4b7dc;
     color: #bbb !important;
    font-size: 0.85em;
}
}


#footer a:hover {
/* Style each portlet in the header (namespaces/tabs, search, personal) */
    color: #eee !important;
 
#p-namespaces .body,
#p-cactions .body,
#p-search .body,
#p-personal .body {
  background: rgba(255,255,255,0.9) !important;
  border-radius: 4px !important;
  padding: 0.2em 0.6em !important;
  margin: 0.5em !important;
}
}


/* ===== HEADINGS & LINKS ===== */
/* Link colors in those header boxes */
h1, h2, h3, h4 {
#p-namespaces a,
    color: #C0392B;
#p-cactions a {
    font-family: 'Lora', Georgia, serif;
  color: #229C88 !important;
}
#p-namespaces .selected a,
#p-cactions .selected a {
  background: #E0D6F9 !important;
  color: #4B0082 !important;
}
#p-search input,
#p-search button,
#p-personal a {
  color: #202122 !important;
}
}


a {
 
    color: #4B0082;
 
    text-decoration: none;
/* ─────────────────────────────────────────────────────────
  Sidebar & Content Skinning Only
───────────────────────────────────────────────────────── */
#mw-panel {
  background: #c4b7dc !important;
  border-radius: 8px !important;
}
}
 
#content {
a:hover {
  background: #c4b7dc !important;
    color: #E67E22;
  border-radius: 8px !important;
    text-decoration: underline;
}
}


/* ===== BOXES ===== */
.box {
.box {
    background-color: #ffffff;
  padding: 1em;         /* or 15px, 1.5em, whatever you like */
    border: 1px solid #aaa;
  background-clip: padding-box; /* keeps the background within the rounded corners */
    border-radius: 0px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 0 1px #ccc;
    color: #222;
}
}


.box .box-title {
 
    font-size: 1.2em;
/* ─────────────────────────────────────────────────────────
    font-weight: bold;
  Headings & Links
    margin-bottom: 10px;
───────────────────────────────────────────────────────── */
    color: #C0392B;
h1, h2, h3, h4 {
    border-bottom: 2px solid #E67E22;
  color: #C0392B !important;
    padding-bottom: 4px;
}
a {
  color: #202122 !important;
}
a:hover {
  color: #D645B1 !important;
}
}


/* ===== TABLES ===== */
 
table.wikitable {
.vector-search-box-input {
    background-color: transparent;
  background-color: #fff;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}
}


/* ─────────────────────────────────────────────────────────
  Tables
───────────────────────────────────────────────────────── */
table.wikitable caption {
table.wikitable caption {
    background-color: #4B0082;
  background: #4B0082 !important;
    color: white;
  color: #fff !important;
    font-weight: bold;
    padding: 8px;
    caption-side: top;
}
}
table.wikitable th {
table.wikitable th {
    background-color: #E0D6F9;
  background: #E0D6F9 !important;
    color: #222;
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 6px;
    text-align: center;
}
}


table.wikitable td {
/* ─────────────────────────────────────────────────────────
    background-color: transparent;
  Footer Bar
    border: 1px solid #ccc;
───────────────────────────────────────────────────────── */
    padding: 6px;
#footer {
    text-align: left;
  border-top: 2px solid #D645B1 !important;
  color: #eee !important;
  border-radius: 0 0 8px 8px !important;
}
}
 
#footer a {
/* ===== GRID BOXES (RPG Portal Style) ===== */
  color: #ddd !important;
.grid4, .grid2 {
    display: grid;
    gap: 1px;
    background-color: #ccc;
}
}
 
#footer a:hover {
.grid4 {
  color: #fff !important;
    grid-template-columns: repeat(4, 1fr);
}
 
.grid2 {
    grid-template-columns: repeat(2, 1fr);
}
}


.grid4 .box, .grid2 .box {
.mw-footer li {
    border-radius: 0;
color: white;
    box-shadow: none;
    border: 1px solid #aaa;
    background-color: rgba(255,255,255,0.95);
}
}

Latest revision as of 17:13, 19 April 2025

@import url('https://fonts.googleapis.com/css2?family=Oldenburg:wght@400;700&display=swap');

/* ─────────────────────────────────────────────────────────
   Base & Background
───────────────────────────────────────────────────────── */
html, body {
  margin: 0; padding: 0;
  font-family: 'Oldenburg', Georgia, serif;
  background: url('/images/wiki_background.png') center center fixed no-repeat;
  background-size: cover;
  color: #333;
}

/* ─────────────────────────────────────────────────────────
   Header Bar Colors
───────────────────────────────────────────────────────── */
#mw-head {
  border-bottom: 3px solid #F28C28 !important;
}

#mw-list-item {
	color: #202122;
}

#left-navigation {
  background-color: #c4b7dc;
}

#mw-page-base {
    background-color: #c4b7dc;
}

#mw-head {
    background-color: #c4b7dc;
}

#mw-head-base {
    background-color: #c4b7dc;
}

/* Style each portlet in the header (namespaces/tabs, search, personal) */

#p-namespaces .body,
#p-cactions .body,
#p-search .body,
#p-personal .body {
  background: rgba(255,255,255,0.9) !important;
  border-radius: 4px !important;
  padding: 0.2em 0.6em !important;
  margin: 0.5em !important;
}

/* Link colors in those header boxes */
#p-namespaces a,
#p-cactions a {
  color: #229C88 !important;
}
#p-namespaces .selected a,
#p-cactions .selected a {
  background: #E0D6F9 !important;
  color: #4B0082 !important;
}
#p-search input,
#p-search button,
#p-personal a {
  color: #202122 !important;
}



/* ─────────────────────────────────────────────────────────
   Sidebar & Content Skinning Only
───────────────────────────────────────────────────────── */
#mw-panel {
  background: #c4b7dc !important;
  border-radius: 8px !important;
}
#content {
  background: #c4b7dc !important;
  border-radius: 8px !important;
}

.box {
  padding: 1em;          /* or 15px, 1.5em, whatever you like */
  background-clip: padding-box; /* keeps the background within the rounded corners */
}


/* ─────────────────────────────────────────────────────────
   Headings & Links
───────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: #C0392B !important;
}
a {
  color: #202122 !important;
}
a:hover {
  color: #D645B1 !important;
}


.vector-search-box-input {
  background-color: #fff;	
}

/* ─────────────────────────────────────────────────────────
   Tables
───────────────────────────────────────────────────────── */
table.wikitable caption {
  background: #4B0082 !important;
  color: #fff !important;
}
table.wikitable th {
  background: #E0D6F9 !important;
}

/* ─────────────────────────────────────────────────────────
   Footer Bar
───────────────────────────────────────────────────────── */
#footer {
  border-top: 2px solid #D645B1 !important;
  color: #eee !important;
  border-radius: 0 0 8px 8px !important;
}
#footer a {
  color: #ddd !important;
}
#footer a:hover {
  color: #fff !important;
}

.mw-footer li {
	color: white;
}