Jump to content

MediaWiki:Common.css

From Scampsopedia
Revision as of 15:55, 14 January 2026 by RikThePixel (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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
:root {
	--scamp-primary: #1C266E;
	--scamp-primary--hover: #495CA0;
	--scamp-primary-contrast: #FFF;
}


html.skin-theme-clientpref-night {
	
}

html.skin-theme-clientpref-os {
	
}

.scamp-link-button * {
	box-sizing: border-box;
}

.scamp-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: none 0.2s ease;
  transition-property: background-color, border;
  background-color: var(--scamp-primary);
  border: 1px solid var(--border-color-interactive);
  border-radius: 4px;
}

.scamp-link-button:hover {
  background-color: var(--scamp-primary--hover);
  border-color: var(--border-color-interactive--hover);
}

.scamp-link-button a { 
  text-align: center;
  flex: 1;
  padding: 0.75rem 1rem;
  color: var(--scamp-primary-contrast);
  text-decoration: none;
}

.scamp-link-button:hover a,
.scamp-link-button:active a { 
  color: var(--color-base);
}

.scamp-link-button a.external {
  background-image: none;
  padding: 0.75rem 1rem;
}