MediaWiki:Vector.css

From Funtoo
Revision as of 03:52, November 15, 2021 by Drobbins (talk | contribs)
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Personal menu in upper left. */

#p-personal .vector-menu-content {
  font-family: "Lato", sans-serif;
}

/* Make it transparent except when you hover. */

#p-personal a {
  opacity: 50%;
  color: #35435a;
}

#p-personal a:visited {
  color: #35435a;
}

#p-personal a:hover {
  opacity: 100%;
}


/* Sidebar */

#mw-panel .vector-menu-heading, #mw-panel .vector-menu-content {
  font-family: "Lato", sans-serif;
}

/* body text defaults and background */

body {
    background: linear-gradient(to bottom, #b0b6d6 0%,#f3f7fe 17%);
    background-repeat: no-repeat;
    background-color: #f3f7fe;
}

#mw-page-base {
    background-image: none;
    background-color: transparent;
}

/* 'More' drop-down menu -- make it match our navigation tabs */

#p-cactions .vector-menu-content {
  border-radius: 0px 0px 8px 8px;
}

.vector-menu-content, .mw-portlet {
    font-family: 'Zilla Slab', serif;
    font-weight: 500;
}

/* Left and right tab navigation */

/* A proper tab font with excellent weight! */

.vector-menu-tabs li a {
    font-family: 'Zilla Slab', serif;
    font-weight: 500;
}

.vector-menu-tabs li.selected a {
    font-weight: 600;
    border-bottom: none;
}

/* Rounded corners on navigation tabs */

.vector-menu-tabs li:first-child {
    border-top-left-radius: 8px;
}

.vector-menu-tabs li:last-child {
    border-top-right-radius: 8px;
}

#searchform input {
    font-family: 'Zilla Slab', serif;
    border-radius: 6px;
}

/* smaller tabs */

.vector-menu-tabs li a {
  padding-top: 8px;
  /* inherit from parent */
  height: 100%;
}

.vector-menu-tabs {
    height: 2em;
    margin-top: 0.5em;
}

/* Reduce contrast of vertical separator line between navigation tabs */

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
    background-image: url(/skins/Vector/resources/skins.vector.styles/images/tab-separator.png?09d4b);
    background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,#8ac0d5ab 100%);
    background-repeat: no-repeat;
    background-size: 1px 100%;
}