MediaWiki:Common.css

From Lolitics Wiki
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 / Edge: 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.
/* CSS placed here will be applied to all skins */

/* Hide the "Main page" title on the main page */
body.page-Main_Page h1.firstHeading {display:none;}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #F9F9F9;
    color: black;
    margin: 0 0 1em 1em;
    padding: 2px;
    float: right;
    clear: right;
    text-align: left;
}

/* Infobox internal cell padding and vertical text positioning*/
.infobox td,
.infobox th {
    padding: 2px 10px 2px 5px;
    vertical-align:top;
}

/*Reasonable cell padding for non-infobox tables*/
.paddedcell td,
.paddedcell th {
    padding:0.2em 0.5em;
}

/*A class to top-align table cells*/
.topcell td {
    vertical-align:top;
}

/*A class that gives nice raised table borders*/
.bumpytable {
    border: 1px outset;
    border-color: #666 #aaa #aaa #666;
    border-spacing: 1px;
    padding:2px;
}

/*indented borders for the 3Dtable cells*/
.bumpytable th,
.bumpytable td {
    border: 1px inset;
    border-color: #aaa #666 #666 #aaa;
}

/* Quotebbox wrapper, so quotebox margins will recognize and avoid floats */
.quotewrapper {
    overflow: hidden;
}

/* Quotebbox style */
.quotebox {
    border: 1px solid #aaa;
    background-color: #F9F9F9;
    color: black;
    margin: 0.5em 1.0em;
    padding: 0.75em 1.25em;
}

/* Centered images recognize and avoid floats. This fix won't work with IE7.  If you're still using IE7, please get yourself a better browser. */
.center {
    display:table;
    width:auto;
    margin:auto;
}

/*White backgrounds for image frames inside quoteboxes*/
.quotebox div.thumbinner {
   background-color: #FFFFFF;
}

/* Turning "thumb" image formatting into resizable "frame" formatting */
div.magnify {
   display: none;
}

/* SpacedList class, for unordered lists that need a gap between items */
.spacedList ul li{
    margin: 0.5em 0em;
}

/* Making pre textblocks wrap */
pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

/* spacing improvements, Table of Contents */
.toc, #toc {
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.toc, #toc ul {
    padding: 0px 4px;
}

/* spacing improvements, top level headers */
h2 {
    margin-top: 0.6em;
}

/* Getting rid of forced lowercase in the sidebar headers */
.portlet h3 {
    text-transform: none;
}

/* Removing the sidebar list bullet points */
.portlet ul{
    list-style-image: none;
    list-style-type: none;
    margin-left: 0.5em;
    padding-left: 0;
}

/* Sidebar spacing between boxes */
.portlet {
    margin: 1em 0em;
}

/* Shrinking the invisible Searchbar header */
#p-search {
    font-size: 75%;
}

/* Getting rid of the Shoutwiki messages.  (Sorry, Shoutwiki.  But I left the ads.)*/
#p-ShoutWiki_messages {
display:none;
}