MediaWiki:Category.css: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
No edit summary |
(-cat select artilcepage special cat a:link —> moving to ns-0) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
text-align:left; | text-align:left; | ||
margin:10px 0px 10px 0px; | margin:10px 0px 10px 0px; | ||
background: | background:transparent; | ||
word-wrap:break-word; | word-wrap:break-word; | ||
Line 44: | Line 44: | ||
} | } | ||
.CategorySelect.articlePage .special-categories a:hover { | .CategorySelect.articlePage .special-categories a:hover { | ||
text-decoration:underline; | text-decoration:underline; | ||
Line 66: | Line 64: | ||
word-wrap:break-word; | word-wrap:break-word; | ||
background-image:none; | background-image:none; | ||
background: | background:transparent; | ||
} | } |
Latest revision as of 02:14, 2 July 2014
/* ===================
Due to changes to category
module on 5 February 2013,
it was expedient to pull out all
category code into its own
CSS file, which will be imported
into Common.css
=================== */
.CategorySelect.articlePage {
-moz-border-radius:10px;
-webkit-border-radius:10px;
-ms-border-radius:10px;
-o-border-radius:10px;
border-radius:10px;
color:#1F1E38;
padding:10px;
font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif;
text-align:left;
margin:10px 0px 10px 0px;
background:transparent;
word-wrap:break-word;
}
.CategorySelect.articlePage .category {
border-right: 1px solid rgb(204, 204, 204);
line-height: 90%;
}
.CategorySelect.articlePage .categories {
overflow:visible;
}
.CategorySelect.articlePage .special-categories {
float: left;
padding-right:4px;
margin-left:-15px;
margin-bottom:-10px;
margin-top:-3px;
text-transform:uppercase;
letter-spacing:3px;
font-weight:bold;
}
.CategorySelect.articlePage .special-categories a:hover {
text-decoration:underline;
}
/* for when module is turned off */
.WikiaArticleCategories {
margin-left:2%;
-moz-border-radius:10px;
-webkit-border-radius:10px;
-ms-border-radius:10px;
-o-border-radius:10px;
border-radius:10px;
border:1px solid #012c57;
color:#1F1E38;
padding:5px;
font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif;
text-align:left;
word-wrap:break-word;
background-image:none;
background:transparent;
}
.mw-normal-catlinks li {
display:inline;
}
#catlinks {
word-wrap: break-word;
}
.WikiaArticleInterlang h3 {
margin-left: 2%;
}
/* Hidden cats no longer on own line.
Removing at [[User:Rappy 4187]]'s request
at least until we can get to the bottom
of what Wikia's actual intent with hidden
categories is.
#WikiaArticleCategories .categories .hidden a:before {
content: "hidden";
font-style: italic;
font-size:70%;
}
#WikiaArticleCategories .categories .hidden {
font-style:italic;
}
#WikiaArticleCategories .categories .hidden a:before {
content: "[";
}
#WikiaArticleCategories .categories .hidden a:after {
content: "]";
}
*/
#WikiaArticleCategories .categories {
word-wrap:break-word;
}
/* The word CATEGORIES */
#mw-normal-catlinks > a,
#mw-normal-catlinks > a:hover {
font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif;
text-transform:uppercase;
letter-spacing:3px;
font-weight:bold;
}
#catlinks span a {
color: #1f1e38;
font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif;
text-transform:none;
font-weight:normal;
letter-spacing:0px;
}
#catlinks span a:hover {
color: #012c57;
font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L','Nimbus Sans L',sans-serif;
text-transform:none;
font-weight:normal;
letter-spacing:0px;
}
#catlinks .noprint a:hover {
background: none;
}
#catlinks a.new {
color:#ff591f;
}
body.mainpage #catlinks {
display:none!important;
}