A decogrid generator for plone columns.css file.
Project description
What is it?
kombinat.decogrid is a css code generator for decogrid layouts. It generates css code similar to “columns.css” in plonetheme.sunburst. copy the generated css into your.product/skins/prod_styles/columns.css to override any other definitions.
Installation
Just add a decogrid part to your buildout:
[buildout] parts = ... decogrid [decogrid] recipe = zc.recipe.egg eggs = kombinat.decogrid
Guide
The autogenerated executable is located in your buildout bin/ directory. It allows you several options for generating decogrid css code, which can be directly pasted into your columns.css file:
kombinat:~/buildout $ bin/decogrid_generatecss -h Usage: decogrid_generatecss [options] decogrid_generatecss generate decogrid columns.css for plone (http://deco.gs). Options: -h, --help show this help message and exit -c COLUMNS, --columns=COLUMNS how many columns (default: 16) -o, --omit-margin omit left and right margin around the portal (recommended for nesting grids inside grids). -m MARGIN, --margin=MARGIN margin in pixels between each cell (default 10) -w WIDTH, --width=WIDTH portal width in pixels including potentially left and/or right margins (default: 960)
Changelog
0.2 - 2012-07-09
fixed css lineendings
removed double “position-0” declaration [petschki]
0.1.1 - 2011-05-26
updated install documentation [petschki]
0.1 - 2011-04-07
Idea and initial release [saily]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file kombinat.decogrid-0.2.zip
.
File metadata
- Download URL: kombinat.decogrid-0.2.zip
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2950b50dbc27150a7414a6f66daab4f565e91392751bca712a2cbd3cfc24b59f |
|
MD5 | e4875cd47e8826e36d2240ec82a0166a |
|
BLAKE2b-256 | cfa6740c674c59c8fd7057b168cddd701b4d2ac63bf39a2a87049018acad68ee |