MediaWiki:Wikia.css: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
(moving stub formatting here from common) |
(edit section fix) |
||
Line 85: | Line 85: | ||
z-index:10; | z-index:10; | ||
} | } | ||
/* Edit Button Location Fix */ | |||
/* Just to make SURE the edit thingie is where WE want it, not where Wikia does */ | |||
.editsection { | |||
float: right; | |||
} | |||
/* END Edit Button Location Fix */ |
Revision as of 23:34, 9 July 2011
/*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;
}
/* Edit Button Location Fix */
/* Just to make SURE the edit thingie is where WE want it, not where Wikia does */
.editsection {
float: right;
}
/* END Edit Button Location Fix */