MediaWiki:Common.css: Difference between revisions

From The Reed and Rite
mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 50: Line 50:
}
}
/* notices */
/* notices */
/* Style for the notice */
.notice {
.notice {
     position: relative;
     position: relative;
     padding: 0.5em 2em 0.5em 0.5em; /* Extra right padding for the close button */
     padding: 0.5em 2em 0.5em 0.5em;
     margin: 0 auto;
     margin: 1em auto;
    border: 1px solid black;
    background-color: #fffbdd;
    font-size: 1.2em;
    line-height: 1.4;
    text-align: center;
     width: 50%;
     width: 50%;
     text-align: center;
     max-width: 90%;
    font-size: 1em;
}
}


/* Close button */
.notice-close {
.notice-close {
     position: absolute;
     position: absolute;
Line 67: Line 73:
     font-size: 1.2em;
     font-size: 1.2em;
     line-height: 1;
     line-height: 1;
    color: black;
    background-color: transparent;
    border: none;
}
}


.notice-close:hover {
/* Main text styling for bolded section (optional) */
    color: #000;
}
 
/* Remove potential margin/padding from the text div */
.notice-main-text {
.notice-main-text {
     margin: 0;
     font-weight: bold;
    padding: 0;
}
}

Revision as of 02:48, 21 March 2025

/* Justify all text in content area */
#mw-content-text {
    text-align: justify;
}

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

/* navigation */
.navigation {
  display: block;
  margin: 1em 40px;
  font-style: italic;
}
/* notices */
/* Style for the notice */
.notice {
    position: relative;
    padding: 0.5em 2em 0.5em 0.5em;
    margin: 1em auto;
    border: 1px solid black;
    background-color: #fffbdd;
    font-size: 1.2em;
    line-height: 1.4;
    text-align: center;
    width: 50%;
    max-width: 90%;
}

/* Close button */
.notice-close {
    position: absolute;
    top: 0.2em;
    right: 0.5em;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
    color: black;
    background-color: transparent;
    border: none;
}

/* Main text styling for bolded section (optional) */
.notice-main-text {
    font-weight: bold;
}