MediaWiki:Common.css

From FirebugWiki
Revision as of 06:22, 18 May 2011 by Sebastianz (Talk | contribs) (Changed TOC font size; changed font for "edit" link)

Jump to: navigation, 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: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */

@font-face {
    font-family: "TitilliumMaps";
    src: local("☺"), url("../../../fonts/TitilliumMaps26L002.woff") format("woff"), url("../../../fonts/TitilliumMaps26L002.ttf") format("truetype");
}

@font-face {
    font-family: "TitilliumMaps";
    font-weight: bold;
    src: local("☺"), url("../../../fonts/TitilliumMaps26L001.woff") format("woff"), url("../../../fonts/TitilliumMaps26L001.ttf") format("truetype");
}

body {
    background-image: -moz-linear-gradient(center top , #EAF1FB, #FFFFFF 200px, #EAF1FB);
    font-family: "Trebuchet MS", helvetica, sans-serif;
}

#globalWrapper {
    background: url("/img/header-bg.png") no-repeat;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "TitilliumMaps", Helvetica, sans-serif;
    font-weight: bold;
}

h1, h2 {
    border-bottom: 1px solid rgb(154, 203, 228);
}

h2 {
    font-size: 156%;
}

h3 {
    font-size: 138%;
    border-bottom: 1px solid #EEEEEE;
}

h4 {
    font-size: 122%;
}

hr {
    background-color: rgb(154, 203, 228);
}

.editsection {
    font-family: "Trebuchet MS", helvetica, sans-serif;
}

.portlet h5 {
    font-size: 110%;
    font-weight: bold;
}

#p-search,
#p-Main,
#p-Panels,
#p-Extensions,
#p-Get_Involved,
#p-Wiki,
#p-tb {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    border-radius: 0 5px 5px 0;
    background-color: rgba(255, 255, 255, 0.4);
}

#p-personal {
    margin-top: 0.3em;
}

#content {
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
    border: none;
    margin-top: 3.4em;
}

#toc {
    font-size: 100%;
}

#p-cactions {
    top: 1.9em;
}

.pBody {
    border: none;
}

ul {
    margin: 0 0 0 1.5em;
}

.portlet ul {
    font-size: 100%;
}

#p-cactions li {
    background-image: -moz-linear-gradient(center bottom , #EAF1FB, rgba(255, 255, 255, 0.3));
    border-radius: 5px 5px 0 0;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.5);
    margin: 0 0.3em 0 0;
    padding: 0.3em;
    border: none!important;
}

#p-cactions li:hover {
    background-image: -moz-radial-gradient(center bottom, ellipse farthest-corner, #FFFFFF, #FFFFFF, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), -moz-linear-gradient(center bottom, #EAF1FB, rgba(255, 255, 255, 0.3));
}

#p-cactions li.selected {
    background-image: -moz-linear-gradient(center bottom , #FBEEBE, rgba(255, 255, 255, 0.3));
    padding: 0.5em 0.3em 0.3em 0.3em;
}

#p-cactions li a, #p-cactions li a:hover {
    background-color: transparent!important;
}

div.thumbinner {
    box-shadow: 0 0 15px -2px rgba(0, 0, 0, 0.2);
}