MediaWiki:Common.css: Difference between revisions

From The Reed and Rite
mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Manual revert
Line 8: Line 8:
     --background-color-base: white;
     --background-color-base: white;
}
}
.infobox {
  width: 300px;
  background: #f8f9fa;
  border: 1px solid #aaa;
  padding: 0.5em;
  float: right;
  margin: -1.5em 0 1.5em 1em;
  vertical-align: top;
  display: inline-block;
  clear: right;
  position: relative;
  top: 1.5em;
}
.infobox table {
  width: 100%;
  border-spacing: 0;
  margin: 0;
  background-color: #f8f9fa;
}
.infobox th {
  text-align: center;
  font-size: 120%;
  font-weight: bold;
  padding: 0;
  background-color: #f8f9fa;
}
.infobox .image {
  text-align: center;
  padding: 0;
  background-color: #f8f9fa;
}
.infobox .caption {
  text-align: center;
  font-size: 80%;
  font-style: italic;
  color: #000;
  padding: 0.1em 0;
  background-color: #f8f9fa;
}
.infobox .label {
  font-weight: bold;
  padding: 0.1em;
  vertical-align: top;
  width: 35%;
}
.infobox .data {
  padding: 0.1em;
}


/* CITATIONS CUSTOMIZATIONS */
/* CITATIONS CUSTOMIZATIONS */

Revision as of 01:34, 6 April 2025

/* JUSTIFY ALL TEXT IN CONTENT AREA */
#mw-content-text {
    text-align: justify;
}

/* SET BACKGROUND COLOR TO WHITE */
:root {
    --background-color-base: white;
}

/* CITATIONS CUSTOMIZATIONS */
/* Remove brackets around superscript citation numbers */
.reference .cite-bracket { font-size: 0; }

/* TARGET THE CARET (^) IN SINGLE CITATION BACKLINKS AND MAKE IT BOLD */
.mw-cite-backlink > a {
    font-weight: bold;   /* Make caret bold */
    font-style: normal;  /* Ensure caret is not italicized */
}

/* TARGET THE LOWERCASE LETTERS (a, b, c, ...) IN MANY CITATION BACKLINKS */
.mw-cite-backlink > sup > a {
    font-weight: bold;    /* Make letters bold */
    font-style: italic;   /* Make letters italic */
}

/* NOTICES DEFAULT APPEARANCE */
div.notice {
 text-align: center;
 margin: auto;
 width: 65%;
 padding: 0.5em;
}

div.notice.quality {
 font-style: italic;
}

img.notice {
 width: 1em;
}

/* curved */
.curved {
  border-radius: 10px;
}

.dismiss-button {
  font-size: 1.5em; /* Adjust the size as needed */
  color: #000000; /* Initial color */
}

.dismiss-button:hover {
  color: #666666; /* Color on hover */
}

/* NAVIGATION */
.navigation {
  display: block;
  margin: 1em 40px;
  font-style: italic;
}

/* Center the body of the dismissable notice */
.vector-sitenotice-container .mw-dismissable-notice-body {
    margin-left: auto;
    margin-right: auto;
}

/* Ensure the dismissable notice has relative positioning for the button */
.vector-sitenotice-container .mw-dismissable-notice {
	position: relative;
}