MediaWiki:Common.css: Difference between revisions
>RAP mNo edit summary |
>RAP mNo edit summary |
||
| Line 261: | Line 261: | ||
.talk.mw-ui-button.button:hover::before { | .talk.mw-ui-button.button:hover::before { | ||
width: 9em; | width: 9em; | ||
} | |||
.container { | |||
position: relative; | |||
font-family: sans-serif; | |||
} | |||
.container::before, .container::after { | |||
content: ""; | |||
background-color: #fab5704c; | |||
position: absolute; | |||
} | |||
.container::before { | |||
border-radius: 50%; | |||
width: 6rem; | |||
height: 6rem; | |||
top: 30%; | |||
right: 7%; | |||
} | |||
.container::after { | |||
content: ""; | |||
position: absolute; | |||
height: 3rem; | |||
top: 8%; | |||
right: 5%; | |||
border: 1px solid; | |||
} | |||
.container .box { | |||
width: 11.875em; | |||
height: 15.875em; | |||
padding: 1rem; | |||
background-color: rgba(255, 255, 255, 0.074); | |||
border: 1px solid rgba(255, 255, 255, 0.222); | |||
-webkit-backdrop-filter: blur(20px); | |||
backdrop-filter: blur(20px); | |||
border-radius: .7rem; | |||
-webkit-transition: all ease .3s; | |||
transition: all ease .3s; | |||
} | |||
.container .box { | |||
display: -webkit-box; | |||
display: -ms-flexbox; | |||
display: flex; | |||
-webkit-box-orient: vertical; | |||
-webkit-box-direction: normal; | |||
-ms-flex-direction: column; | |||
flex-direction: column; | |||
-webkit-box-pack: justify; | |||
-ms-flex-pack: justify; | |||
justify-content: space-between; | |||
} | |||
.container .box .title { | |||
font-size: 2rem; | |||
font-weight: 500; | |||
letter-spacing: .1em | |||
} | |||
.container .box div strong { | |||
display: block; | |||
margin-bottom: .5rem; | |||
} | |||
.container .box div p { | |||
margin: 0; | |||
font-size: .9em; | |||
font-weight: 300; | |||
letter-spacing: .1em; | |||
} | |||
.container .box div span { | |||
font-size: .7rem; | |||
font-weight: 300; | |||
} | |||
.container .box div span:nth-child(3) { | |||
font-weight: 500; | |||
margin-right: .2rem; | |||
} | |||
.container .box:hover { | |||
-webkit-box-shadow: 0px 0px 20px 1px #ffbb763f; | |||
box-shadow: 0px 0px 20px 1px #ffbb763f; | |||
border: 1px solid rgba(255, 255, 255, 0.454); | |||
} | } | ||
Revision as of 06:47, 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;
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 {
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;
transition: 1s;
}
.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 {
color: #87cecd;
width: 150px;
background: #2f3640;
height: 40px;
border-radius: 40px;
padding: 10px;
transition: 1s;
text-align: center;
cursor: pointer;
}
#searchInput:hover {
width: 240px;
padding: 0 6px;
transition: 0.5s;
}
#searchInput:focus {
width: 240px;
padding: 0 6px;
font-size: 20px;
transition: 0.5s;
}
#searchInput:not(:placeholder-shown) {
width: 240px;
padding: 0 6px;
}
.emphasis {
cursor: pointer;
position: relative;
padding: 10px 24px;
font-size: 18px;
color: rgb(193, 163, 98);
border: 2px solid rgb(193, 163, 98);
border-radius: 34px;
background-color: transparent;
font-weight: 600;
transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
overflow: hidden;
}
.emphasis::before {
content: '';
position: absolute;
inset: 0;
margin: auto;
width: 50px;
height: 50px;
border-radius: inherit;
scale: 0;
z-index: -1;
background-color: rgb(193, 163, 98);
transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}
.emphasis:hover::before {
scale: 3;
}
.emphasis:hover {
color: #212121;
scale: 1.1;
box-shadow: 0 0px 20px rgba(193, 163, 98,0.4);
}
.emphasis:active {
scale: 1;
}
.talk.mw-ui-button.button {
border-radius: 30em;
font-size: 15px;
font-family: inherit;
border: none;
position: relative;
overflow: hidden;
z-index: 1;
box-shadow: 6px 6px 12px #c5c5c5,
-6px -6px 12px #ffffff;
}
.talk.mw-ui-button.button::before {
border-radius: 30em;
position: absolute;
top: 0;
left: 0;
background-image: linear-gradient(to right, #0fd850 0%, #f9f047 100%);
transition: .5s ease;
display: block;
z-index: -1;
}
.talk.mw-ui-button.button:hover::before {
width: 9em;
}
.container {
position: relative;
font-family: sans-serif;
}
.container::before, .container::after {
content: "";
background-color: #fab5704c;
position: absolute;
}
.container::before {
border-radius: 50%;
width: 6rem;
height: 6rem;
top: 30%;
right: 7%;
}
.container::after {
content: "";
position: absolute;
height: 3rem;
top: 8%;
right: 5%;
border: 1px solid;
}
.container .box {
width: 11.875em;
height: 15.875em;
padding: 1rem;
background-color: rgba(255, 255, 255, 0.074);
border: 1px solid rgba(255, 255, 255, 0.222);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
border-radius: .7rem;
-webkit-transition: all ease .3s;
transition: all ease .3s;
}
.container .box {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.container .box .title {
font-size: 2rem;
font-weight: 500;
letter-spacing: .1em
}
.container .box div strong {
display: block;
margin-bottom: .5rem;
}
.container .box div p {
margin: 0;
font-size: .9em;
font-weight: 300;
letter-spacing: .1em;
}
.container .box div span {
font-size: .7rem;
font-weight: 300;
}
.container .box div span:nth-child(3) {
font-weight: 500;
margin-right: .2rem;
}
.container .box:hover {
-webkit-box-shadow: 0px 0px 20px 1px #ffbb763f;
box-shadow: 0px 0px 20px 1px #ffbb763f;
border: 1px solid rgba(255, 255, 255, 0.454);
}