MediaWiki:Cavendish.css

From Frack - Hackerspace Friesland
Jump to navigationJump 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
#globalWrapper {
  font: 13px Arial, Helvetica, sans-serif;
}

/* ****************************************
/* Background and text-shadow cleanup */
#header,
#header h6,
#header h6 a,
#header #p-search {
  background: none;
}
#p-personal .top-nav-mid,
#nav div a,
#nav div span.social,
#firstHeading {
  text-shadow: none;
}

/* ****************************************
/* Page content margins */
body {
  margin: 0 1em;
}
#side {
  width: 160px;
  font-size: 9pt;
}
#column-content {
  float: none;
  width: auto;
  margin-left: 14em;
}
#content {
  float: left;
  margin-top: -2.5em;
  width: 100%;
}

/* ****************************************
/* Page header */
#header {
  height: 75px;
  border-radius: 10px;
  background: #6e9195 url("/w/header.jpg") center left no-repeat;
}
#p-search h3 {
  display: none;
}

/* ****************************************
/* User menu at page-top */
#p-personal a {
  color: #039;
  text-decoration: none;
  text-shadow: none;
}
#p-personal a:hover {
  color: #000;
}
#p-personal #pt-userpage > a {
  display: inline-block;
  height: 12px;
  margin: 0 -2px 0;
  padding: 4px 4px 8px;
  font-weight: bold;
  line-height: 10px;
  font-size: 13px;
}
#p-personal #pt-userpage a img {
  margin-left: 5px;
}
#p-personal #user-menu {
  display: none;
  top: 30px;
  right: 19px;
  position: absolute;
  z-index: 10;
}
#p-personal #user-menu ul {
  padding: 0 10px;
  border: 1px solid #c4c295;
  border-radius: 4px;
  background: #efecad;
}
#p-personal #user-menu li {
  display: block;
}
#p-personal #user-menu li a {
  font-size: 13px;
  font-weight: normal;
}

/* ****************************************
/* Page edit menu */
#p-cactions {
  overflow: visible !important; /* Page edit menu */
}
#p-cactions li,
#p-cactions li.selected {
  padding: 2px 8px 0 2px;
  border: none;
  border-radius: 5px 5px 0 0;
  background: #fff;
  font-size: 12px;
  font-weight: bold;
}
#p-cactions li:hover {
  background: #fff;
}
#p-cactions li a {
  color: #000;
}
#p-cactions #pagemenu_fold {
  height: 17px;
  padding: 1px 6px 0;
}
#p-cactions #pagemenu_fold ul {
  display: none;
  position: absolute;
  top: 23px;
  right: 14px;
  margin-top: 0;
  padding: 2px 0;
  border: solid #6e9195;
  border-width: 0 2px 2px;
  border-radius: 0 0 8px 8px;
  background: rgba(240, 240, 240, .9);
}
#p-cactions #pagemenu_fold ul li {
  display: list-item;
  float: none;
  margin: 0;
  background: none;
  font-size: 12px;
  font-weight: normal;
}
#p-cactions #pagemenu_fold ul li a {
  float: none;
  margin: 2px 0;
  color: #2f5357;
  text-align: right;
}
#p-cactions #pagemenu_fold ul li a:hover {
  color: #b90
}

/* ****************************************
/* Sidebar menu */
#nav {
  padding: 0;
}
#nav::before,
#nav::after {
  display: none
}
#nav > div:last-child li:last-child a {
  border-radius: 0 0 10px 10px;
}
#nav div li a {
  padding: 4px 10px 4px 20px;
}
#nav div,
#nav li {
  display: block;
}
#nav div a {
  font-size: 13px;
}
#nav div h3 {
  margin: 0;
  padding: 7px 10px 7px 20px;
  background: url(/w/extensions/Vector/modules/images/open.png) 3px center no-repeat;
  color: #666;
  font-size: 13px;
  text-shadow: none;
  cursor: pointer;
}
#nav div h3.collapsed {
  background: url(/w/extensions/Vector/modules/images/closed-ltr.png) 2px center no-repeat
}
#nav div h3:hover {
  text-shadow: #aaa 0px 0px 10px;
}

/* ****************************************
/* Landing page block styles */
.frontpage_block {
  box-sizing: border-box;
  -o-box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 49%;
  padding: 10px;
  margin: 0 0 15px;
  border: 2px solid
}
.frontpage_block.left {
  float: left;
  clear: left;
  border-color: #66a;
  background-color: #eef;
}
.frontpage_block.right {
  float: right;
  clear: right;
  border-color: #6a6;
  background-color: #efe;
}
.frontpage_block.fullwidth {
  width: auto;
  clear: both;
  border-color: #aa6;
  background-color: #ffe;
}
.frontpage_block h1 {
  margin-top: 0;
  padding-top: 0;
}

/* ****************************************
/* General fixes because brokenness */
.toc {
    display: table;
}