Admin Forum:A few monobook questions

Forums: Admin Central Index → General Questions → A few monobook questions Wikia's forums are a place for the community to help other members. To contact staff directly or to report bugs, please use Special:Contact.

I've got a few MonoBook questions that I would like to ask:



1. Major Tools
Here at Central, I've noticed using the MonoBook version the few links just above the main article (circled in the image) has a green border with border radius and also turns green during hover. What CSS are used for that, I can't find anything similar to that in MediaWiki:Monobook.css.

2. Background Linear
Why does Community Central using the Monobook version see a from dark blue fading to light blue background? Is it possible to put it on Isle of Tune Wiki? If so, then how?


 * The styles are in Monobook.css, you just have to know what to look for. Here are the styles that do what you're talking about, in no particular order:

background-color: #FFFFFF; border-color: #88c440; border-width: 2px 2px 0; -moz-border-radius: 10px 10px 0 0; -webkit-border-radius: 10px 10px 0 0; -o-border-radius: 10px 10px 0 0; -khtml-border-radius: 10px 10px 0 0; border-radius: 10px 10px 0 0; }
 * 1) p-cactions li {

background-color: #FFFFFF; color: #000000; -moz-border-radius: 10px 10px 0 0; -webkit-border-radius: 10px 10px 0 0; -o-border-radius: 10px 10px 0 0; -khtml-border-radius: 10px 10px 0 0; border-radius: 10px 10px 0 0; }
 * 1) p-cactions li a {

background-color: transparent; color: #88c440; text-decoration: underline; }
 * 1) p-cactions li a:hover {


 * In the regard of the background, Wikia actually uses a 1px x 1200px image for the gradient and just repeats it all the way across the page. That's quite an inefficient way of doing things. I'd suggest just using a CSS gradient to do it. I'm not going to explain them here because they're a bit complicated, but there's a good article over here that explains them. — Matthew2602 (talk) 09:16, June 22, 2012 (UTC)


 * Thanks, but how do I actually select the outside part? Also, is it possible to make it fixed?
 * The outside part of what? And make what fixed? The background? — Matthew2602 (talk) 09:59, June 22, 2012 (UTC)


 * Sorry that I didn't explain it clearly &mdash; I was asking what CSS selector can be used to select the background, and is it possible to make it position: fixed
 * The background is just controlled with the body tag, as it is on most websites. You can't use position:fixed on the background, because it isn't it's own element, but you can use  instead. — Matthew2602 (talk) 11:50, June 22, 2012 (UTC)

I did But it didn't work. What was wrong with it?
 * didn't work either. Since you know that Community Central has repeated an image, can you copy the code here for me please? Thanks! Sam Wang (talk) 12:33, June 22, 2012 (UTC)
 * (edit conflict) First, you should probably specify a direction that the gradient is coming from as the first value (eg. 'top', 'left', 'right', 'bottom') You're also going to have to use vector prefixes for that. The core and   properties have little cross-browser support. You're going to have to do something like:


 * Also, by "body", I meant the element, not the class name. You're targeting the class name.
 * Try using background-image instead of just background. You could also be throwing your browser off by using center top, which is completely redundant because a linear gradient covers the entire side, and your browser probably doesn't recognise it. — Matthew2602 (talk) 12:44, June 22, 2012 (UTC)


 * Thanks! Sam Wang (talk) 00:10, June 23, 2012 (UTC)