MediaWiki:Main.css: Difference between revisions

no edit summary
(Undo revision 828208 by Ritsu (talk))
Tag: Undo
No edit summary
Line 1: Line 1:
/* Topbar */
#personal span {
    font-weight: 500;
}
#mw-header-hack {
    border-bottom: 1px solid var(--border-color);
}
#personal-inner {
    border-radius: 5px;
    border-color: var(--border-color);
}
#personal h2 {
    color: var(--text-color);
}
#searchButton {
    background-position: top right;
    box-shadow: none;
    background-image: url("https://elwiki.net/wiki/images/e/e4/UI_-_Search.png");
    background-size: 34px;
    right: 0;
    margin-top: -1px;
}
#searchButton:hover {
    filter: brightness(1.1);
}
#mw-searchButton {
    display: none;
}
#searchInput {
    padding: 1em;
    transition: box-shadow 0.3s;
    border-color: var(--border-color);
    letter-spacing: 0.7px;
}
#searchInput:focus {
    outline: none;
    box-shadow: 2px 2px 5px rgb(0 0 0 / 20%);
}
#simpleSearch {
    border-radius: 5px;
    box-shadow: none;
    border-color: var(--border-color) !important;
}
#p-logo-text a {
    letter-spacing: 1.5px;
    font-weight: 500;
    color: rgb(60, 60, 60);
    display: flex;
    place-items: center;
    place-content: center;
    text-decoration: none !important;
    margin-top: -5px;
    gap: 2px;
    padding: 0;
}
a#p-banner::before {
    content: "";
    height: 37px;
    width: 37px;
    display: block;
    background-image: url(https://elwiki.net/wiki/images/thumb/e/ee/UI_-_Hedgehog_Event.png/37px-UI_-_Hedgehog_Event.png);
    background-repeat: no-repeat;
    background-color: transparent;
    position: relative;
    margin-top: 4px;
}
label[for="mw-whatlinkshere-target"] {
    border: 0;
}
.mw-body-content .bannerbox a > img {
    max-width: initial !important;
}
.suggestions-result-current {
    background: var(--accent-color) !important;
}
.highlight {
    font-weight: 500;
}
#personal h2 {
    background-image: none;
    padding-top: 3px;
    padding-left: 5px;
    letter-spacing: 0.75px;
}
#personal h2::after {
    width: 0;
    height: 0 !important;
    border: 0 solid transparent;
    border-left-width: 6px;
    border-right-width: 6px;
    border-top: 6px solid var(--border-color-tone-2);
    background-image: none;
    position: relative;
    top: -7px;
    margin-left: 10px;
}
#p-personal-label {
    display: none;
}
#personal-inner {
    padding: 0 !important;
}
#personal .dropdown .mw-portlet-body {
    margin-bottom: 0;
}
#personal .dropdown li {
    padding: 0;
}
#personal .dropdown li a {
    border: 0.25em solid var(--theme-tone-6);
    display: block;
    padding: 0.4em;
    color: var(--text-color);
    border-radius: 6px;
    font-size: 1.02em;
    letter-spacing: 0.03em;
    transition: background-color 0.3s, color 0.2s;
    border-bottom: none;
    text-decoration: none;
}
#personal .dropdown li:last-child a {
    border-bottom: 0.25em solid var(--theme-tone-6);
}
#personal .dropdown li:hover a {
    background-color: var(--accent-color);
    color: white;
}
#mw-wrapper #mw-header .dropdown {
    display: block !important;
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
    transform-origin: top right;
    transition: 0.15s;
}
#mw-wrapper #mw-header .dropdown-active .dropdown {
    display: block !important;
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}
.suggestions .suggestions-result {
    padding: 0.5em 1em;
}
.suggestions .suggestions-special {
    padding: 0.5em 1em;
}
.suggestions .suggestions-result-current,
.suggestions-result-current .special-query {
    color: white !important;
}
/* Footer */
#mw-footer {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}
#footer-info {
    width: 65vw;
    margin: auto;
}
#mw-footer-container {
    margin: auto;
    border: none;
    box-shadow: none;
    color: var(--text-color);
}
#mw-footer-container a,
#mw-footer-container a:hover {
    color: var(--accent-color) !important;
    transition: 0.3s;
    font-weight: 500;
    transition: opacity 0.3s;
}
#mw-footer-container a:hover {
    opacity: 0.65;
}
#footer-places {
    display: flex;
    place-content: center;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    margin-bottom: 0;
    background: var(--theme-tone-5);
}
.mw-footer #footer-places li {
    margin: 0;
    border-right: 1px solid var(--border-color);
    width: 16vw;
    text-align: center;
}
.mw-footer #footer-places li:first-child {
    border-left: 1px solid var(--border-color);
}
#mw-footer-container #footer-places a {
    padding: 0.5rem;
    display: block;
    color: var(--text-color) !important;
    transition: 0.3s !important;
}
#footer-places a:hover {
    background-color: var(--theme-tone-7);
}
#mw-footer-container #footer-places a:hover {
    color: var(--accent-color) !important;
}
.mw-footer .footer-icons {
    padding-right: 1rem;
}
/* main container */
#mw-content-container {
    border-bottom: none;
    min-height: 200vh;
}
#mw-content {
    border-bottom: none;
    background-color: var(--theme-tone-6);
}
@media screen and (min-width: 1100px) and (max-width: 1340px) {
@media screen and (min-width: 1100px) and (max-width: 1340px) {
     #mw-content {
     #mw-content {