Difference between revisions of "MediaWiki:Vector.css"

From FirebugWiki
Jump to: navigation, search
(Added basic page layout)
 
(Fixed selected tab display)
Line 41: Line 41:
 
   background-color: transparent;
 
   background-color: transparent;
 
   background-image: linear-gradient(to top, #A7D7F9, #EAF1FB 1px, #EAF1FB 0.2em, #fff 1.6em, transparent 100%);
 
   background-image: linear-gradient(to top, #A7D7F9, #EAF1FB 1px, #EAF1FB 0.2em, #fff 1.6em, transparent 100%);
 +
}
 +
 +
div.vectorTabs ul li.selected,
 +
div.vectorTabs ul li.selected:hover {
 +
  background-color: transparent;
 +
  background-image: linear-gradient(to top, #FFF, #FFF 1.6em, transparent 100%);
 
}
 
}
  

Revision as of 15:51, 11 January 2016

/* CSS placed here will affect users of the Vector skin */

body {
  background-color: #EFF4F4;
  background-image: linear-gradient(to bottom, #EAF1FB, #FFF 330px, #FFF 455px, #EFF4F4 645px);
  background-image: url("https://getfirebug.com/img/header-bg.png"), linear-gradient(to bottom, #EAF1FB, #FFF 330px, #FFF 455px, #EFF4F4 645px);
  background-repeat: repeat-x;
  background-repeat: no-repeat, repeat-x;
  background-size: 100% 645px;
  background-size: auto auto, 100% 645px;
  font-family: "Trebuchet MS", helvetica, sans-serif;
}

#mw-page-base {
  background: none;
}

.mw-body h1,
.mw-body h2 {
  border-bottom: 2px solid #9ACBE4;
  font-family: "Trebuchet MS", helvetica, sans-serif;
}

div#mw-panel {
  padding-left: 0;
}

div#mw-panel div.portal {
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  border-radius: 0px 5px 5px 0px;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 0.6em 0.4em 0;
  padding-left: 0.4em;
}

div.vectorTabs ul {
  background-image: none;
}

div.vectorTabs ul li {
  background-color: transparent;
  background-image: linear-gradient(to top, #A7D7F9, #EAF1FB 1px, #EAF1FB 0.2em, #fff 1.6em, transparent 100%);
}

div.vectorTabs ul li.selected,
div.vectorTabs ul li.selected:hover {
  background-color: transparent;
  background-image: linear-gradient(to top, #FFF, #FFF 1.6em, transparent 100%);
}

div.vectorTabs li.new a, div.vectorTabs li.new a:visited {
  color: #BA0000;
}

div.vectorTabs ul li:hover {
  background-image: linear-gradient(to top, rgb(167, 215, 249), rgb(245, 251, 255) 1px, rgb(245, 251, 255) 0.2em, rgb(255, 255, 255) 1.6em, transparent 100%);
  text-decoration: none;
}

div.vectorTabs span a:hover {
  text-decoration: none;
}

#p-personal li {
  padding: 0.6em;
  margin-top: 0;
  margin-left: 0.2em;
}

#p-personal li:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

#p-personal li a:hover,
#p-personal li a:focus {
  text-decoration: none;
}

#pt-userpage, #pt-anonuserpage {
  background-position: 6px 50%;
  padding-left: 24px !important;
}