MediaWiki:Common.css

From LINKS Community Center
Revision as of 16:05, 9 September 2021 by Eschmidt (talk | contribs)
Jump to: navigation, search

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.
/* CSS placed here will be applied to all skins */

/* Styling for filtered results format */
.filtered {
  display: flex;
  flex-direction: row-reverse;
}

.filtered .filtered-views {
  flex: auto;
}

.filtered .filtered-filters {
  width: 300px;
  margin: 1em 0 0 1em;
}

/* Width for discourse topics list on front-page */
d-topics-list iframe {
  width: 700px !important;
  margin-left: auto;
  margin-right: auto;
}

/* NEW HOMEPAGE CSS START */
:root {
  --links-grey: #415262;
  --links-orange: #ee7802;
  --links-blue: #1980c3;
  --links-cyan: #34b8b8;
}

.links-tile {
  display: flex;
  padding: 1em;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--links-grey);
  color: white;
  height: 200px;
  text-decoration: none !important;
  transition: all 400ms;
}

.links-tile svg {
  fill: white;
  transition: all 400ms;
  height: 70px;
}

.links-tile:hover { 
  background-color: var(--links-orange);
  color: var(--links-grey);
}

.links-tile:hover svg { 
  fill: var(--links-grey);
}

.links-tile-title {
  font-variant: small-caps;
  text-align: center;
}
/* NEW HOMEPAGE CSS END */