MediaWiki:Common.css

From softwear.directory
Revision as of 18:16, 21 December 2023 by Admin (talk | contribs)
Jump to navigation Jump to 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 */

/* White background in body */
body {
	background-color: white;
	transition: background-color 1s ease;
}
/* Mediawiki horizontal navigation styles */
#mw-head {
    background-color: white;
	transition: background-color 1s ease;
	display: none;
}
#mw-page-base {
	background-color: white;
	transition: background-color 1s ease;
	background-image: none;
}
 .mw-body {
    border: none;
  }
#p-logo a {
    display: none;
}
.mw-footer {
    display: none;
}

.list {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  width: calc(20% - 2px);
  box-sizing: border-box;
  border: 1px solid black;
  margin-left: -1px; /* Compensate for the double borders */
  transform: translateX(-1px); /* Move the box 1px to the left */
  height: fit-content;
  padding: 5px;
  margin-bottom: 10px;
}

.card:first-child {
  margin-left: 0;
}

.card:last-child {
  margin-right: 0;
  border-right: 1px solid black;
}

 .mw-body .firstHeading {
    display: none;
}

#mw-panel {
    display: none;
}

.people {
	text-decoration: underline;
	border-top: 1px solid black;
}
.type {
	border-top: 1px solid black;
}