MediaWiki:Common.css

From Bridge Duel Wiki
Revision as of 21:39, 29 December 2023 by Admin (talk | contribs)

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.
:root {
	--accent-colour: rgb(255, 87, 87);
	--accent-colour-2: rgb(255, 100, 100);
	--accent-colour-3: rgb(255, 67, 67);
}

.mw-logo {
	color: black;
}

.mw-logo-wordmark {
	color: black;
	text-decoration: none;
}

.vector-main-menu-action-opt-out {
	display: none;
}

#vector-page-tools-pinned-container .vector-page-tools::after {
	content: none;
}

#p-navigation {
	border-bottom: none;
}

.skin-vector {
	background-color: white;
}

/* Wikitable */

.wikitable > caption {
	white-space: nowrap;
	text-align: left;
}

/* Main Page */
.cards {
  margin: 20px auto;
  width: 98%;
  height: 300px;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-row-gap: 10px;
  justify-content: center;
}

  .card {
    background: url("https://bridgeduel.xyz/images/redclay.png") center center repeat;
    background-size: 50px;
    transition-duration: 0.2s;
    filter: brightness(80%);
    transition-property: transform, filter;
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
  }
  .card:hover {
    transform: scale(1.01);
    filter: brightness(100%); 
  }