MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 397: | Line 397: | ||
.mwchat-item-timestamp.real { | .mwchat-item-timestamp.real { | ||
padding: | padding: 2px !important; | ||
border-radius: 2px; | |||
transition: 1s; | transition: 1s; | ||
} | } |
Revision as of 11:37, 26 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 .heading-holder {
display: none;
}
.page-Main_Page .mw-body {
border-top: none !important;
white-space: wrap !important;
}
@media screen and (min-width: 720px)
.page-Main_Page {
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;
}
@media screen and (min-width: 720px)
.page-Updated_Reports .heading-holder {
display: none !important;
}
@media screen and (min-width: 1000px)
.page-Updated_Reports .heading-holder {
display: none !important;
}
.page-Updated_Reports .heading-holder {
display: none !important;
}
body.page-Updated_Reports.action-view h1.firstHeading,
body.page-Updated_Reports.action-submit h1.firstHeading,
.page-Updated_Reports.is-authenticated .heading-holder {
display: none;
}
#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);
}
.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;
margin: auto;
}
#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;
}
.page-Special_WebChat.is-authenticated .content, .page-Special_WebChat.is-authenticated .heading-holder {
width: 95% !important;
max-width: 100% !important;
margin: auto;
}
.page-Special_WebChat .content, .page-Special_WebChat .heading-holder {
width: 95% !important;
max-width: 100% !important;
margin: auto;
}
.page-Special_WebChat iframe {
height: 100vh !important;
}
#mwchat-type input {
// width: 100% !important;
margin: 10px;
border: 1px solid black;
padding: 5px;
font-size: 15px;
background-color: white;
}
#mwchat-me {
// position: relative !important;
top: 0px !important;
left: 0px !important;
}
#mwchat-options {
margin-top: 0px !important;
}
.mwchat-item-messagecell:has(p) {
width: 80% !important;
align-items: flex-start !important;
background-color: #e5e5ea !important;
color: #000 !important;
border-radius: 1.15rem !important;
line-height: 1.25 !important;
max-width: 75% !important;
padding: 0.5rem 0.875rem !important;
position: relative !important;
word-wrap: break-word !important;
margin-right: 10% !important;
}
.mwchat-item-messagecell:before:has(p) {
border-bottom-right-radius: 0.8rem 0.7rem !important;
border-left: 1rem solid #e5e5ea !important;
left: -0.35rem !important;
transform: translate(0, -0.1rem) !important;
}
.mwchat-item-messagecell::after:has(p) {
background-color: #fff !important;
border-bottom-right-radius: 0.5rem !important;
left: 20px !important;
transform: translate(-30px, -2px) !important;
width: 10px !important;
}
#mwchat-type input {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
font-weight: 500;
font-size: 15px;
color: #fff;
background-color: rgb(28,28,30);
box-shadow: 0 0 .4vw rgba(0,0,0,0.5), 0 0 0 .15vw transparent;
border-radius: 0.4vw;
border: none;
outline: none;
padding: 0.4vw;
transition: .4s;
}
#mwchat-type input:hover {
box-shadow: 0 0 0 .15vw rgba(135, 207, 235, 0.186);
}
#mwchat-type input:focus {
box-shadow: 0 0 0 .15vw skyblue;
}
#mwchat-table {
width: 80% !important;
}
.mwchat-item-timestamp.real {
padding: 2px !important;
border-radius: 2px;
transition: 1s;
}