Thread:Mystic Monkey/@comment-24014422-20180323230144

Hi Mystic. I would like to tell you that I have rewritten and moved all of the codes in MediaWiki:Monobook.css to MediaWiki:Custom-monobook.less, so that we can use the LESS stylesheet language to easily format our codes. The benefit of this change is that using this extended CSS syntax (LESS) allows us to shrink the snippets of code we need to make a CSS change a reality, and thus easy browser support and the ability to reuse already written settings from an already written class to our new class by just typing that class name under the new class.

Like instead of writing this: .wikia-gallery-item .thumb { background: #FFFFFF; border: 1px solid grey; } .wikia-slideshow-images { background: #FFFFFF; border: 1px solid grey; } With LESS, you only need this: .wikia-gallery-item .thumb { background: #FFFFFF; border: 1px solid grey; } .wikia-slideshow-images { .wikia-gallery-item .thumb }

And there is a lot more to do with this language, like using variables instead of classes to carry already defined settings into multiple classes.

So, I hope you read more about LESS and how to use it from that website I linked to, and to only use MediaWiki:Custom-monobook.less to make changes to the Monobook skin. After each edit you make to that page, you must also press the "Update CSS" located on your Toolbox in order to carry the changes (automatically) to MediaWiki:Monobook.css and be executed. Again, no direct edit to "MediaWiki:Monobook.css" is needed. 