Gaming
 
[Quarenon]

Quarenon 5,251 edits since May 17, 2009

5,251

User:Quarenon/CSS

From the RuneScape Wiki, the wiki for all things RuneScape

  Quarenon edit
Community RuneScape Wiki Tools Other

Here are some CSS tricks you can use to customize the appearance of RuneScape Wiki or other Wikia-based wikis. All the code can be added to your personal monaco.css or monobook.css file.

Contents

[edit] Yew Grove Thread List

This code adds additional styling to the Yew Grove thread list. Alternating rows are highlighted and a border is added around the thread table. This style is suitable for any theme with a light background. This code is not fully compatible with Internet Explorer.

/* Yew Grove styling */
.forumlist {
	border-collapse: collapse;
	border: 1px solid black;
}

.forumlist th {
	background-color: #EEEEFF !important;
	color: black !important;
	border: 1px solid black;
}

.forumlist tr:nth-child(odd) {
	background-color: #DFFFDF;
}

.forumlist.archive tr:last-child th {
	border: none;
}

[edit] Hide the Tagline

The wiki tagline appears underneath the article title. For RuneScape Wiki, it reads "From the RuneScape Wiki, the wiki for all things RuneScape." To hide this text, use the following code:

/* Hide tagline */
#siteSub {
	display: none !important;
}

[edit] Hide New Page/Add Image Links

These buttons appear under the Monaco toolbox. Use this code to hide these links:

/* Hide "Write an article/Add image" */
#link_box_dynamic {
	display: none !important;
}

[edit] User Highlight

You can highlight specific users (including yourself) on lists such as Special:RecentChanges and page histories. Use the following code, replacing JohnDoe with the user to highlight.

/* User highlight */
.mw-userlink[href="/wiki/User:JohnDoe"] {
	background-color: yellow;
	color: black !important;
}

[edit] Use a Custom Theme

It is possible to generate a custom theme for Monaco with a unique color scheme and logo. RS:THEME has a list of various custom themes created by users for RuneScape Wiki as well as instructions for using them. If you are interested in creating your own custom theme, check out Wikia's customization guide.

[edit] Wikia Global CSS

If you would like your CSS changes to apply to all Wikia-based wikis, then you can edit a global CSS file located at Central Wiki.