MediaWiki:Common.css

From FirebugWiki
Revision as of 04:44, 18 May 2011 by Sebastianz (Talk | contribs) (Fixed tab hover effect)

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: url("/img/header-bg.png");
}

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

#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;
}

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

.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;
}

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