MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 57: | Line 57: | ||
.company-card > ul { | .company-card > ul { | ||
width: | width: 33%; | ||
margin: auto; | margin: auto; | ||
} | } |
Revision as of 19:04, 16 July 2023
/* CSS placed here will be applied to all skins */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading {
display: none;
}
a.external:after {
display: none !important;
}
.card {
padding: 5px;
box-sizing: border-box;
background: rgba(217, 217, 217, 0.58);
border: 1px solid white;
box-shadow: 12px 17px 51px rgba(0, 0, 0, 0.22);
backdrop-filter: blur(6px);
border-radius: 17px;
text-align: center;
cursor: pointer;
transition: all 0.5s;
display: flex;
align-items: center;
justify-content: center;
user-select: none;
font-weight: bolder;
color: black;
}
.card:hover {
border: 1px solid black;
transform: scale(1.05);
}
.company-cards {
justify-content: center;
display: flex;
flex-direction: column;
width: 100%;
}
.company-cards .red {
background-color: #f43f5e;
}
.company-cards .blue {
background-color: #3b82f6;
}
.company-cards .green {
background-color: #22c55e;
}
.company-card > ul {
width: 33%;
margin: auto;
}
.company-cards > ul > li {
display: flex;
align-items: center;
justify-content: center;
margin: auto;
margin-bottom: 20px;
flex-direction: column;
text-align: center;
width: 100%;
border-radius: 10px;
color: white;
cursor: pointer;
transition: 400ms;
box-shadow: 0 0 10px gray;
padding: 10px;
}
.company-cards > ul > li {
font-size: 30px;
font-weight: 700;
}
.company-cards > ul > li:hover {
transform: scale(1.1, 1.1);
}
.company-cards:hover > ul > li:not(:hover) {
filter: blur(1px);
transform: scale(0.9, 0.9);
}