MediaWiki:Common.css: Difference between revisions
From Seven Sages of Rome
No edit summary Tags: Manual revert Reverted |
No edit summary Tag: Manual revert |
||
Line 119: | Line 119: | ||
.wip-alert { | .wip-alert { | ||
position: fixed; | position: fixed; | ||
display: none; | |||
bottom: 0; | bottom: 0; | ||
left: 50%; | left: 50%; |
Revision as of 09:03, 20 June 2024
/* CSS placed here will be applied to all skins */
#mw-navigation {
z-index: 999;
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%);
}
.nav-link {
color: #374151 !important;
}
.nav-link:hover {
color: #030712 !important;
}
.page-Main_Page .contentHeader {
display: none;
}
.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:hover {
box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.card-block {
display: grid;
align-content: space-between;
height: 100%;
}
.primary-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: 100%;
}
.primary-btn:hover,
.primary-btn:focus {
opacity: .75;
}
.smw-datatable select {
background: #fff;
}
.smw-datatable th a {
color: black;
}
#pfForm .createboxInput, #pfForm .mandatoryField, #pfForm textarea {
max-width: 98% !important;
}
/* Drilldown customization */
.drilldown-btn-wrapper {
width: 25%;
}
.drilldown-results {
-webkit-filter: blur(5px);
-moz-filter: blur(5px);
-o-filter: blur(5px);
-ms-filter: blur(5px);
filter: blur(5px);
}
.drilldown-categories-wrapper {
display: none;
}
.drilldown-filter {
background-color: #fafafa;
border-radius: 2px;
padding: 5px;
border-color: #e4e4e7;
border-width: 1px;
border-style: solid;
}
.drilldown-filter:hover {
background-color: #f4f4f5;
}
.drilldown-values-toggle {
padding-right: 6px;
}
/* WIP banner */
.wip-alert {
position: fixed;
display: none;
bottom: 0;
left: 50%;
transform: translate(-50%, 0);
z-index: 999;
}