MediaWiki:Common.css: Difference between revisions
From The Seven Sages of Rome
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
background-color: rgb(59 130 246); | background-color: rgb(59 130 246); | ||
color: black; | color: black; | ||
} | |||
.drilldown-btn { | |||
background-color: #222; | |||
border-radius: 4px; | |||
border-style: none; | |||
box-sizing: border-box; | |||
color: #fff; | |||
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: 100%; | |||
} | |||
.drilldown-btn:hover, | |||
.drilldown-btn:focus { | |||
opacity: .75; | |||
} | } |
Revision as of 12:10, 12 February 2024
/* 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 {
background-color: #222;
border-radius: 4px;
border-style: none;
box-sizing: border-box;
color: #fff;
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: 100%;
}
.drilldown-btn:hover,
.drilldown-btn:focus {
opacity: .75;
}