Age | Commit message (Collapse) | Author | Files | Lines |
|
This makes sure that these also get forced reloaded on a version change.
|
|
And updated skingen.pl and vndb.pl to make use of this abstraction.
|
|
|
|
The minified and gzipped CSS file is now 0.7kB smaller than the
non-minified but gzipped CSS file. That's significant enough on ~5kB.
|
|
|
|
Simply set the 'maintitle' to '0'
|
|
|
|
...by removing all newlines, whitespace and comments from the
generated CSS file.
None of the CSS sent to the browser is maintained by hand now, so
adding some compression is easy. :-)
This compression is disabled if the debug config flag is enabled,
considering debugging an unreadable CSS file isn't fun.
|
|
|
|
So, instead of using separate smaller CSS files to overwrite
directives in the main (/static/f/style.css) file, I decided
to generate one CSS file for each skin, which includes everything
needed to render the page. The template for this skin is now
/data/skingen/style.css.
I just don't feel like maintaining two separate files when
changing something to the CSS.
Also converted the old layout into a skin directory (angel),
since the default skin isn't in the CSS template anymore.
|
|
generator
|
|
...but not yet in the skin generator, as I haven't really decided
yet whether to generate those colors based on the other colors, or
to make them configurable from the skin config (= more work for the
people who create the skins)
|
|
How it works:
Create new directory in static/s/
Create a 'conf' file (see the test skin for a template)
Run skingen.pl, which will generate a style.css and boxbg.png
This process will probably be automated using a simple web interface
or something...
There's no skin selector yet, so Util/LayoutHTML.pm has to be modified
to view the generated skin.
|