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
(Undid revision 396598 by Woganhemlock (Talk))
(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
 
(22 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/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#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;
}

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

/* tidying up comments and such */
ul.sub-comments {
margin-top: -13px !important;
padding-right: 0 !important;
margin-left: 61px !important;
}
div#article-comm-info {
display: none;
}
textarea#article-comm {
height: 86px;
width: 99.45%;
position: relative;
top: -61px;
}
#article-comm-form {
margin: 10px -2px 10px 64px;
}
div.buttons {
margin-bottom: -22px;
clear: both;
}
input#article-comm-submit.wikia-button.actionButton {
top: -59px;
position: relative;
float: right;
}
.comments li blockquote {
background-color: white;
border: 1px solid black;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.article-comm-text ul, .article-comm-text dt {
padding: 0px 10px 0px 15px;
}
.article-comm-reply {
float: right;
padding-left: 15px;
padding-right: 15px;
}
div.edited-by {
padding: 0px 10px 10px 15px;
font-size: 10px;
line-height: 18px;
}
div.edited-by a.permalink {
color: #3A3A3A;
}
div.article-comments-pagination.upper-pagination {
text-align: center;
padding-top: 15px;
border-top: 1px solid #3A3A3A;
}
div.article-comments-pagination {
text-align: center;
}
.article-comments-pagination-link {
color: white;
}
.article-comments-pagination-link:hover {
color: white;
background-color: white;
text-decoration: underline;
}
#article-comments-pagination-link-prev, #article-comments-pagination-link-next {
font-weight: normal;
}
#article-comments-pagination-link-prev:hover, #article-comments-pagination-link-next:hover {
color: saddleBrown;
background-color: white;
text-decoration: underline;
font-weight: normal;
}
#article-comments blockquote .buttons {
float: right;
bottom: 5px;
margin-top: 0px;
margin-right: -10px;
}
.article-comm-text p {
margin-bottom: 1em;
}
.article-comm-text p, .article-comm-text li, #article-comments-ul, #article-comments-ul ul.sub-comments {
padding: 10px 10px 0px 15px;
}
.article-comments-pagination a.accent {
color: white;
background-color: white;
}
.article-comments-pagination-link {
border-right: 1px solid white;
}
span.tools {
margin-right: 11px;
position: relative;
top: 4px;
}

/*yey new wordmark*/

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

/*tweaks for forum:index */
table.forumlist {
background: url("http://images4.wikia.nocookie.net/__cb20120213083837/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 */