MediaWiki:Common.css: Difference between revisions

From The Reed and Rite
mNo edit summary
mNo edit summary
Line 1: Line 1:
/* Justify all text in content area */
/* JUSTIFY ALL TEXT IN CONTENT AREA */
#mw-content-text {
#mw-content-text {
     text-align: justify;
     text-align: justify;
}
}


/* CHANGE DEFAULT BACKGROUND COLOR */
body {
body {
     background-color: white !important;
     background-color: white !important;
}
}


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


/* Target the caret (^) in single citation backlinks and make it bold */
/* TARGET THE CARET (^) IN SINGLE CITATION BACKLINKS AND MAKE IT BOLD */
.mw-cite-backlink > a {
.mw-cite-backlink > a {
     font-weight: bold;  /* Make caret bold */
     font-weight: bold;  /* Make caret bold */
Line 18: Line 19:
}
}


/* Target the lowercase letters (a, b, c, ...) in many citation backlinks */
/* TARGET THE LOWERCASE LETTERS (a, b, c, ...) IN MANY CITATION BACKLINKS */
.mw-cite-backlink > sup > a {
.mw-cite-backlink > sup > a {
     font-weight: bold;    /* Make letters bold */
     font-weight: bold;    /* Make letters bold */
Line 24: Line 25:
}
}


/* Notices Default Appearance */
/* NOTICES DEFAULT APPEARANCE */
div.notice {
div.notice {
  text-align: center;
  text-align: center;
Line 54: Line 55:
}
}


/* navigation */
/* NAVIGATION */
.navigation {
.navigation {
   display: block;
   display: block;

Revision as of 05:53, 23 March 2025

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

/* CHANGE DEFAULT BACKGROUND COLOR */
body {
    background-color: white !important;
}

/* CITE 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;
}