Jump to content

MediaWiki:Common.css: Difference between revisions

From Sun Keeperverse Wiki
Fixing "blue color for non-existing pages" hitch to green color
revert to default link colors
Line 20: Line 20:


/* Links – warm blue for readability against parchment background */
/* Links – warm blue for readability against parchment background */
a, a:visited {
a,
a:visited {
   color: #003399;
   color: #003399;
}
}
Line 29: Line 30:


/* Boxes, infoboxes, table backgrounds */
/* Boxes, infoboxes, table backgrounds */
pre, code, .infobox, .toc, .navbox {
pre,
code,
.infobox,
.toc,
.navbox {
   background-color: #f3efdc;
   background-color: #f3efdc;
   border-color: #c6b480;
   border-color: #c6b480;
Line 85: Line 90:
}
}


/* --- Keeperverse link color system --- */
/* --- Default MediaWiki redlink colors --- */
 
/* Existing pages (normal wiki blue) */
a:link,
a:visited {
  color: #003399;
}
 
/* Hovered links */
a:hover {
  color: #0000cc;
  text-decoration: underline;
}
 
/* Non-existent (redlink) pages – evergreen for "growth" */
a.new,
a.new,
a.new:visited {
a.new:visited {
   color: #006b2f !important;   /* deep evergreen */
   color: #ba0000 !important;
}
}
/* Hover for redlinks (slightly brighter green) */
a.new:hover {
a.new:hover {
   color: #009944 !important;   /* warm garden green */
   color: #ff0000 !important;
   text-decoration: underline;
   text-decoration: underline;
}
}

Revision as of 06:57, 30 October 2025

/* CSS placed here will be applied to all skins */
/* Keeperverse wiki typography – UESP-inspired */

body,
.mw-body,
#content {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #2b2414;
  background-color: #f8f5e9;
}

/* Headings slightly larger and darker for readability */
h1, h2, h3, h4, h5, h6 {
  font-family: Verdana, Geneva, sans-serif;
  font-weight: bold;
  color: #1f190b;
}

/* Links – warm blue for readability against parchment background */
a,
a:visited {
  color: #003399;
}
a:hover {
  color: #0000cc;
  text-decoration: underline;
}

/* Boxes, infoboxes, table backgrounds */
pre,
code,
.infobox,
.toc,
.navbox {
  background-color: #f3efdc;
  border-color: #c6b480;
}

/* Center content, comfortable reading width */
.mw-body-content {
  max-width: 1080px;
  margin: 0 auto;
}

/* Ensure templates inherit */
.worldbox {
  font-family: inherit;
}

/* --- Keeperverse box styling: square book-like edges --- */

/* Remove rounding sitewide */
.infobox,
.toc,
.navbox,
.worldbox,
.mw-body-content table,
.mw-ui-input,
.mw-ui-button,
.mw-ui-widget,
pre,
code {
  border-radius: 0 !important;
  box-shadow: none !important;
  border-color: #c6b480;
}

/* Lightly emphasize borders like parchment frames */
.infobox,
.toc,
.navbox,
.worldbox {
  border-width: 1px;
  border-style: solid;
  background-color: #f8f5e9;
}

/* Citizen layout cards or Vector sections */
.mw-body,
#content {
  background: #f8f5e9;
  border: none;
}

/* Optional: link underline offset for a more print-like feel */
a {
  text-underline-offset: 2px;
}

/* --- Default MediaWiki redlink colors --- */
a.new,
a.new:visited {
  color: #ba0000 !important;
}
a.new:hover {
  color: #ff0000 !important;
  text-decoration: underline;
}