MediaWiki:Common.css

From koreapedia
Revision as of 16:01, 15 October 2025 by Wikiuser (talk | contribs)

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.
.skin-chameleon .chameleon-logo img {
    max-width: 30px;   /* desired width */
    max-height: 30px;   /* desired height */
    height: auto;
    width: auto;
}

/* ==============================
   Global Infobox Styling
   ============================== */
/* .infobox {
  border: 1px solid #a2a9b1;
  background: #f9f9f9;
  float: right;
  clear: right;
  margin: 0 0 1em 1em;
  width: 280px;
  border-collapse: collapse;
  font-size: 95%;
}

.infobox th,
.infobox td {
  border: 1px solid #eaecf0;
  padding: 0.4em;
  vertical-align: top;
}

.infobox-title {
  text-align: center;
  padding: 0.6em;
  background: #eceff1;
  font-weight: 600;
  font-size: 110%;
}

.infobox-image {
  text-align: center;
  padding: 0.4em;
}

.infobox-caption {
  text-align: center;
  font-size: 90%;
  color: #54595d;
  padding: 0.3em;
}

.infobox-label {
  text-align: left;
  width: 35%;
  background: #f2f3f4;
  font-weight: 600;
}

.infobox-data {
  padding: 0.4em;
}
*/

.infobox { border:1px solid #a2a9b1; background:#f9f9f9; float:right; clear:right; margin:0 0 1em 1em; width:280px; border-collapse:collapse; font-size:95%; }
.infobox th, .infobox td { border:1px solid #eaecf0; padding:0.4em; vertical-align:top; }
.infobox-title { text-align:center; padding:0.6em; background:#eceff1; font-weight:600; font-size:110%; }
.infobox-image { text-align:center; padding:0.4em; }
.infobox-caption { text-align:center; font-size:90%; color:#54595d; padding:0.3em; }
.infobox-label { text-align:left; width:35%; background:#f2f3f4; font-weight:600; }
.infobox-data { padding:0.4em; }


/* Google Translate */
/* Make the Google menu a single column by clipping the right "quick link" column */
iframe#goog-te-menu-frame {
  width: 480px !important;        /* adjust as desired (450–520px works well) */
  box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
  border-radius: 8px !important;
  overflow: hidden !important;     /* clip overflow (hides the right column) */
}

/* Minor polish on the trigger button */
#google_translate_element .goog-te-gadget-simple {
  border: 1px solid #d0d7de !important;
  border-radius: 6px !important;
  padding: 2px 8px !important;
  background: #fff !important;
}
#google_translate_element .goog-te-gadget-simple a {
  text-decoration: none !important;
  color: #1f2328 !important;
}