MediaWiki talk:Monobook.css

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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

[edit]

PLease add the folowing code to the botom of the page. --Cool CatTalk|@ 20:02, 26 February 2006 (UTC)[reply]

/* 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;

}

/*

Coloured background

[edit]

I understand why the background colour has been changed, but I personally think it looks horrible. Is there an alternate way to make non-transparent backgrounds easier to see than this? Thryduulf 14:54, 27 March 2006 (UTC)[reply]

Justify

[edit]

Please, add to the CSS-files "Justify" for all texts.

Why? The vast majority of Commons is left-justified, and the Hebrew language text is right-justified.   — Jeff G. (talk|contribs) 17:00, 17 June 2007 (UTC)[reply]

Background skin change.

[edit]

I hope this will take. I was personally getting tired of the same mediawiki book background and thought we could use something a bit different and unique for Commons... (Can probably use some other tweaking too, but one thing at a time!) I hope people like it. If not, make it better (don't change it back!) Bastique demandez 23:05, 15 September 2008 (UTC)[reply]

I like it. Oh, and I noticed there were several places where it had background=#fff - shouldn't this be #ffffff ? -mattbuck (Talk) 13:08, 16 September 2008 (UTC)[reply]
Well, I would like to get rid of it. How? --AFBorchert (talk) 18:33, 16 September 2008 (UTC)[reply]
Change your monobook.js - see COM:VP. -mattbuck (Talk) 18:56, 16 September 2008 (UTC)[reply]

hide heading for Main Page (Monobook skin only)

[edit]

{{Editprotected}} Please add in section "hide heading for Main Page (Monobook skin only)" following code (for Russian version of Main Page):

 
BODY.page-Заглавная_страница H1.firstHeading {
   display: none;

--Kaganer (talk) 23:36, 26 December 2009 (UTC)[reply]

✓ Done for the moment, though we should probably move this code to an own .css file (MediaWiki:Main Pages.css?) as we got a lot of Main Pages and this would be at least also have to be done for the Vector skin (don't know about the other skins). --The Evil IP address (talk) 01:40, 27 December 2009 (UTC)[reply]
Thanks and  Support of this idea ;) --Kaganer (talk) 01:16, 11 January 2010 (UTC)[reply]

Oi!

[edit]

Put the logo back! We had one person griping that they hated it, and it made Commons look nicely different from en.wp. -mattbuck (Talk) 18:24, 24 August 2010 (UTC)[reply]

What!? Are you sure? Everyone that has commented on it said they didn't like it (or so I thought...). It was a horrible ugly background. Rocket000 (talk) 18:26, 24 August 2010 (UTC)[reply]
What about using a solid color background like vector? I admit the book image doesn't really fit Commons. Rocket000 (talk) 18:29, 24 August 2010 (UTC)[reply]
If you really like it, you can just easily put it into your /monobook.css. --The Evil IP address (talk) 19:37, 24 August 2010 (UTC)[reply]

Edit request on 16 July 2021

[edit]

{{Edit request}} There are 10 warnings.

  1. [10] Element (div.thumb) is overqualified, just use .thumb without element name.
  2. [16] margin can't be used with display: inline.
  3. [37] Element (div.NavPic) is overqualified, just use .NavPic without element name.
  4. [43] Element (div.NavHead) is overqualified, just use .NavHead without element name.
  5. [59] Element (div.NavEnd) is overqualified, just use .NavEnd without element name.
  6. [79] Use of !important
  7. [93] Element (div.topicon) is overqualified, just use .topicon without element name.
  8. [97] Use of !important
  9. [100] Use of !important

Choose the ones you have to say "no" to. أحمدمحمدرمضانسعيد (talk) 10:32, 16 July 2021 (UTC)[reply]

 Not done Not relevant. --AntiCompositeNumber (talk) 21:55, 16 February 2022 (UTC)[reply]