-
Notifications
You must be signed in to change notification settings - Fork 0
Theme Options
tacoen edited this page May 30, 2014
·
7 revisions
Wordpress theme consisted in 3 part. PHP Code, Scripts, and Styles.
UM base on underscore.me(_s) which are just right amount of lean, well-commented, modern, HTML5 templates. with ultra-minimal CSS and javascripts.
The most prominent key of themes is style.css (The Styles), which contains (base on _s):
- Reset
- Typography
- Elements
- Forms (with Navigations)
- Accessibility
- Alignments
- Clearings
- Widgets
- Content
- Infinite scroll
- Media
In UM, we split the style.css into:
- Reseting Styles
reset.css - Wordpress Default(Rebuilding Styles)
css/base.css - Wordpress basic navigations
css/nav.css(menus, page-nav, *-nav) - and add our own UM-GUI (also in ultra minimal)
css/um-gui-lib.css - The 'style.css'
- Optionally 'layout' styles
- Optionally 'um-scheme' for colour scheme.
Since '1.1.4' we extract the sytles into css3 media queries. Um, Yes. It's shall be responsive in design
- 'print.css' How your page/post will look when printed
- 'medium.css' How your site will look in medium-width-devices(tablet)
- 'small.css' How your site will loook in small-width-devices(handheld)
To lean about media queries:
We have learned much from/been inspired by/taken code where offered from:
Eric Meyer :: http://meyerweb.com HTML5 Doctor :: http://html5doctor.com and the HTML5 Boilerplate :: http://html5boilerplate.com