MediaWiki:Vector.css

Revision as of 16:32, 12 October 2022 by Vincent Eisfeld (talk | contribs) (Created page with "→‎Don't display some stuff on the main page: .page-Main_Page #deleteconfirm, .page-Main_Page #t-cite, .page-Main_Page #footer-info-lastmod, .action-view.page-Main_Page #siteSub, .action-view.page-Main_Page #contentSub, .action-view.page-Main_Page .firstHeading { display: none !important; } →‎Position coordinates: #coordinates { position: absolute; top: 0; right: 0; float: right; margin: 0; padding: 0; line-height: 1.5em; text-align: right; text-indent: 0...")
(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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Don't display some stuff on the main page */
.page-Main_Page #deleteconfirm,
.page-Main_Page #t-cite,
.page-Main_Page #footer-info-lastmod,
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading {
	display: none !important;
}

/* Position coordinates */
#coordinates {
	position: absolute;
	top: 0;
	right: 0;
	float: right;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	text-align: right;
	text-indent: 0;
	font-size: 85%;
	text-transform: none;
	white-space: nowrap;
}
/* correct position for VE */
.ve-ce-surface-enabled #coordinates {
	margin-right: 2em;
	margin-top: -1em;
}
.mw-indicator #coordinates {
	position: absolute;
	top: 3em;
	right: 0;
	line-height: 1.6;
	text-align: right;
	font-size: 92%;
	white-space: nowrap;
}

/* FR topicon position */
div.flaggedrevs_short {
	position: absolute;
	top: -3em;
	right: 100px;
	z-index: 1;
}

/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
#siteSub {
	font-size: 92%;
}

/* Move page status indicators down slightly */
.mw-body .mw-indicators {
	padding-top: 0.4em;
}

/* ============================================== */
/* There now follows NSindex's special CSS rules. */
/* ============================================== */

.mw-body {
	border-color: #80C080;
}

.vector-menu-portal h3 {
	background-image:linear-gradient(-90deg, #edefd8, #AAD5AA 16.7%, #AAD5AA 83.3%, #edefd8);
}

.vector-menu-tabs,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown h3 {
	background-image:linear-gradient(#edefd8,#80C080);
}

.vector-menu-tabs li {
	background-image:linear-gradient(#edefd8,#D5EAD5 97.49%,#80C080 97.5%);
}

.vector-menu-tabs .selected {
	background-image:linear-gradient(#edefd8,white);
}

#mw-page-base {
	background-image: none;
	background-color: #edefd8;
}

#simpleSearch {
	background: #FFF;
}

/* Responsive changes */

@media screen {
	.mw-footer-container > .mw-content-container,
	.mw-page-container {background: #edefd8;}
}

.mw-content-container {background: #FFF;}

.mw-content-container > .mw-body {padding-bottom: 1rem;}

.mw-footer-container {
	padding-top: 0;}

.mw-footer-container > .mw-content-container > footer {
	border-top-color: #80C080;
}

.mw-workspace-container > #mw-navigation > #mw-panel {
	background:   none;
	border-right: none;
}

.mw-logo-wordmark {
	background-image: url(/common/logos/logo-wordmark.png);
	background-size: 113px 25px;
}