Difference between revisions of "MediaWiki:Common.less"
Jump to navigation
Jump to search
(Created page with "// <pre> /* ------------------------------------------------------------------------------------------------------ * This is the root Less file that is parsed to produce Me...") |
(No difference)
|
Revision as of 10:28, 20 December 2018
//
/* ------------------------------------------------------------------------------------------------------ * This is the root Less file that is parsed to produce MediaWiki:Common.css. * * Eventually, this will be completely converted to native Less and will be a series of * imports of Less files. All CSS found here should ideally be moved to a subpage. * Converted subpages can be found at Special:PrefixIndex/MediaWiki:Common.less/. * * To update MediaWiki:Common.css from here, click the "Update CSS" button at the top. * ------------------------------------------------------------------------------------------------------ * Less documentation: <http://lesscss.org/features/> * Gadget: <https://kingkiller.wiki/w/MediaWiki:Gadget-Less.js> * Core JS: <https://kingkiller.wiki/w/MediaWiki:Gadget-Less-core.js> * Non-standard mixins: <https://kingkiller.wiki/w/MediaWiki:Gadget-LessMixins.less> * Online Less tester: <http://lesstester.com/> * ------------------------------------------------------------------------------------------------------ */ /* ------------------------------------------ * TABLE OF CONTENTS * * - Imports * - Important stuff * - Local modifications * - Custom classes * - Templates * - Page specific styling * - Script CSS * - Junk that hasn't been organised yet ------------------------------------------ */ /* ============= IMPORTS ============= */ @dir: 'MediaWiki:Common.less'; // important stuff @import '@{dir}/fonts.less'; // needs to be first, due to the Google Fonts @import @import '@{dir}/variables.less'; // color variables