MediaWiki:Common.css: Difference between revisions

From Hidden Mickey Wiki

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 18: Line 18:
     display: none !important;
     display: none !important;
}
}
 
/* Adjust the page content position properly */
:root{
  /* tweak these */
  --content-shift-x: -8px;  /* negative = move left, positive = move right */
  --content-shift-y: -6px;  /* negative = move up, positive = move down */
  --content-inner-padding: 0.25em; /* space between text and edge */
}
 
/* Target the common content wrappers used by MediaWiki skins */
#content,
#content,
#bodyContent,
#mw-content-text,
.mw-body,
.mw-body,
.mw-body-content,
.mw-body-content {
.mw-parser-output {
   margin-top: -10px !important;  /* move content up */
   margin: 0 !important;
   margin-left: -15px !important; /* move content left */
   padding: 0 !important;
   padding-top: 0.5em !important; /* restore a little breathing room inside */
   max-width: none !important;       /* remove restrictive max-widths from some skins */
   padding-left: 0.5em !important;
   position: relative !important;   /* allow left/top/transform adjustments */
   transform: translate(var(--content-shift-x), var(--content-shift-y)) !important;
}
}


/* Keep the parser output from touching the very edge */
#mw-content-text .mw-parser-output {
  padding: var(--content-inner-padding) !important;
  margin: 0 !important;
}
}

Revision as of 10:31, 23 September 2025

/* CSS placed here will be applied to all skins */
/* Quote boxes */
blockquote { background-color: #e9ecef;padding: 5px;border-radius: 3px;font-style: italic;max-width: 860pt;word-wrap: break-word; }
blockquote cite { display: block;margin-top: 5px;font-size: 0.9em;color: #555;text-align: left; }

/* Disneyland fonts for the title bar; use larger font for desktop computers */
@font-face { font-family: 'Waltograph';src: url('/images/f/fb/Waltograph42.otf') format('opentype'); }
#p-logo a { font-family: 'Waltograph', sans-serif;font-size: 28px; }
@media (min-width: 768px) { #p-logo a { font-family: 'Waltograph', sans-serif;font-size: 42px; } }

/* Disable Discussion pages */
#ca-talk, .mw-indicator-talkpages { display: none !important; }

/* Hide DIVs whose class attribute is exactly "d-flex flex-row" or "flex-row d-flex"
   This causes the "Page / Action / Tools" dropdowns to disappear */
div[class="d-flex flex-row"],
div[class="flex-row d-flex"] {
    display: none !important;
}
/* Adjust the page content position properly */
#content,
.mw-body,
.mw-body-content {
  margin-top: -10px !important;   /* move content up */
  margin-left: -15px !important;  /* move content left */
  padding-top: 0.5em !important;  /* restore a little breathing room inside */
  padding-left: 0.5em !important;
}

}