MediaWiki:Gadget-DisplayFooter.css

From Wikisource
Jump to navigation Jump to search
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Cmd-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (Cmd-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences

For details and instructions about other browsers, see Wikipedia:Bypass your cache.

/* The overall footer block. */
.ws-footer {
	clear: both;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-top: 1em;
	margin-bottom: 4px;
	padding: .5em .1em;
	background-color: #E6F2E6;
	border: 1px solid #ACA;
	font-size: .9em;
}

/* When prev/next link is empty the UA tends to collapse it to zero. */
.ws-footer .ws-footer-empty {
	min-width: 1em;
}

/* The previous (back) link. */
.ws-footer-back {
	text-align: left;
}
.ws-footer-back::before {
	content: "←";
}
.ws-footer-back.ws-footer-empty {
	content: " "; /* Non-breaking space to avoid collapsing. */
}
.ws-footer-back.ws-footer-empty::before {
	content: ""; /* Hide arrow when empty. */
}

/* The next (forward) link. */
.ws-footer-forward {
	text-align: right;
}
.ws-footer-forward::after {
	content: "→";
}
.ws-footer-forward.ws-footer-empty {
	content: " "; /* Non-breaking space to avoid collapsing. */
}
.ws-footer-forward.ws-footer-empty::before {
	content: ""; /* Hide arrow when empty. */
}

/* The central block. */
.ws-footer-center {
	text-align: center;
}