MediaWiki:Vector.css: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(shrink sidebar now that the ad's gone)
mNo edit summary
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* Sidebar */
body{font-size:15px}
@media screen and (min-width: 982px){
 
  div#mw-panel { width: 180px; padding-left: 0px; margin-right: 20px; margin-top: 4px;}
#wrapper{background:#100100}
  div#footer, #mw-head-base, div#content { margin-left: 185px; }
 
  #left-navigation { margin-left: 185px; }
/* Sidebar link colour fix */
.vector-menu-portal .vector-menu-content li a{color:#1d6d26}
.vector-menu-portal .vector-menu-content li a:visited{color:#254224}
 
/* Sidebar font size fix TEMP */
#mw-panel {
    font-size: large;
}
/* Main font size fix TEMP */
.vector-body {
    font-size: 1em;
}
.vector-body li{
    font-size: 1.04em;
}
 
.mw-body {
    border: 1px solid #1d6d26;
    border-radius: 0 0 10px 10px;
    border-bottom: 4px solid #1d6d26
}
}


/* Fix font size */
/* Tabs fix */
#mw-panel .portal .body li, #mw-panel .portal h3, .mw-body-content { font-size: 1em; }
.vector-menu-tabs-legacy li {
  background-image:linear-gradient(to top,#FBF0D4 0,#F9F9F9 100%);
    border: 1px solid #1d6d26;
    border-bottom: 0;
}


/* Fix font color */
.vector-menu-tabs-legacy {
h1, h2, h3, h4, h5, h6 { color: #000; }
    background: 0 0
}


/* Fix padding */
a,a:visited,.vector-menu-tabs-legacy li a,.vector-menu-tabs-legacy li a:visited,.mw-body a.external,.mw-body a.external:visited,.mw-body a.extiw,.mw-body a.extiw:active,.mw-body a.extiw:visited,#mw-panel .portal .body ul li a,#mw-panel .portal .body ul li a:visited {
@media (min-width: 768px) {
    color: #1d6d26
  #content { padding: 1.25em 1.5em 1.5em 1.5em; }
}
}
* { box-sizing: content-box; }
#wrapper * { box-sizing: border-box; }


/* Fix for gap created by Recent Changes legend. */
.vectorTabs a:hover, .vectorTabs strong:hover, .selected a, .selected strong, .selected a:hover, .selected strong:hover{
table.mw-recentchanges-table {
  border-radius: 8px 8px 0 0;
width: 575px;
}
}


/* Fix to make changes in the Diff view more visible post-MediaWiki 1.23.7. */
.vector-menu-dropdown {
del.diffchange, del.diffchange-inline {
  background-image:linear-gradient(to top,#FBF0D4 0,#F9F9F9 100%);
color: #8b0000;
  border-radius: 8px 8px 0 0;
}
}
ins.diffchange, ins.diffchange-inline {
 
color: #006400;
.mw-changeslist-legend, .ext-replacetext-searchoptions, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
    background-color: #fdf6e4;
}
 
/* Footer */
#footer{
    min-height:2em;
    padding: 20px 20px 0;
}
}


/* Fix for de-uglify the vector tabs that were broken in an update. */
#footer-places li {
div.vectorTabs {
    line-height: 1;
  background: transparent !important;
  background-image: none !important;
  margin-bottom: -1px !important;
  padding-left: 0px !important;
}
}
div.vectorTabs ul, div.vectorTabs ul li, div.vectorTabs ul li span {
#footer-icons {
  background: transparent !important;
    margin-top: -10px;
  background-image: none !important;
  border: none;
}
}
div.vectorTabs > ul > li > span > a {
 
  height: 100%;
#footer-info{
  box-sizing: border-box;
    margin-top: -10px;
}
}
#mw-head .vectorMenu h3 {
 
  background: none;
.mw-footer li {
  border: none;
    padding: 0;
}
}


.vectorTabs a, .vectorMenu {
 
  border-top: 1px solid #AAA;
 
  border-left: 1px solid #AAA;
@media screen and (max-width: 981px) {
  border-right: 1px solid #AAA;
    #mw-panel {
  -moz-border-radius-topleft: 8px;
        width:150px;
  -moz-border-radius-topright: 8px;
    }
  -moz-border-radius-bottomright: 0;
}
  -moz-border-radius-bottomleft: 0;
 
  border-radius: 8px 8px 0 0;
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
  -moz-border-radius: 8px 8px 0 0;
    background-color: #f0ddbd;
  -webkit-border-radius: 8px 8px 0 0;
    border: 1px solid #b2a9a1;
  border-radius: 8px 8px 0 0;
}
  background: #FBF0D4; /* Old browsers */
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
  background: -moz-linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* FF3.6+ */
    background-color: #f0ddbd;
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#FBF0D4),color-stop(100%,#F9F9F9)); /* Chrome,Safari4+ */
    border: 1px solid #b2a9a1;
  background: -webkit-linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* IE10+ */
  background: linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* W3C */
}
}
.vectorTabs a:hover, .vectorTabs strong:hover, .selected a, .selected strong,.elected a:hover, .selected strong:hover{
 
  text-shadow: 0px -1.5px 0px #DDD;
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
  background: #FBF0D4;
    background-color: #f8f9fa;
    color: #222120;
    border-color: #b2a9a1;
}
}
.vectorTabs a:hover,.vectorTabs strong:hover {
 
  background: #FBF0D4; /* Old browsers */
.infotable th, .infotable td{padding: 0em .4em;}
  background: -moz-linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* FF3.6+ */
.box .title, .zdw-box .zdw-box__title {
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#E1E4FA),color-stop(100%,#F9F9F9)); /* Chrome,Safari4+ */
   font-size: 1.15em;
   background: -webkit-linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* IE10+ */
  background: linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* W3C */
}
}
.selected li, .selected li,.selected a:hover, .selected strong:hover {
.zdw-box.navbox .gallerybox .gallerytext p {
   background: #FBF0D4; /* Old browsers */
   font-size: 13px; line-height:1.2; text-align:center;
  background: -moz-linear-gradient(top,white 0,#F9F9F9 5%,#FBF0D4 55%); /* FF3.6+ */
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,white),color-stop(5%,#F9F9F9),color-stop(55%,#FBF0D4)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,white 0,#F9F9F9 5%,#FBF0D4 55%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,white 0,#F9F9F9 5%,#FBF0D4 55%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,white 0,#F9F9F9 5%,#FBF0D4 55%); /* IE10+ */
  background: linear-gradient(top,white 0,#F9F9F9 5%,#FBF0D4 55%); /* W3C */
}
}
/* [[MediaWiki:Edittools]] font sizing */
.edittools_gamelinking, .edittools_moregames, .edittools_otherversions, .edittools_spinoffs, .edittools_wiki_markup{display:block;font-size:90%}
hr{border-top: 2px solid #b2a9a1}
.mw-editTools hr{border-top: 2px solid #ccc}
/* Search image right margin */
.searchResultImage a.image img{padding-right:0.5em}

Latest revision as of 04:15, November 6, 2023

body{font-size:15px}

#wrapper{background:#100100}

/* Sidebar link colour fix */
.vector-menu-portal .vector-menu-content li a{color:#1d6d26}
.vector-menu-portal .vector-menu-content li a:visited{color:#254224}

/* Sidebar font size fix TEMP */
#mw-panel {
    font-size: large;
}
/* Main font size fix TEMP */
.vector-body {
    font-size: 1em;
}
.vector-body li{
    font-size: 1.04em;
}

.mw-body {
    border: 1px solid #1d6d26;
    border-radius: 0 0 10px 10px;
    border-bottom: 4px solid #1d6d26
}

/* Tabs fix */
.vector-menu-tabs-legacy li {
  background-image:linear-gradient(to top,#FBF0D4 0,#F9F9F9 100%);
    border: 1px solid #1d6d26;
    border-bottom: 0;
}

.vector-menu-tabs-legacy {
    background: 0 0
}

a,a:visited,.vector-menu-tabs-legacy li a,.vector-menu-tabs-legacy li a:visited,.mw-body a.external,.mw-body a.external:visited,.mw-body a.extiw,.mw-body a.extiw:active,.mw-body a.extiw:visited,#mw-panel .portal .body ul li a,#mw-panel .portal .body ul li a:visited {
    color: #1d6d26
}

.vectorTabs a:hover, .vectorTabs strong:hover, .selected a, .selected strong, .selected a:hover, .selected strong:hover{
  border-radius: 8px 8px 0 0;
}

.vector-menu-dropdown {
  background-image:linear-gradient(to top,#FBF0D4 0,#F9F9F9 100%);
  border-radius: 8px 8px 0 0;
}

.mw-changeslist-legend, .ext-replacetext-searchoptions, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
    background-color: #fdf6e4;
}

/* Footer */
#footer{
    min-height:2em;
    padding: 20px 20px 0;
}

#footer-places li {
    line-height: 1;
}
#footer-icons {
    margin-top: -10px;
}

#footer-info{
    margin-top: -10px;
}

.mw-footer li {
    padding: 0;
}



@media screen and (max-width: 981px) {
    #mw-panel {
        width:150px;
    }
}

.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
    background-color: #f0ddbd;
    border: 1px solid #b2a9a1;
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
    background-color: #f0ddbd;
    border: 1px solid #b2a9a1;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    background-color: #f8f9fa;
    color: #222120;
    border-color: #b2a9a1;
}

.infotable th, .infotable td{padding: 0em .4em;}
.box .title, .zdw-box .zdw-box__title {
  font-size: 1.15em;
}
.zdw-box.navbox .gallerybox .gallerytext p {
  font-size: 13px; line-height:1.2; text-align:center;
}

/* [[MediaWiki:Edittools]] font sizing */
.edittools_gamelinking, .edittools_moregames, .edittools_otherversions, .edittools_spinoffs, .edittools_wiki_markup{display:block;font-size:90%}

hr{border-top: 2px solid #b2a9a1}
.mw-editTools hr{border-top: 2px solid #ccc}

/* Search image right margin */
.searchResultImage a.image img{padding-right:0.5em}