MediaWiki:Common.css

From The Seven Sages of Rome
Revision as of 13:11, 8 February 2024 by Noeth (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.
/* CSS placed here will be applied to all skins */
#mw-navigation {
	border-bottom: 1px solid #e7e7e7;
	background-color: rgba(255, 255, 255, 0.2) !important;
	backdrop-filter: blur(20px) saturate(160%) contrast(45%) brightness(140%) !important;
	-webkit-backdrop-filter: blur(20px) saturate(160%) contrast(45%) brightness(140%);
}

.card {
	height: 250px;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	border-radius: 0.75rem;
}

.card .btn {
	background-color: rgb(29 78 216);
	color: white;
}

.card:hover {
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.card:hover .card-block .card-title{
	color: white;
}
.card:hover .card-block .card-text{
	color: white;
}

.card:hover .card-block .btn{
	background-color: rgb(96 165 250);
	color: black;
}

.card:hover .card-block .btn:hover{
	background-color: rgb(59 130 246);
	color: black;
}