MediaWiki:Common.css: Difference between revisions
From koreapedia
No edit summary |
No edit summary |
||
| Line 68: | Line 68: | ||
/* Google Translate | /* Crop Google Translate menu to a single column */ | ||
iframe#goog-te-menu-frame { | iframe#goog-te-menu-frame { | ||
width: | width: 500px !important; | ||
max-width: 500px !important; | |||
border: 0 !important; | |||
box-shadow: 0 8px 24px rgba(0,0,0,.18) !important; | box-shadow: 0 8px 24px rgba(0,0,0,.18) !important; | ||
border-radius: 8px !important; | border-radius: 8px !important; | ||
-webkit-clip-path: inset(0 140px 0 0) !important; | |||
clip-path: inset(0 140px 0 0) !important; | |||
} | } | ||
/* | /* Optional: nicer button look */ | ||
#google_translate_element .goog-te-gadget-simple { | #google_translate_element .goog-te-gadget-simple { | ||
border: 1px solid #d0d7de !important; | border: 1px solid #d0d7de !important; | ||
Revision as of 16:24, 15 October 2025
.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; }
/* Crop Google Translate menu to a single column */
iframe#goog-te-menu-frame {
width: 500px !important;
max-width: 500px !important;
border: 0 !important;
box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
border-radius: 8px !important;
-webkit-clip-path: inset(0 140px 0 0) !important;
clip-path: inset(0 140px 0 0) !important;
}
/* Optional: nicer button look */
#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;
}
