MediaWiki: Common.css

From LINKS Community Center
Revision as of 16:04, 1 September 2021 by <bdi>Admin</bdi> (talk | contribs)
Jump to: navigation, search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
/* Clickable tiles */
.click-tile {
  overflow: hidden;
}
.click-tile a {
    height: 100%;
    display: block;
    padding: 2em;
    background-color: #334150 !important;
    transition: all 400ms;
}
.click-tile a:hover { background-color: #E76307 !important; }
.click-tile-icon {
    margin-bottom: 30px;
    display: block;
    text-align: center;
    color: #fff;
}
.click-tile-icon img { height: 64px; }
.click-tile-title {
    margin: 0;
    text-align: center;
    color: #fff;
}
.click-tile-title:nth-child(n+2) {
    margin-top: .5em;
}
.click-tile-content { color: #fff; }
.click-tile-content p { margin-top: 10px; }

/* Do not show title on landing page */
body.page-Welcome.action-view h1.firstHeading, body.page-Welcome.action-submit h1.firstHeading { display: none; }

/* Styling for filtered results format */
.filtered-filters,
.filtered-value,
.filtered-value-show {
	position: relative;
	top: -1em;
	right: 0;
	float: left;
	width: 1.5em;
	padding: 0 0.1em;
	margin: 0;
	cursor: pointer;
	text-align: center;
	font-size: 90%;
}
.filtered-filters,
.filtered-value,
.filtered-value-hide {
	position: relative;
	top: -1em;
	right: 0;
	float: left;
	width: 1.5em;
	padding: 0 0.1em;
	margin: 0;
	background-color: #EAF5E9;
	cursor: pointer;
	text-align: center;
	font-size: 90%;
}