summaryrefslogtreecommitdiffstats
path: root/askbot/doc/source/customizing-style-css-file-in-askbot.rst
blob: 2c2d03279485216bc8dcc4a198af1b50cf464d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.. _customizing-style-css-file-in-askbot:

====================================
Customizing style.css file in Askbot
====================================

File style.css is produced by the `lesscss compiler <http://lesscss.org>`_ - ``lessc``.

Please read documentation about the lesscss format.

Compiling lesscss files
=======================

The following command will compile the lesscss source file,
an option -x will produce compressed css file:

    lessc file.lesscss -x > file.css

Installing lesscss
==================

Make sure you have recent version of `node.js <http://nodejs.org>`_ - latest version preferred.
More recent versions of node come with the tool called `npm <http://npmjs.org>`_,
for earlier versions ``npm`` will need to be installed manually.

To install lesscss, type:

    sudo npm install less