MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
Tag: Manual revert
 
(131 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* JUSTIFY ALL TEXT IN CONTENT AREA */
/* JUSTIFY ALL TEXT IN CONTENT AREA */
#mw-content-text {
.ns-0 #mw-content-text,
.ns-10 #mw-content-text,
.ns-12 #mw-content-text,
.ns-100 #mw-content-text {
     text-align: justify;
     text-align: justify;
}
}
Line 9: Line 12:
}
}


/* Make the Live Preview loader non-intrusive */
h1, h2, h3, h4, h5 {
#wpPreview {
  text-align: left !important;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden; /* Keep it hidden until active */
}
}


/* Force space for loader to avoid shifting */
/* SET LEVEL 3 HEADING STYLE */
#wpPreview:not([style*="visibility: hidden"]) {
h3 {
    visibility: visible;
  font-family: Georgia, serif !important;
    display: block;
  font-weight: normal !important;
    width: 50px;
  font-size: 1.25em !important;
    height: 50px; /* Set the height and width to avoid layout shifts */
  border-bottom: 1px solid #a2a9b1 !important;
    border: 2px solid transparent; /* Make sure it has a reserved space */
    animation: pulse 1s infinite;
}
}
/* Optional: Add pulsing animation */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}


/* INFOBOX STYLING */
/* INFOBOX STYLING */
.infobox {
.infobox {
  width: 300px;
   background: #f8f9fa;
   background: #f8f9fa;
   border: 1px solid #aaa;
   border: 1px solid #aaa;
   padding: 0.5em; /* Keep other padding for now */
   padding: 0.5em; /* Keep other padding for now */
  margin: -1.5em 0 1.5em 1em;
   vertical-align: top;
   vertical-align: top;
}
.infobox-float {
  width: 300px;
  float: right;
  clear: right;
   display: inline-block;
   display: inline-block;
  clear: right;
   position: relative;
   position: relative;
   top: 1.5em;
   top: 1.5em;
  margin: -1.5em 0 1.5em 1em;
}
}


Line 94: Line 86:
}
}


.infobox-data-row th { /* For the header cell */
.infobox-data-row th {
  font-weight: bold;
   padding: 0.1em;
   padding: 0.1em;
   vertical-align: top;
   vertical-align: top;
   width: 30%;
   width: 30%;
   text-align: left; /* Align header text to the left */
   text-align: left;
}
}


Line 109: Line 100:


/* CITATIONS CUSTOMIZATIONS */
/* CITATIONS 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 */
Line 122: Line 113:
     font-weight: bold;    /* Make letters bold */
     font-weight: bold;    /* Make letters bold */
     font-style: italic;  /* Make letters italic */
     font-style: italic;  /* Make letters italic */
}
/* HIDE ORIGINAL REVISION NOTICE WHEN USING THE TIME MACHINE */
#mw-content-subtitle > .mw-revision {
  display: none !important;
}
}


Line 181: Line 177:
.editorial-notation-tooltip-box {
.editorial-notation-tooltip-box {
   position: absolute;
   position: absolute;
   background-color: #f9f9f9;
  max-width: 500px;
   background-color: #e7f1fd;
   border: 1px solid #ccc;
   border: 1px solid #ccc;
   padding: 5px;
   padding: 5px;
Line 189: Line 186:
   display: none;
   display: none;
   font-size: 0.9em;
   font-size: 0.9em;
}
.editorial-notation-tooltip span {
  cursor: help;
  text-decoration: none;
}
.editorial-notation-tooltip span:hover {
  text-decoration: underline;
}
}


Line 195: Line 201:
.calendar th {
.calendar th {
   vertical-align: top;
   vertical-align: top;
}
/*  TEMPLATE:ART INFOBOX STYLING */
.art-infobox {
  display: inline-block;
  max-width: 50%;
  background: #f8f9fa;
  border: 1px solid #aaa;
  padding: 0.7em;
  vertical-align: top;
  box-sizing: border-box;
  float: none;
  clear: none;
  position: static;
  top: auto;
}
.art-infobox-table {
  width: 100%;
  border-spacing: 0;
  margin: 0;
  background-color: #f8f9fa;
}
.art-infobox th {
  vertical-align: top;
  padding-right: 0.5em;
}
/* ENSURE IMAGES FIT MOBILE SCREENS  */
.thumbinner { max-width: 80vw; }
.thumbimage { max-width: 80vw; height: auto; }
/* PREVENT LOADING INDICATOR FROM BOUNCING THE WHOLE PAGE */
.mw-indicators.mw-preview-loading-elements {
    display: none !important;
}
#editlock {
  background-color: #e7f1fd;
}
/* Hide Privacy Policy link in Vector 2022 footer */
#footer-places-privacy {
    display: none !important; /* Use !important just in case of specificity issues */
}
/* Hide Disclaimers link in Vector 2022 footer */
#footer-places-disclaimers {
    display: none !important; /* Use !important just in case of specificity issues */
}
/* ConfirmEdit QuestyCaptcha -- on Create Account */
.mw-htmlform-field-HTMLInfoField .cdx-field__control {
    color:green;
    font-weight:bold;
    font-size:105%;
    font-style:italic;
}
}