MediaWiki:Vector.css: Difference between revisions

MediaWiki interface page
 
(Automation: Update CSS file from SCSS file.)
Tag: Replaced
 
Line 1: Line 1:
/* All CSS here will be loaded for users of the Vector skin */
/* Style overrides for the Vector skin */
/* Tabber styling */
/* Not to be edited in the wiki, see https://github.com/repair-wiki/content for instructions on how to contribute  */
.tabberlive .tabbertab,
.tabber .tabbertab {
    /* border-color: #537e6b; */ /* If you keep all borders the same */
    /* border-style: solid; */ /* If you keep all borders the same */
    /* border-width: 1px; */ /* If you keep all borders the same */
    border-bottom-color: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
    border-left-color: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
    border-right-color: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
    border-top-color: #537e6b; /* This should match your general choice of border color */
    border-image: none;
    border-style: solid none none;
    border-width: 1px medium medium;
}
 
ul.tabbernav {
    border-bottom: none;
}
 
ul.tabbernav li a {
    background: none repeat scroll 0 0 #000000; /* This should match your general choice of background color */
    border: 1px solid #537e6b; /* This should match your general choice of border color */
    border-image: none;
    border-radius: 5px 5px 0 0; /* This is only if you want your tabs to have rounded corners */
    margin-left: 3px;
    padding: 3px 0.5em;
    text-decoration: none;
    font-size: 125%;
}
 
ul.tabbernav li {
    display: inline;
    list-style: none outside none;
    margin: 0 0 0 7px;
}
 
ul.tabbernav li a:link {
    color: #4da87d; /* This should match your anchor color, but simply being different from the default text color works */
}
 
ul.tabbernav li a:hover {
    background: none repeat scroll 0 0 #000000;
    border-color: #505050; /* This should match your general choice of border color */
    color: #FFFFFF;
}
 
ul.tabbernav li.tabberactive a {
    background-color: #000000;
    color: #FFFFFF;
}
 
ul.tabbernav li.tabberactive a,
ul.tabbernav li.tabberactive a:hover,
ul.tabbernav li.tabberactive a:link {
    background-color: #000000;
    border-bottom: 1px none;
    padding: 2px 0.5em 4px;
}
/* Credits to Runescape.Wiki - CC BY-NC-SA 3.0 */
#p-logo {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
    margin: -1.5em 0 1.5em;
}
 
body {
background: url('/images/1/18/Repair_background.jpg') #f6f6f6 top left no-repeat;
}
 
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
          background-image: url('/images/1/18/Repair_background.jpg');
          background-size: 1000px 250px;
    }
}
 
#mw-page-base {
    background: none;
}
 
div#mw-panel {
    padding-top: 2.5em;
}
 
div#mw-panel .vector-menu-portal h3 {
    font-weight: bold;
}
 
div#mw-panel .vector-menu-portal div.body {
    background: none;
    margin-right: 0.5em;
}
 
.mw-body {
    border-color: transparent;
    box-shadow: 0 0.25em 0.6em -0.15em rgba(0, 0, 0, 0.15);
    margin-top: 0;
}
/* End of Runescape.Wiki Edit */
.mw-wiki-logo {
background-size: contain !important;
}

Latest revision as of 21:42, 25 March 2024

/* Style overrides for the Vector skin */
/* Not to be edited in the wiki, see https://github.com/repair-wiki/content for instructions on how to contribute  */