wiki.techinc.nl/docs/kss
jdlrobson 8a7d30becd Make styleguide mobile first
Optimise for various screen sizes, defaulting to mobile view
This stops the example from jumping underneath the code

Change-Id: I3b163568f4626f411c88ab4c1133b2ed1bed9cf2
2014-08-08 18:33:37 -04:00
..
scripts LSG: Allow the style guide to build without npm present at runtime 2014-08-06 18:29:53 +00:00
styleguide-template Make styleguide mobile first 2014-08-08 18:33:37 -04:00
Makefile LSG: Allow the style guide to build without npm present at runtime 2014-08-06 18:29:53 +00:00
package.json
README.txt Update kss style guide wording and README 2014-05-11 01:33:25 +02:00

The Makefile, package.json, scripts, styleguide-template, and
mediawiki.ui/styleguide.md files and directories here and in
resources/src/mediawiki.ui/ support the automatic generation
of CSS documentation from the source LESS files using kss for
node.js, https://github.com/kneath/kss

To build and open in your web browser, run:

MEDIAWIKI_LOAD_URL=mediawiki_hostname/w/load.php make kssopen

For example,

MEDIAWIKI_LOAD_URL=1.2.3.4/w/load.php make kssopen

If MediaWiki is running on localhost, you can omit MEDIAWIKI_LOAD_URL.

To rebuild without opening the web browser, run:

MEDIAWIKI_LOAD_URL=mediawiki_hostname/w/load.php make