Jump to content

MediaWiki:Common.css

From SuperMega Media Wiki
Revision as of 13:22, December 4, 2024 by Szczypak64 (talk | contribs) (Created page with "General fixes for extensions, vanity code for names, and related. Portions are brought in from old QP. Edit with caution. Do not put skin-specific styling in this. --Raidarr: Comment tweak to properly split sorting tools from the comments: .c-order {margin-bottom: 1.5em;} #comments-body span {margin-bottom:-0.5em;margin-right:0.5em;} Sitenotice code: .sitenotice {border:1px solid #ccc;width:80%;min-width:320px;margin:auto;text-align:center;background:#eee...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* General fixes for extensions, vanity code for names, and related. Portions are brought in from old QP. Edit with caution. Do not put skin-specific styling in this. --Raidarr */

/*Comment tweak to properly split sorting tools from the comments */
.c-order {margin-bottom: 1.5em;}
#comments-body span {margin-bottom:-0.5em;margin-right:0.5em;}

/* Sitenotice code */
.sitenotice {border:1px solid #ccc;width:80%;min-width:320px;margin:auto;text-align:center;background:#eee;font-size:14px;font-weight:bold;padding:5px;margin-bottom:5px;}

/* Old pre-raidarr tweaks */
.warningbox {border: 1px solid darkred;background: #ffcfcf;}
.poem-nomargin p {margin: 0;}
.spoiler {border: .1em dotted #808080;background: #fff;padding: .1em .2em;}
.spoilerhidden, .spoilerhidden a, spoilerhidden a:visited, .spoilerhidden .new, .spoilerhidden .external, .spoilerhidden .extiw {color: #fff !important;background-image: none;}

/* Main page CSS */
.galleryrow {
    align-items: center;
    display: flex;
    flex-direction: row;
}

.mpimage {
    flex: 0 0 12.5%;
    height: auto;
}


.mpimage img {
    height: auto;
    width: 100%;
}