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
(removing everything related to article comments, going to rewrite to fix some stuff)
(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
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the MonoBook skin */
// 19:06, April 4, 2014 (UTC)
// <source lang="CSS">
/***** MONOBOOK SPECIFIC CUSTOMIZATION *****/
#ca-edit a {
font-weight: bold !important;
}
body {
background: url(http://images2.wikia.nocookie.net/woganhemlockstest/images/7/7a/DanPinBackground.png) 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.details {
border: 1px solid transparent;
float: left;
}

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;}

}

/*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")
}

div#article-comments {
background:url("http://images4.wikia.nocookie.net/woganhemlockstest/images/d/d2/Blank.png")
}

div.usermessage {
background: url("http://images3.wikia.nocookie.net/sims/fr/images/d/d2/Bandeau_vert.jpg");
}

/*transparent diff backers*/
table.diff {
background: url("http://images4.wikia.nocookie.net/__cb20120213083837/woganhemlockstest/images/d/d2/Blank.png");
}


div.edited-by {
padding: 0px 10px 10px 15px;
font-size: 10px;
line-height: 18px;
}
div.edited-by a.permalink {
color: #3A3A3A;
}
span.tools {
margin-right: 11px;
position: relative;
top: 4px;
}

/* tweaks for forum:index */

table.forumlist {
background: url("http://images4.wikia.nocookie.net/__cb20120213083837/woganhemlockstest/images/d/d2/Blank.png");
}
// </source>

/* TS4-based logo */

#p-logo, #p-logo a, #p-logo a:hover {
background:url("http://img1.wikia.nocookie.net/__cb20140411180401/sims/images/thumb/5/5c/TSW-logo-monobook.png/150px-TSW-logo-monobook.png") no-repeat scroll bottom center transparent !important;
}

Latest revision as of 21:46, 20 January 2020

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