MediaWiki:Wikia.css

From Tardis Wiki, the free Doctor Who reference
Revision as of 18:34, 11 June 2011 by CzechOut (talk | contribs) (moving stub formatting here from common)
Clear your cache often around here

After changes are made to this site's CSS or Javascript, you have to bypass your browser's cache to see the changes. You can always do this by going to your browser's preferences panel. But many browsers also offer keyboard shortcuts to save you that trouble. The following shortcuts work in the versions of the browsers that Tardis currently supports. They may not work in earlier versions.

  • Firefox: hold down Shift while performing a page reload.
  • Opera offers no default keyboard shortcut, but you can create a custom keyboard shortcut with the value Clear disk cache
  • Safari users should simultaneously hold down + Option + E. You may need to enable the Develop menu first
  • Chrome: press Ctrl + F5 or Shift + F5 while performing a page reload.
/*LEAVE THIS IMPORT ABOVE EVERYTHING ELSE*/
@import url("http://tardis.wikia.com/index.php?title=MediaWiki:Common.css&usemsgcache=yes&ctype=text/css&smaxage=86400&action=raw&maxage=86400");

/* === Hide "Image added by" on articles === */
 .picture-attribution { display:none !important; }

/* Fix for rewrite title */
#title-meta i { font-style: italic !important; }

/* kills read more and category galleries, thanks to Sovq */
.RelatedPagesModule {
	display: none;
}
.categories {
        display: none !important;
}

.category-gallery {
	display: none;
}

.WikiHeader .buttons {
  width: 251px !important;
}

/* Fixes for bug in Wikia skin */

/* Make menu button dropdowns appear on top of user page content */
.WikiaUserPagesHeader .wikia-button,
.WikiaUserPagesHeader .wikia-menu-button {
   z-index: 3;
}

/**** STUBS ****/
/* The basic idea here is just like the article type stuff we've imported from
   MemAlpha.  In other words, there's a div class for each type of stub. 
   This works in Wikia, but not in Monobook.   That's why it's here and not 
    in common.css.  */

/* Keeping this deprecated style around, just cause it's cool. Not for stubs, but it's cool.
 div#stub-type { 
background-position:top left;
    background:#ECECEC; 
    background: -moz-linear-gradient(top,  #ECECEC,  #D5D4F0);
    background: -webkit-gradient(linear, left top, left bottom, from(#ECECEC), to(#D5D4F0));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ECECEC', endColorstr='#D5D4F0');  
    border:1px solid #ccc;
    border-bottom:2px solid #bbb;
    border-top:1px solid #ddd;
    border-radius:10px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    text-align:center;
    clear:right;
    float:right;
    margin-left:5px;
    font-size: 0.85em;
} */

div#stub-type {
    position:absolute;
    left:-30px;
    top:-132px;
    z-index:1
}


div#stub-type p {
    margin-left:100px
}
div.type-general { background-position:top left;
    background:#ECECEC; /* for those browsers that can't do gradients */
    background: -moz-linear-gradient(top,  #ECECEC,  #D5D4F0);
    background: -webkit-gradient(linear, left top, left bottom, from(#ECECEC), to(#D5D4F0));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ECECEC', endColorstr='#D5D4F0'); /* for IE only */ 
}
div.type-astro {
background-position:top left;
    background-image:url(http://images.wikia.com/tardis/images/4/40/EarthForInfobox.png) no-repeat; 
}

div.type-comic { 
    background-position:top left;
    background-image:url(http://images3.wikia.nocookie.net/tardis/images/4/46/StubPics.png) no-repeat;
    z-index:10;
}