Difference between revisions of "MediaWiki:Vector.css"

From FirebugWiki
Jump to: navigation, search
m
(Adjusted display of revision summary field)
Line 99: Line 99:
 
}
 
}
  
 +
input#wpSummary {
 +
  border: 1px solid #AAA;
 +
  padding: 4px;
 +
}
  
 
/* Wiki table */
 
/* Wiki table */

Revision as of 16:48, 11 January 2016

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

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

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

div#mw-panel div.portal h3 {
  font-size: 0.9em;
  font-weight: bold;
}

.mw-body {
  box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.3);
}

#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 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, #A7D7F9 1px, #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, #A7D7F9, #A7D7F9 1px, #F5FBFF 1px, #F5FBFF 0.2em, #FFF 1.6em, transparent 100%);
  text-decoration: none;
}

div.vectorTabs span a:hover,
div.vectorTabs span a:focus {
  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;
}

div#simpleSearch,
input#wpSummary {
  border-radius: 3px;
}

input#wpSummary {
  border: 1px solid #AAA;
  padding: 4px;
}

/* Wiki table */
table.wikitable > tr > th, table.wikitable > * > tr > th {
  background-image: linear-gradient(to bottom, #F2F2F2, #E6E6E6);
}

table.wikitable tr:nth-child(2n) {
  background-color: #F0F0F0;
}

table.wikitable tr:nth-child(2n) code {
  background-color: #EBEBEB;
}

table.light {
  border-spacing: 0;
}

table.light th {
  border-bottom-color: #C8C8C8;
}

table.light th,
table.light td {
  border-bottom: 1px solid #DEDEDE;
  vertical-align: top;
  padding: 4px 0;
}

/* Content */
.mw-body h3 {
  border-bottom: 1px solid #EEE;
}

.key {
  background-color: #F4F7F8;
  border-radius: 3px;
  border: 1px solid #B4B4B4;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2), 0px -1px 1px 1px rgba(230, 230, 230, 0.8) inset, 0px 2px 0px 0px rgba(255, 255, 255, 0.8) inset;
  display: inline-block;
  font-family: Consolas,"Liberation Mono",Courier,monospace;
  font-size: 0.85em;
  line-height: inherit;
  padding: 2px 4px;
  white-space: nowrap;
}