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)
(v35 updates)
Line 1: Line 1:
/* Personal links */
#p-personal a { color: #fff; }
/* Sidebar */
/* Sidebar */
@media screen and (min-width: 982px){
#p-logo { display: none; }
   div#mw-panel { width: 180px; padding-left: 0px; margin-right: 20px; margin-top: 4px;}
@media screen and (min-width: 982px) {
   div#mw-panel { width: 180px; padding-left: 0px; margin-right: 20px; margin-top: 4px; }
   div#footer, #mw-head-base, div#content { margin-left: 185px; }
   div#footer, #mw-head-base, div#content { margin-left: 185px; }
   #left-navigation { margin-left: 185px; }
   #left-navigation { margin-left: 185px; }
}
}


/* Fix font size */
/* VectorTabs */
#mw-panel .portal .body li, #mw-panel .portal h3, .mw-body-content { font-size: 1em; }
.vector-menu-tabs { background: none; }
 
.vector-menu-content-list li { border-radius: 8px 8px 0 0; }
/* Fix font color */
h1, h2, h3, h4, h5, h6 { color: #000; }
 
/* Fix padding */
@media (min-width: 768px) {
  #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. */
table.mw-recentchanges-table {
width: 575px;
}
 
/* Fix to make changes in the Diff view more visible post-MediaWiki 1.23.7. */
del.diffchange, del.diffchange-inline {
color: #8b0000;
}
ins.diffchange, ins.diffchange-inline {
color: #006400;
}
 
/* Fix for de-uglify the vector tabs that were broken in an update. */
div.vectorTabs {
  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 {
  background: transparent !important;
  background-image: none !important;
  border: none;
}
div.vectorTabs > ul > li > span > a {
  height: 100%;
  box-sizing: border-box;
}
#mw-head .vectorMenu h3 {
  background: none;
  border: none;
}
 
.vectorTabs a, .vectorMenu {
.vectorTabs a, .vectorMenu {
   border-top: 1px solid #AAA;
   border-top: 1px solid #AAA;
Line 94: Line 54:
   background: -ms-linear-gradient(top,white 0,#F9F9F9 5%,#FBF0D4 55%); /* IE10+ */
   background: -ms-linear-gradient(top,white 0,#F9F9F9 5%,#FBF0D4 55%); /* IE10+ */
   background: linear-gradient(top,white 0,#F9F9F9 5%,#FBF0D4 55%); /* W3C */
   background: linear-gradient(top,white 0,#F9F9F9 5%,#FBF0D4 55%); /* W3C */
}
/* Fix padding */
@media (min-width: 768px) {
  #content { padding: 1.25em 1.5em 1.5em 1.5em; }
}
* { box-sizing: content-box; }
/* Fix font size */
#mw-panel .portal .body li, #mw-panel .portal h3, .mw-body-content { font-size: 1em; }
/* Fix font color */
h1, h2, h3, h4, h5, h6 { color: #000; }
/* Fix for gap created by Recent Changes legend. */
table.mw-recentchanges-table {
width: 575px;
}
/* Fix to make changes in the Diff view more visible post-MediaWiki 1.23.7. */
del.diffchange, del.diffchange-inline {
color: #8b0000;
}
ins.diffchange, ins.diffchange-inline {
color: #006400;
}
}

Revision as of 23:50, April 17, 2021

/* Personal links */
#p-personal a { color: #fff; }

/* Sidebar */
#p-logo { display: none; }
@media screen and (min-width: 982px) {
  div#mw-panel { width: 180px; padding-left: 0px; margin-right: 20px; margin-top: 4px; }
  div#footer, #mw-head-base, div#content { margin-left: 185px; }
  #left-navigation { margin-left: 185px; }
}

/* VectorTabs */
.vector-menu-tabs { background: none; }
.vector-menu-content-list li { border-radius: 8px 8px 0 0; }
.vectorTabs a, .vectorMenu {
  border-top: 1px solid #AAA;
  border-left: 1px solid #AAA;
  border-right: 1px solid #AAA;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 0;
  border-radius: 8px 8px 0 0;
  -moz-border-radius: 8px 8px 0 0;
  -webkit-border-radius: 8px 8px 0 0;
  border-radius: 8px 8px 0 0;
  background: #FBF0D4; /* Old browsers */
  background: -moz-linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* FF3.6+ */
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#FBF0D4),color-stop(100%,#F9F9F9)); /* Chrome,Safari4+ */
  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;
  background: #FBF0D4;
}
.vectorTabs a:hover,.vectorTabs strong:hover {
  background: #FBF0D4; /* Old browsers */
  background: -moz-linear-gradient(top,#F9F9F9 0,#FBF0D4 100%); /* FF3.6+ */
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#E1E4FA),color-stop(100%,#F9F9F9)); /* Chrome,Safari4+ */
  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 {
  background: #FBF0D4; /* Old browsers */
  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 */
}

/* Fix padding */
@media (min-width: 768px) {
  #content { padding: 1.25em 1.5em 1.5em 1.5em; }
}
* { box-sizing: content-box; }

/* Fix font size */
#mw-panel .portal .body li, #mw-panel .portal h3, .mw-body-content { font-size: 1em; }

/* Fix font color */
h1, h2, h3, h4, h5, h6 { color: #000; }

/* Fix for gap created by Recent Changes legend. */
table.mw-recentchanges-table {
width: 575px;
}

/* Fix to make changes in the Diff view more visible post-MediaWiki 1.23.7. */
del.diffchange, del.diffchange-inline {
color: #8b0000;
}
ins.diffchange, ins.diffchange-inline {
color: #006400;
}