MediaWiki talk:Monobook.css

From Meta, a Wikimedia project coordination wiki
This interface message is documented at mw:Manual:Interface/Monobook.css.

Grey background[edit]

Daniel, please could you discuss this before making such major (and awful) changes to the whole site. If you are able to read text on a dark gray background, you could put this in your personal stylesheet, but I really can't imagine most people would want such a color scheme. Angela 20:31, 6 Oct 2004 (UTC)

It should be light gray - reload your cache. And I did discuss this on the Babel. --mav

tried #BBBBBB, it doesn't change anything. Mav, I really object to this. My browser make it extremely dark, can't read anything decently now :( villy 20:36, 6 Oct 2004 (UTC)

Mav, it's gray alright, but not light at all. ;o) Yann 20:38, 6 Oct 2004 (UTC)

The comment on Babel implied you were going to put it to the color that Meta used to be before monobook. This is certainly not like that. I have reloaded my cache, and it still looks very dark. Even the tabs are grey. It would be better to change the color outside the content (such as the sidebar), rather than changing the color of the main part of the page. Angela 20:41, 6 Oct 2004 (UTC)

My bad - I should have tested this more. Now things should be as they were on Meta before. --mav

I feel now like I'm home again. Thx mav :) villy 20:59, 6 Oct 2004 (UTC)
:) Now if somebody could figure out how to add "From Meta-Wiki; discussion about Wikimedia projects" under each page title, then that would be great. --mav
done, I did the message and Angela the stylesheet, this is synchronization:) villy 21:18, 6 Oct 2004 (UTC)
The color is much better now. I changed From Meta-Wiki to From Meta since Meta-Wiki is a different wiki. Angela 21:21, 6 Oct 2004 (UTC)

Request for completion of Background change[edit]

See, this is ugly

There are quite a bit of missing CSS declarations that should have gone along with the background change, most notably the tabs on top and images (see right). I believe this would fix it:

#p-cactions li, #p-cactions li a {background-color:#eaeaea} /*darker color for unselected ones*/
#p-cactions li.selected, #p-cactions li.selected a {background-color:#f4f4f4;}
#p-cactions li.selected, #p-cactions li a:hover {background-color:#f4f4f4;}
div.thumb {border-color:#f4f4f4;}
table.plainlinks {background-color:inherit;}
table {background:inherit;} /* possibly contested */

We would have to remove, however, the patchy fixes for the article namespace for my fixes to take full effect (my selectors aren't as precise). Otherwise, add !important to all the #p-cactions selectors.

The table background thing may be contested because a lot of tables used in Meta assume that the background color is white, but other tables would look nicer if they had the same grey background. Feel free not to update it, but the other things should be fixed.

Also, we might want to consider making the portlets gray too. Ambush Commander 01:52, 9 January 2006 (UTC)[reply]

Show/Hide structure from w:MediaWiki talk:Monobook.css[edit]

/* Standard Navigationsleisten, aka box hiding thingy from .de.*/

div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 2px;
        border: 1px solid #aaaaaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #ffffff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        font-size: 100%;
        background-color: #efefef;
        position:relative;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}

/*

Fault[edit]

I become a fault in line 14 must call #ffffff; not #fffff; -- Olliminatore 12:17, 12 May 2006 (UTC)[reply]

Fixed. // [admin] Pathoschild (talk/map) 22:18, 16 May 2006 (UTC)[reply]

Background colors[edit]

Someone can help me with this? Slade 23:30, 18 November 2007 (UTC)[reply]

Why do we want that? —{admin} Pathoschild 03:26:16, 19 November 2007 (UTC)
IMHO we don't need that because on Meta the difference between main namespace and other namespaces is not as important as on Wikipedia ∴ Alex Smotrov 04:40, 19 November 2007 (UTC)[reply]
Just stethical(?) changes, not more. Slade 17:14, 25 November 2007 (UTC)[reply]
We should minimize CSS, because MediaWiki already loads very slowly when uncached on slower connections. :) —{admin} Pathoschild 19:32:29, 25 November 2007 (UTC)

Cleanup[edit]

{{editprotected}}

Alex Smotrov 04:40, 19 November 2007 (UTC)[reply]

I've done some pretty extensive cleanup; everything above except moving content to Mediawiki:Common.css is done, among other things. —{admin} Pathoschild 07:02:28, 19 November 2007 (UTC)

Hide Main Page header[edit]

Does it make sense to hide "Main Page" header on the Main Page as it's done in many other projects (e.g. see en:Mediawiki:Monobook.css? ∴ Alex Smotrov 04:40, 19 November 2007 (UTC)[reply]

Not really; some projects hide it because they use a customized header box, but Meta doesn't. There's also a problem with the fact that there are 71 main pages (in different languages), and it would be cumbersome to hide it for all of them. I think "Main Page" is fine for Meta. —{admin} Pathoschild 07:15:25, 19 November 2007 (UTC)

MediaWiki:Monobook.css help page[edit]

Is there currently a MediaWiki:Monobook.css help page anywhere? If there is can that be mentioned on MediaWiki:Monobook.css? I can create one at Help:MediaWiki:Monobook.css. Odessaukrain 18:54, 7 April 2008 (UTC)[reply]

Hmm... (almost empty) mw:Manual:Interface/JavaScript? By the way, "Monobook" is just one out of 8 skins, so that wouldn't be a good name for such a help page. P.S. Please start new discussion sections with + tab on top of the page. -AlexSm 23:40, 7 April 2008 (UTC)[reply]

mobile device[edit]

Meta is ugly and difficult to navigate with a mobile device. Since we don't have a wap for Meta (or need one) consider adapting the monobook by adding a stylesheet rules for mobile browsers (like getting rid of the wasted inch of space on the left). 216.220.216.161 15:27, 8 August 2008 (UTC)[reply]

Font prescription[edit]

{{editprotected}} .lang_info uses font-family:Arial, sans-serif. Since this was exported into Mediawiki:Common.css, it makes a bad font in Standard.css for Template:Lang, because it uses span[lang]. —Guy Peters 18:22, 14 August 2010 (UTC)[reply]

Please say better what you want to get changed. Huib talk Abigor 13:31, 4 September 2010 (UTC)[reply]

Make MediaWiki:Tagline a bit smaller[edit]

The MediaWiki:Tagline is way too big (maybe not very visible on the desktop version) but it's quite annoying in responsive MonoBook design when accessing via smaller screen. So I think we need make it a little bit smaller by adding this code:

/* Make "From Meta, a Wikimedia project coordination wiki" a bit smaller */
#siteSub {
	font-size: 92%;
}

this code taken from en:MediaWiki:Monobook.css#L-60. Thanks. --Hidayatsrf (talk) 01:43, 17 July 2021 (UTC)[reply]

Done. Sgd. —Hasley 15:23, 17 July 2021 (UTC)[reply]