-
Notifications
You must be signed in to change notification settings - Fork 48
Making a style
Antonio Monje edited this page Mar 2, 2016
·
1 revision
There are really three types of styles:
- Legacy styles (as used with the old exelearning.org )
- New CSS based styles
- Advanced styles that use python code
- Icons (normally .gif)
- content.css where most of the CSS work for the style is done
- nav.css where navigation style is taken care of
- config.xml (optional)
If there is no config.xml XHTML output will be the same as old exelearning.org - if you are porting an old theme this is the fastest way.
There are more css rules in the new style HTML output which eXe generates when it sees a config.xml that let's you add more javascript and more css. To take a simple example look at default or standardwhite style.
- You can add extra JS or HTML to HEAD and BODY using extra-head and extra-body in config.xml
Here you can include a python module to take over the job of the WebsitePage python class. Know what you are doing before you get into this - see the source of WebsiteExport.py to see how this works.
In your style directory include a python file called websitepage.py and implement the functionality of exe/export/websitepage.py your own way.