MediaWiki:Common.css: Difference between revisions
>RAP mNo edit summary |
>RAP mNo edit summary |
||
| Line 97: | Line 97: | ||
-webkit-background-clip: text; | -webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | -webkit-text-fill-color: transparent; | ||
animation: textclip | animation: textclip 3s linear infinite; | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
Revision as of 21:46, 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;
}
p {
font-size: 20px !important;
}
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 {
display: flex;
flex-direction: column;
}
.company-cards > ul {
width: 33% !important;
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 > ul:hover > li:not(:hover) {
filter: blur(2px);
transform: scale(0.9, 0.9);
}
.highlight {
text-transform: uppercase;
background-image: linear-gradient(
-225deg,
#797a7c 0%,
#797a7c 29%,
#797a7c 67%,
#87cecd 100%
);
background-size: auto auto;
background-clip: border-box;
background-size: 200% auto;
color: #fff;
background-clip: text;
text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textclip 3s linear infinite;
display: inline-block;
}
@keyframes textclip {
to {
background-position: 200% center;
}
}