MediaWiki:Monobook.css: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
imported>Woganhemlock
(hopefully this will get rid of that box)
(The code here isn't supported ever since Wikia killed Monobook. While Monobook is still available here, the code here would need to be reviewed first. Keeping page history intact for archival purposes.)
Tag: Replaced
 
(38 intermediate revisions by 5 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the MonoBook skin */
// 05:23, October 17, 2011 (UTC)
// <source lang="CSS">
/***** MONOBOOK SPECIFIC CUSTOMIZATION *****/
#ca-edit a {
font-weight: bold !important;
}
body {
background: url(http://images2.wikia.nocookie.net/sims/images/2/2a/SVOverlookHiRes.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
#content {
background:url("http://images2.wikia.nocookie.net/joeplayground/images/b/bb/50opacitywhite.png") repeat scroll 0 0 transparent;
border:1px solid black;
color:black;
margin:56px 50px 0 12.2em !important;
min-width:800px;
border-right:1px solid black !important;
}
.portlet .pBody {
background-color: transparent;
border: 0px !important;
padding: 1px 10px;
margin-left: 8px;
font-size: inherited;
}
.portlet .pBody ul {
list-style-type: none !important;
list-style-image: none !important;
margin: 0;
padding: 0;
}
#p-navigation h5 {
display: none;
}
#content {
margin-top: 32px !important;
margin-right: 8px !important;
border: 1px solid black !important;
}
#toc ul li, #mw-subcategories ul li, #preftoc li {
list-style-image: none !important;
list-style-type: none !important;
}
#p-tb, #p-wikicities-nav, #p-lang, #spotlight_container, #footer { position:relative; top:0px!important; }
#n-irc,
#p-wikicities-nav .pBody ul + hr,
#p-wikicities-nav .pBody ul + hr + ul {
display: none !important;
}
#p-rating div { text-align: center }
#ratingStars a { color: #e3e3e3; font-size: 16px; font-weight: normal; cursor: pointer }
#ratingStars a:hover { color: gold; text-decoration: none }
#ratingStars li {
background-image:url(http://images.wikia.com/uncyclopedia/images/8/81/Star-rating.png);
background-repeat: no-repeat;
background-color: transparent;
list-style: none;
width: 17px;
height: 17px;
float: left;
text-indent: -9000px;
padding: 0 1px;
cursor: pointer;
}
#ratingStars { height: 20px }
.ratingUser { background-position: 0 -34px }
.ratingAvg { background-position: 0 -17px }
div#article-comments {
background: #eee;
padding: 1em;
}
ul#article-comments-ul,
li.article-comments-li {
list-style-type: none !important;
list-style-image: none !important;
clear: both;
}
div.comment-avatar {
border: 1px solid transparent;
float: left;
}
div.details {
border: 1px solid transparent;
float: left;
}
div.buttons{
font-size: smaller;
font-style: italic;
display: block;
visibility: visible;
float: right;
}
span.tools {
display: inline;
visibility: visible;
}
span.timestamp{
font-size: smaller;
}
div.wk_blogs_link {font-size: larger; font-weight: bold; background: #cfc; padding: 1ex 1ex; margin: .5ex 0;}
div.wk_date {border-bottom: 1px solid red;}
div.wk_date .left {font-style: italic; margin-right: 1em; padding-right: 1em; border-right: 1px solid #000;}
div.wk_date .right {font-weight: bold;}
div.wk_blogs_comments {border-bottom: 3px dotted #000; padding-bottom: 1ex;}
ul#blog-comments-ul > li {display: inline; margin: 0;}
ul.list > li {display: inline; margin: 0;}
ul.links > li {display: inline; margin: 0;}
ul.star-rating {display: inline; margin: 0;}
ul.star-rating > li {display: inline; margin: 0;}
table.gallery {margin:0 auto;}
div.wikia-gallery {
text-align: center;
background: transparent;
}
div.wikia-gallery-item {
border: 1px solid #aaa;
background: #f9f9f9;
color: black;
}
.wikia-slideshow {margin:0 auto;}
/* ######################### */
/* ## PAGETABS ## */
/* ######################### */
#p-cactions li a {
background-color:transparent;
color:black;
-moz-border-radius:7px 7px 0 0;
}
#p-cactions li a:hover {
background-color:transparent;
text-decoration:underline;
}
#p-cactions li {
background:url("http://images2.wikia.nocookie.net/joeplayground/images/b/bb/50opacitywhite.png") repeat scroll 0 0 transparent;
border-style: solid solid none;
border-width: 1px 1px 0;
border-color: black;
border-radius:4px 4px 0 0;
-moz-border-radius:4px 4px 0 0;
-webkit-border-radius:4px 4px 0 0;
-o-border-radius:4px 4px 0 0;
-khtml-border-radius:4px 4px 0 0;
}
#ca-edit a { font-weight: bold !important; }
#p-cactions li.selected a{
background-color:transparent;
border-bottom:1px solid black;
}

/* Classes for collapsible portlets, customize as needed */
h5.portletCollapsible {
display:block;
padding:0;
height:auto;
border:1px outset grey;
}
.portletCollapsible a {
padding:1px 1px .2em 15px;
display:block;
text-decoration:none;
color:black;
}
.portletClosed { background:center left url("http://images.wikia.com/common/skins/common/images/Arr_d.png") no-repeat; }
.portletOpened { background:center left url("http://images.wikia.com/common/skins/common/images/Arr_u.png") no-repeat; }

/*mark unpatrolled newpages as green*/
.not-patrolled {
background-color: #B3D4E6;
}

#footer {
background: url(http://images2.wikia.nocookie.net/joeplayground/images/b/bb/50opacitywhite.png) !important;
border:1px solid grey;
color:#fff;
width: 60%;
position: relative;
left:380px;
}
#footer a {
color:black;
}

table#mw-dismissable-notice {
background:url("http://images4.wikia.nocookie.net/woganhemlockstest/images/d/d2/Blank.png")
}
// </source>

Latest revision as of 21:46, 20 January 2020

/* CSS placed here will affect users of the MonoBook skin */