MediaWiki:Common.css: Difference between revisions
>RAP mNo edit summary |
>RAP mNo edit summary |
||
| Line 165: | Line 165: | ||
#searchInput { | #searchInput { | ||
width: fit-content; | |||
background: #2f3640; | background: #2f3640; | ||
height: 40px; | height: 40px; | ||
Revision as of 05:55, 17 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;
}
body.page-Main_Page p {
font-size: 20px;
}
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;
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:hover {
// text-transform: uppercase;
background-image: linear-gradient(
-225deg,
black 0%,
#87cecd 29%,
#87cecd 67%,
black 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 2s linear infinite;
display: inline-block;
}
@keyframes textclip {
to {
background-position: 200% center;
}
}
#back-to-top {
padding: 15px 25px;
border: unset;
border-radius: 15px;
color: #212121;
z-index: 1;
background: #e8e8e8;
position: relative;
font-weight: 1000;
font-size: 17px;
-webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
transition: all 250ms;
overflow: hidden;
}
#back-to-top{
width: fit-content;
padding: 1.3em 3em;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 2.5px;
font-weight: 500;
color: #000;
background-color: #fff;
border: none;
border-radius: 45px;
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease 0s;
cursor: pointer;
outline: none;
margin: auto;
margin-top: 15px;
}
#back-to-top:hover {
background-color: #87cecd;
box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
color: #fff;
transform: translateY(-7px);
}
#back-to-top:active {
transform: translateY(-1px);
}
.paper {
padding: 5px;
margin: 5px;
text-align: center;
}
.paper:hover {
background: white;
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
transition: 1s;
}
#searchInput {
width: fit-content;
background: #2f3640;
height: 40px;
border-radius: 40px;
padding: 10px;
}
#searchInput:hover {
width: 240px;
padding: 0 6px;
}