MediaWiki:Wikia.css: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
(edit section fix) |
(adding thumbnail formatting here, so as not to force it on monobook) |
||
Line 93: | Line 93: | ||
} | } | ||
/* END Edit Button Location Fix */ | /* END Edit Button Location Fix */ | ||
/** THUMBNAILS **/ | |||
/** Inspired by MemoryAlpha **/ | |||
/*div.tright, div.tleft { | |||
border: 1px dashed #2f2cb8 !important; | |||
}*/ | |||
.tleft { | |||
margin: 0 10px 0 0 !important; | |||
outline: 1px dashed #2f2cb8 !important; | |||
} | |||
.tright { | |||
margin: 0 0 0 10px !important; | |||
outline: 1px dashed #2f2cb8 !important; | |||
} | |||
.WikiaArticle div.thumbinner { | |||
border:none !important; | |||
} | |||
.WikiaArticle .thumbinner { | |||
background-color:transparent !important; | |||
background-image:none !important; | |||
} | |||
.WikiaArticle .thumbcaption { | |||
font-family: "Gill Sans", | |||
Verdana, | |||
"Franklin Gothic Medium", /* mainly for Win users */ | |||
"Trebuchet MS", /* mainly for Mac users (nice differentiation between l and I) */ | |||
Tahoma, /* fallback for Mac and Win users */ | |||
"URW Gothic L", /* UNIX users */ | |||
"Nimbus Sans L", /* UNIX fallback */ | |||
sans-serif !important; /* Everybody's fallback */ | |||
} |
Revision as of 06:09, 10 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 */
/** THUMBNAILS **/
/** Inspired by MemoryAlpha **/
/*div.tright, div.tleft {
border: 1px dashed #2f2cb8 !important;
}*/
.tleft {
margin: 0 10px 0 0 !important;
outline: 1px dashed #2f2cb8 !important;
}
.tright {
margin: 0 0 0 10px !important;
outline: 1px dashed #2f2cb8 !important;
}
.WikiaArticle div.thumbinner {
border:none !important;
}
.WikiaArticle .thumbinner {
background-color:transparent !important;
background-image:none !important;
}
.WikiaArticle .thumbcaption {
font-family: "Gill Sans",
Verdana,
"Franklin Gothic Medium", /* mainly for Win users */
"Trebuchet MS", /* mainly for Mac users (nice differentiation between l and I) */
Tahoma, /* fallback for Mac and Win users */
"URW Gothic L", /* UNIX users */
"Nimbus Sans L", /* UNIX fallback */
sans-serif !important; /* Everybody's fallback */
}