[ckan-dev] About CKAN's CSS file

Toby Dacre toby.okfn at gmail.com
Wed Jun 19 09:42:10 UTC 2013


On 19 June 2013 09:55, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:

> The min.css is a minified version of the original CSS file.****
>
> CKAN are using LESS for CSS and you will need to edit the original and
> then rebuild it, more information here under Stylesheets:****
>
> http://docs.ckan.org/en/ckan-2.0/frontend-development.html****
>
> **
>

The docs are a bit unhelpful here.

basically make your changes in ckan/public/base/less/custom.css to keep
them separate from ckan's

compile to css using `ckan/bin/less` and `ckan/bin/less -p`

minifiy etc by `paster front-end-build`


I've created an issue for improving them
https://github.com/okfn/ckan/issues/1026


**
>
> *Fra:* ckan-dev-bounces at lists.okfn.org [mailto:
> ckan-dev-bounces at lists.okfn.org] *På vegne af *flaz
> *Sendt:* 19. juni 2013 10:42
> *Til:* ckan-dev at lists.okfn.org
> *Emne:* [ckan-dev] About CKAN's CSS file****
>
> ** **
>
> Hello, I have a question about CSS file of CKAN.****
>
> I found two CSS files for main page:****
>
> main.css****
>
> main.min.css****
>
>  ****
>
> But when I saw the homepage with the Developer tool of Chrome,****
>
> the homepage was using main.min.css file.****
>
>  ****
>
> And I want to update it, but there is no enter or new line in CSS file.***
> *
>
> I am using vi, so it is too hard to modify it. How to modify it normally
> and in easy way?****
>
> [image: Billede fjernet af afsender.]****
>
> ** **
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>


-- 
Toby Dacre

The Open Knowledge Foundation

Empowering through Open Knowledge
http://okfn.org/  |  @okfn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130619/5424caa4/attachment-0001.html>


More information about the ckan-dev mailing list