MediaWiki:Common.css

From Hidden Palace
Revision as of 03:50, October 30, 2016 by Drx (talk | contribs) (Fix class)
Jump to navigation Jump to search

Note: After publishing, 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.
/* CSS placed here will be applied to all skins */
@import url("http://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css");
@import url(https://fonts.googleapis.com/css?family=Playfair+Display|Droid+Sans+Mono|Roboto:400,400italic,700italic,700);

body
{
font-family: 'Roboto', sans-serif;
}

#p-logo
{
  top: -180px;
}

#p-logo a
{
  width: 160px;
  height: 180px;
  color: #333;
  font-size: 22px;
  font-family: "Playfair Display", serif;
  text-align: center;
  padding-top: 1em;
  line-height: 1em;
}

.mw-wiki-logo
{
  background-image: none;
}

div#mw-panel
{
  top: 180px;
}

pre, span.hex-snippet
{
font-family: 'Droid Sans Mono', monospace;
white-space: pre;
background-color: inherit;
border: 0;
padding: 0;
}

span.hover-link
{
  background-color: #f8f8f8;
}
span.hover-link.hover
{
  background-color: #eee;
}

table.infobox
{
float: right;
background-color: #eee;
}

table.infobox.download a, table.infobox.download i
{
vertical-align: middle;
}

tr.infobox-title
{
background-color:#666;
color: #f8f8f8;
}

tr.infobox-title > th
{
padding: 5px 10px;
}

table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td
{
padding-left: 0.5em;
padding-right: 0.5em;
}

table.wikitable td .fa {
padding-right: 0.2em;
}

table.infobox table td
{
   line-height: 1.3em;
   vertical-align: top;
   padding-right: 10px;
}

div.panel
{
    margin: 1em 1.5em;
    text-align: center;
    float: left;
    width: 50%;
}
div.panel-heading
{
    background-color: #666;
    color: #f8f8f8;
    padding: 0.25em 0.5em;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
div.panel-body
{
    background-color: #eee;
    padding: 0.25em 0.5em;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

div.panel.navbox
{
    font-size: 0.85em;
    width: 80%;
}
div.panel.navbox ul > li:after
{
    content: " · ";
}
div.panel.navbox ul > li:last-child:after
{
    content: "";
}
div.panel.navbox ul > li
{
    display: inline-block;
}

table.formtable .createboxInput
{
    width: 85%;
}

table.wikitable.noborder, table.wikitable.noborder > tr > th, table.wikitable.noborder > tr > td, table.wikitable.noborder > * > tr > th, table.wikitable.noborder > * > tr > td
{
    border: none;
}

div.help-block
{
  font-size: 11px;
  margin: 2px 9px 6px 9px;
  color: #666;
}

div.smw-image-link
{
  float: left;
  width: 320px;
  min-height: 270px;
  margin-right:5px;
  text-align: center;
}
div.front-page
{
  background: #f5faff;
  overflow: hidden;
}
div.front-page > div.right
{
  float: right;
  width: 350px;
}
div.front-page > div.left
{
  margin-right: 350px;
}
div.front-page div.heading
{
  background-color: #e7eef6;
  border: 1px solid white;
  font-weight: bold;
  text-align: center;
  padding: 1px;
}
div.front-page div.cell
{
  border: 1px solid white;
  background: #f5faff;
  padding: 0.3em 1em;
}
div.front-page div.cell ul, div.front-page div.cell dd
{
  margin-left: 0.6em;
}
div.front-page div.cell li, div.front-page div.cell dd
{
  margin-bottom: .2em;
}
div.front-page div.last-cell.cell
{
  padding-bottom: 90000px;
  margin-bottom: -90000px;
}

/* Sidebar icon colors */
div#mw-panel li > a.no-underline { text-decoration: none; }
div#mw-panel li > a:hover > span.link-underline { text-decoration: underline; }
div#mw-panel i.fa { color: #333; }
div#mw-panel a:hover > i.fa { color: #0645ad; }

li#n-Twitter > a:hover > i.fa { color: #55acee; }
li#n-Facebook > a:hover > i.fa { color: #3b5998; }
li#n-Tumblr > a:hover > i.fa { color: #35465c; }
li#n-YouTube > a:hover > i.fa { color: #e52d27; }