| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Mon, 22 Dec 2025 08:12:19 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090917105650
location: https://web.archive.org/web/20090917105650/https://github.com/Poromenos/clevercss/tree
server-timing: captures_list;dur=1.053761, exclusion.robots;dur=0.084263, exclusion.robots.policy;dur=0.066779, esindex;dur=0.014568, cdx.remote;dur=99.642398, LoadShardBlock;dur=124.479958, PetaboxLoader3.datanode;dur=53.354696, PetaboxLoader3.resolve;dur=35.409485
x-app-server: wwwb-app204-dc6
x-ts: 302
x-tr: 286
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app204; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Mon, 22 Dec 2025 08:12:20 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.35
x-archive-orig-date: Thu, 17 Sep 2009 10:56:49 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "2289c404eae4e0f1361cd30c4c96d840"
x-archive-orig-x-runtime: 684ms
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 22570
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 17 Sep 2009 10:56:50 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_11_20090917085811_crawl103.gpg-c/52_11_20090917105505_crawl101.arc.gz
server-timing: captures_list;dur=0.537959, exclusion.robots;dur=0.019140, exclusion.robots.policy;dur=0.008651, esindex;dur=0.007677, cdx.remote;dur=15.671907, LoadShardBlock;dur=118.486343, PetaboxLoader3.datanode;dur=202.143917, PetaboxLoader3.resolve;dur=87.538965, load_resource;dur=201.124571
x-app-server: wwwb-app204-dc6
x-ts: 200
x-tr: 393
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Poromenos's clevercss at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| Fork of dziegler/clevercss | |
| Description: | An updated version Armin Ronacher's CleverCSS 0.1 that includes several bug fixes. edit |
| Homepage: | https://sandbox.pocoo.org/clevercss/ edit |
| Public Clone URL: |
git://github.com/Poromenos/clevercss.git
Give this clone URL to anyone.
git clone git://github.com/Poromenos/clevercss.git
|
| Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:Poromenos/clevercss.git
|
Stavros Korokithakis (author)
Mon Sep 07 04:34:56 -0700 2009
commit 223a011512d5a3fcfc818b6ddc798adfa6fe4565
tree cc71e3fcae554d73736dc98bb102f9cf5c3322fe
parent 9947110459f7b4d3181e2a4ad7cf7da8ddf223fa
tree cc71e3fcae554d73736dc98bb102f9cf5c3322fe
parent 9947110459f7b4d3181e2a4ad7cf7da8ddf223fa
| name | age | message | |
|---|---|---|---|
| |
BUGFIXES | Tue Sep 01 06:44:49 -0700 2009 | None check in Engine.evaluate() [dziegler] |
| |
README | Mon Apr 20 07:14:19 -0700 2009 | add README [dziegler] |
| |
clevercss.py | Mon Sep 07 04:34:56 -0700 2009 | Removed redundant branch. [Stavros Korokithakis] |
| |
setup.py | Tue Sep 01 06:44:49 -0700 2009 | None check in Engine.evaluate() [dziegler] |
| |
tests/ | Tue Sep 01 06:44:49 -0700 2009 | None check in Engine.evaluate() [dziegler] |
README
=========
CleverCSS
=========
CleverCSS is a small markup language for CSS inspired by Python that can be used
to build a style sheet in a clean and structured way. In many ways it's cleaner
and more powerful than CSS2 is.
The most obvious difference to CSS is the syntax: it is indentation based and
not flat. While this is obviously against the Python Zen, it's nonetheless a
good idea for structural styles.
Nutshell
========
To get an idea of how CleverCSS works you can see a small example below. Note
the indentation based syntax and how you can nest rules::
ul#comments, ol#comments:
margin: 0
padding: 0
li:
padding: 0.4em
margin: 0.8em 0 0.8em
h3:
font-size: 1.2em
p:
padding: 0.3em
p.meta:
text-align: right
color: #ddd
Of course you can do the very same in CSS, but because of its flat nature the
code would look more verbose. The following piece of code is the CleverCSS
output of the above file::
ul#comments,
ol#comments {
margin: 0;
padding: 0;
}
ul#comments li,
ol#comments li {
padding: 0.4em;
margin: 0.8em 0 0.8em;
}
ul#comments li h3,
ol#comments li h3 {
font-size: 1.2em;
}
ul#comments li p,
ol#comments li p {
padding: 0.3em;
}
ul#comments li p.meta,
ol#comments li p.meta {
text-align: right;
color: #dddddd;
}
But that's only a small example of what you can do with CleverCSS. Have a look
at the following documentation of CleverCSS for more details.
This feature is coming soon. Sit tight!











