MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
layout/expansions |
compact-search |
||
| Line 78: | Line 78: | ||
margin: 0 0 0 0.55em !important; | margin: 0 0 0 0.55em !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
} | |||
#p-search h3, | |||
.vector-search-box h3 { | |||
display: none !important; | |||
} | } | ||
#p-search #simpleSearch, | #p-search #simpleSearch, | ||
#p-search form, | #p-search form, | ||
#simpleSearch { | #simpleSearch, | ||
.vector-search-box-input { | |||
margin: 0 !important; | margin: 0 !important; | ||
height: 1.7em !important; | height: 1.7em !important; | ||
} | } | ||
#simpleSearch input { | #simpleSearch input, | ||
#searchInput, | |||
.vector-search-box-input { | |||
height: 1.55em !important; | height: 1.55em !important; | ||
font-size: 0.9em !important; | font-size: 0.9em !important; | ||
width: 12em !important; | |||
} | |||
.vector-search-box-show-thumbnail .vector-search-box-input { | |||
padding-left: 0.4em !important; | |||
} | } | ||
Revision as of 23:26, 20 September 2026
/* Compact Vector 2010: logo in top bar, search after Discussion, no wasted gap. */
body.mediawiki {
background: #f6f6f6 !important;
font-size: 0.92em;
}
body.mediawiki .swccg-header,
body.mediawiki .swccg-footer,
body.mediawiki #siteNotice,
#mw-indicator-mw-helplink {
display: none !important;
}
#footer-icons,
#footer-poweredbyico,
li#footer-poweredbyico,
.mw-wiki-poweredbyico {
display: none !important;
}
/* Collapse the 5em Vector header stack into one 44px bar */
#mw-page-base {
height: 44px !important;
background: #ffffff !important;
border-bottom: 1px solid #a7d7f9;
margin: 0 !important;
}
#mw-head-base {
height: 0 !important;
margin: 0 !important;
margin-left: 10em !important;
background: transparent !important;
}
#mw-head {
height: 44px;
}
/* Logo sits in the top-left of the top bar (JS also moves #p-logo into #mw-head) */
#p-logo,
#mw-head #p-logo,
#mw-panel #p-logo {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 11.5em !important;
height: 44px !important;
margin: 0 !important;
z-index: 40;
}
#p-logo a.mw-wiki-logo {
background-image: url(/resources/assets/swccg-wiki-logo.png?v=6) !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: left center !important;
width: 11.5em !important;
height: 42px !important;
margin: 1px 0 0 6px !important;
}
#left-navigation {
margin-left: 11.5em !important;
margin-top: 8px !important;
float: left;
}
#right-navigation {
margin-top: 8px !important;
}
#p-personal {
top: 2px !important;
font-size: 0.85em;
}
/* Search lives immediately after Discussion (JS moves #p-search) */
#left-navigation #p-search,
#p-namespaces + #p-search {
float: left !important;
margin: 0 0 0 0.55em !important;
padding: 0 !important;
}
#p-search h3,
.vector-search-box h3 {
display: none !important;
}
#p-search #simpleSearch,
#p-search form,
#simpleSearch,
.vector-search-box-input {
margin: 0 !important;
height: 1.7em !important;
}
#simpleSearch input,
#searchInput,
.vector-search-box-input {
height: 1.55em !important;
font-size: 0.9em !important;
width: 12em !important;
}
.vector-search-box-show-thumbnail .vector-search-box-input {
padding-left: 0.4em !important;
}
.vector-menu-tabs,
.vector-menu-tabs-legacy {
background: transparent !important;
padding-top: 0 !important;
height: auto !important;
background-image: none !important;
}
.vector-menu-tabs ul {
height: auto !important;
background-image: none !important;
}
.vector-menu-tabs li {
height: auto !important;
margin: 0 1px 0 0 !important;
padding: 0 !important;
background: #f3f3f3 !important;
background-image: none !important;
font-size: 0.8em !important;
line-height: 1.15 !important;
}
.vector-menu-tabs li.selected {
background: #ffffff !important;
}
.vector-menu-tabs li a,
.vector-menu-tabs li a span {
padding: 0.18em 0.55em !important;
line-height: 1.15 !important;
background-image: none !important;
}
#p-namespaces .vector-menu-heading,
#p-views .vector-menu-heading,
#p-search .vector-menu-heading {
display: none;
}
/* Sidebar starts under the 44px bar — Main Page / Recent changes / Random sit up top */
#mw-panel,
.vector-legacy-sidebar {
background: #ffffff !important;
top: 44px !important;
padding-top: 0.35em;
}
#mw-panel #p-logo {
/* when JS has not yet moved it, still pin to the top bar */
top: -44px !important;
}
#mw-panel .vector-menu-heading,
#mw-panel .vector-menu-heading-label {
color: #54595d;
font-size: 0.8em;
}
#mw-panel a {
color: #0645ad;
}
#content {
margin-top: 0 !important;
padding-top: 0.45em;
background: #fff;
border: 1px solid #a7d7f9;
border-top: none;
padding-left: 1em;
padding-right: 1em;
padding-bottom: 1.2em;
}
#firstHeading {
margin-top: 0.1em;
margin-bottom: 0.2em;
font-size: 1.55em;
border-bottom: 1px solid #a2a9b1;
padding-bottom: 0.08em;
}
#siteSub,
#contentSub,
#contentSub2 {
display: none;
}
.page-Main_Page #toc,
.page-Main_Page .toc,
.page-Main_Page .flaggedrevs_short,
.page-Main_Page #mw-fr-revision-details,
.page-Main_Page .mw-fr-revision-details,
.page-Main_Page .mw-fr-reviewNotice {
display: none !important;
}
.page-Main_Page .mw-parser-output .wikitable {
margin-left: auto;
margin-right: auto;
}
.page-Main_Page .mw-parser-output .wikitable th,
.page-Main_Page .mw-parser-output .wikitable td {
vertical-align: top;
}
.set-tile {
display: inline-block;
width: 148px;
margin: 0.25em 0.4em 0.7em;
text-align: center;
vertical-align: top;
font-size: 0.8em;
line-height: 1.25;
}
.set-tile img {
width: 142px;
height: 92px;
object-fit: contain;
border: 1px solid #ccc;
background: #1a1a1a;
}
.set-tile .set-name {
display: block;
margin-top: 0.2em;
}
.set-tile .set-meta {
display: block;
color: #54595d;
font-size: 0.92em;
}
.expansion-infobox {
float: right;
clear: right;
width: 280px;
margin: 0 0 1em 1em;
}