Difference between revisions of "MediaWiki:Common.css"

From Zeah RSPS - Wiki
Jump to navigation Jump to search
Line 120: Line 120:
     font-weight: bold;
     font-weight: bold;
     border-radius: 5px;
     border-radius: 5px;
     border: 1px solid #4c57d0;
     border: 1px solid white;
     background-color: #5865f2;
     background-color: #5865f2;
     display: block;
     display: block;

Revision as of 22:29, 14 February 2022

/* 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; }

/* Topmost */
#mw-page-base {
    background-image: url('https://i.imgur.com/QRNPFMw.jpg')!important;
    background-repeat: no-repeat;
    background-position: 0px 0px!important;
    background-color: #C0A886!important;
}

/* Leftmost */
body {
    background-color: #C0A886!important;
    overflow-y: scroll!important;
    background-image: url('https://i.imgur.com/QRNPFMw.jpg')!important;
    background-repeat: no-repeat!important;
    background-position: 0px 0px!important;
}

/* BODY (Beige) */
.mw-body {
    border: transparent;
    background: #E2DBC8!important;
    box-shadow: 0 0 7px rgb(0 0 0 / 15%)!important;
}

/* Code */
.mw-code {
    background: #DDD4BB!important;
    border: 1px solid #94866d!important;
}

/* Top Tabs - Focused */
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited {
    background: #E2DBC8!important;
    padding: 0 0.75em!important;
    padding-top: 1em!important;
}

/* Top Tabs - Unfocused */
nav.vector-menu-tabs li a {
    background: #C0A886!important;
    padding: 0 0.75em!important;
    padding-top: 1em!important;
}

/* Side Text */
.vector-menu-portal .vector-menu-content li a, .vector-menu-portal .vector-menu-content li a:visited {
    color: #52351e!important;
    line-height: 1.2em!important;
    font-family: inter!important;
    font-weight: 500!important;
    font-size: 1.1em!important;
    padding-left: 1em;
}

/* Side Text */
.vector-menu-portal h3 {
    color: #54595d!important;
    font-size: 0.9em!important;
    font-weight: 600!important;
    background-image:none!important;
}

/* Search Bar */
#searchInput {
    background-color: #EFEEE6!important;
}


.vector-menu-dropdown h3 {
    color: #936039!important;
    padding-top: 1em;
}

.vector-menu-dropdown h3:after {
    margin-bottom: 0.4em;
}
.vector-menu-dropdown h3:after {
    content: '';
    background-image: url(/w/skins/Vector/resources/common/images/arrow-down.svg?9426f);
    background-position: 100% 50%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0.76923077em;
    right: 8px;
    bottom: 0;
    width: 1.23076923em;
    opacity: 0.84;
}

#p-personal ul {
    padding: 2px 1em 4px 0.4em;
    background-color: #D6CDB8!important;
    border-radius: .3em;
}

#mw-head .vector-menu-dropdown h3 {
    background-image: none!important;
}

#right-navigation {
    background-color: #C0A886!important;
}

a, a.new {
     color: #936039!important;
}

.vector-menu-tabs ul {
    background-color: #C0A886!important;
}



#n-Discord a {
    color: white !important;
    font-size: 12px!important;
    font-weight: bold;
    border-radius: 5px;
    border: 1px solid white;
    background-color: #5865f2;
    display: block;
    position: relative;
    padding: 4px 0 5px calc(17px + 6.5px * 2);
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    transition: 0.2s ease;
    margin-bottom: 5em;
}

#n-Discord a::before {
    content: 'Chat on ';
    font-weight: normal;
    opacity: 0.85;
}

#n-Discord a::after {
    content: '';
    background: url(/w/images/Discord_icon.png) no-repeat;
    background-size: 17px 13px;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
    position: absolute;
    top: 5px;
    left: 7px;
    width: 17px;
    height: 13px;
}

#n-Discord a:hover {
    text-decoration: none;
    background-color: #525EE0!important;
}

.mainpage-header .header-intro {
    flex: 2;
}

.mainpage-header .header-intro h1 {
    font-size: 2.5em;
    font-weight: bold;
    border: none;
    margin: 0 0 0.15em;
}

.mainpage-header .header-intro p {
    font-size: 1.1em;
    line-height: 1.7em;
}