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
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oldenburg:wght@400;700&display=swap');


/* ─────────────────────────────────────────────────────────
/* ─────────────────────────────────────────────────────────
Line 6: Line 6:
html, body {
html, body {
   margin: 0; padding: 0;
   margin: 0; padding: 0;
   font-family: 'Cinzel', Georgia, serif;
   font-family: 'Oldenburg', Georgia, serif;
   background: url('/images/wiki_background.png') center center fixed no-repeat;
   background: url('/images/wiki_background.png') center center fixed no-repeat;
   background-size: cover;
   background-size: cover;
Line 16: Line 16:
───────────────────────────────────────────────────────── */
───────────────────────────────────────────────────────── */
#mw-head {
#mw-head {
  background: #4B0082 !important;
   border-bottom: 3px solid #F28C28 !important;
   border-bottom: 3px solid #F28C28 !important;
}
}


#mw-list-item {
#mw-list-item {
color:#333;
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) */
/* Style each portlet in the header (namespaces/tabs, search, personal) */
#p-namespaces .body,
#p-namespaces .body,
#p-cactions .body,
#p-cactions .body,
Line 48: Line 64:
#p-search button,
#p-search button,
#p-personal a {
#p-personal a {
   color: #ccc !important;
   color: #202122 !important;
}
}


/* ─────────────────────────────────────────────────────────
/* ─────────────────────────────────────────────────────────
Line 55: Line 73:
───────────────────────────────────────────────────────── */
───────────────────────────────────────────────────────── */
#mw-panel {
#mw-panel {
   background: rgba(255,255,255,0.95) !important;
   background: #c4b7dc !important;
   border-radius: 8px !important;
   border-radius: 8px !important;
}
}
#content {
#content {
   background: rgba(255,255,255,0.95) !important;
   background: #c4b7dc !important;
   border-radius: 8px !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 */
}


/* ─────────────────────────────────────────────────────────
/* ─────────────────────────────────────────────────────────
Line 70: Line 94:
}
}
a {
a {
   color: #229C88 !important;
   color: #202122 !important;
}
}
a:hover {
a:hover {
   color: #D645B1 !important;
   color: #D645B1 !important;
}
.vector-search-box-input {
  background-color: #fff;
}
}


Line 91: Line 120:
───────────────────────────────────────────────────────── */
───────────────────────────────────────────────────────── */
#footer {
#footer {
  background: #4B0082 !important;
   border-top: 2px solid #D645B1 !important;
   border-top: 2px solid #D645B1 !important;
   color: #eee !important;
   color: #eee !important;
Line 101: Line 129:
#footer a:hover {
#footer a:hover {
   color: #fff !important;
   color: #fff !important;
}
.mw-footer li {
color: white;
}
}

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;
}