MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 244: | Line 244: | ||
#searchInput:hover { | #searchInput:hover { | ||
width: 40vw; | |||
padding: 0 6px; | padding: 0 6px; | ||
transition: 0.5s; | transition: 0.5s; | ||
} | } | ||
#searchInput:focus { | #searchInput:focus { | ||
width: | width: 40vw; | ||
padding: 0 6px; | padding: 0 6px; | ||
font-size: 20px; | font-size: 20px; | ||
Line 258: | Line 258: | ||
#searchInput:not(:placeholder-shown) { | #searchInput:not(:placeholder-shown) { | ||
width: | width: 40vw; | ||
padding: 0 6px; | padding: 0 6px; | ||
font-size: 20px; | font-size: 20px; |
Revision as of 20:28, 18 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,
.page-Main_Page.is-authenticated .pre-content {
display: none;
}
.page-Main_Page .mw-body {
border-top: none !important;
whitespace: wrap !important;
}
@media screen and (min-width: 720px)
.page-Main_Page {
width: 100% !important;
}
// .page-Main_Page .page-header-bar, .page-Main_Page .overlay-header,
.page-Main_Page .banner-container, .page-Main_Page.minerva-anon-talk-message, .page-Main_Page .minerva-header, .page-Main_Page .content, .page-Main_Page .overlay-content, .page-Main_Page .content-unstyled, .page-Main_Page .pre-content, .page-Main_Page .post-content, .page-Main_Page #mw-content-text > form {
width: 100% !important;
max-width: 100% !important;
}
@media screen and (min-width: 1000px)
.page-Main_Page .banner-container, .page-Main_Page.minerva-anon-talk-message, .page-Main_Page .minerva-header, .page-Main_Page .content, .page-Main_Page .overlay-content, .page-Main_Page .content-unstyled, .page-Main_Page .pre-content, .page-Main_Page .post-content, .page-Main_Page #mw-content-text > form {
width: 100 !important;
}
body.page-Main_Page p {
font-size: 20px;
margin-bottom: 0;
}
.page-Main_Page ::-webkit-scrollbar {
width: 1em !important;
border-radius: 5px;
}
.page-Main_Page ::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3) !important;
border-radius: 5px;
}
.page-Main_Page ::-webkit-scrollbar-thumb {
cursor: pointer !important;
height: 25px;
background: white;
// background-color: darkgrey !important;
outline: 2px solid #87cecd !important;
border-radius: 5px;
width: 95% !important;
transition: 1s !important;
}
.page-Main_Page ::-webkit-scrollbar-thumb:hover {
background-color: #87cecd !important;
transition: 1s !important;
}
a.external:after {
display: none !important;
}
body.page-Main_Page h1 {
font-family: arial;
margin: 10px;
}
body.page-Main_Page h2 {
font-weight: bold;
}
body.page-Main_Page h2 {
font-family: arial;
}
#research {
font-family: arial;
}
.card {
padding: 5px 20px 5px 20px;
margin: 10px;
box-sizing: border-box;
background: rgba(217, 217, 217, 0.58);
border: 1px solid white;
// box-shadow: 12px 17px 4px 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;
max-height: 95vh;
overflow-y: auto;
padding: 10px;
}
.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 li:not(:hover):has(~ li:hover) {
// filter: blur(2px);
transform: scale(0.9, 0.9);
}
.company-cards ul li:hover ~ li {
// filter: blur(2px);
transform: scale(0.9, 0.9);
}
.highlight {
text-align: center;
}
.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 {
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: 30px;
}
#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: 10px;
text-align: center;
border-radius: 5px;
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;
}
.paper:hover {
transform: scale(1.05);
}
#searchInput {
color: gray;
width: 200px;
background-color: white;
border: 2px solid #2f3640;
height: 40px;
border-radius: 40px;
padding: 10px;
transition: 1s;
text-align: center;
cursor: pointer;
}
#searchInput:hover {
width: 40vw;
padding: 0 6px;
transition: 0.5s;
}
#searchInput:focus {
width: 40vw;
padding: 0 6px;
font-size: 20px;
transition: 0.5s;
}
#searchInput:not(:placeholder-shown) {
width: 40vw;
padding: 0 6px;
font-size: 20px;
transition: 0.5s;
}
.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: 0px;
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;
}
#page-secondary-actions a {
margin-left: 10px !important;
}
#updated-reports {
margin: 10px;
}
#updated-reports ul {
list-style: none
}
#updated-reports li {
width: 50%;
font-size: 20px;
text-align: center;
border-radius: 20px;
background: #f5f5f5;
position: relative;
padding: 10px;
border: 2px solid #c3c6ce;
transition: 0.5s ease-out;
overflow: visible;
}
.divider {
margin: 10px;
}
.switch {
width: fit-content;
display: flex;
flex-direction: row;
background-color: #e8e8e8 !important;
border-radius: 30em;
-webkit-transition: 0.4s;
transition: 0.4s;
padding: 0px 5px 0px 5px;
}
.tab {
width: fit-content;
margin: 5px;
padding: 0px 20px 0px 20px;
border-radius: 30em;
font-size: 20px;
font-family: inherit;
border: none;
overflow: hidden;
background-color: none;
cursor: pointer;
transition: 0.5s;
}
.tab:hover {
background-color: white;
box-shadow: 6px 6px 12px #c5c5c5,
-6px -6px 12px #ffffff;
transition: 0.5s;
}