MediaWiki:Common.css
From The Seven Sages of Rome
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);
background-color: rgb(29 78 216);
}
.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;
}
.drilldown-btn {
margin-right: auto;
margin-left: auto;
background-color: #222;
border-radius: 4px;
border-style: none;
box-sizing: border-box;
color: #fff !important;
cursor: pointer;
display: inline-block;
font-family: "Farfetch Basis","Helvetica Neue",Arial,sans-serif;
font-size: 16px;
font-weight: 700;
line-height: 1.5;
margin: 0;
max-width: none;
min-height: 44px;
min-width: 10px;
outline: none;
overflow: hidden;
padding: 9px 20px 8px;
position: relative;
text-align: center;
text-transform: none;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
width: 25%;
}
.drilldown-btn:hover,
.drilldown-btn:focus {
opacity: .75;
}