Skip to content
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.

Styles

The most prominent key of themes is style.css (The Styles), which contains (base on _s):

  1. Reset
  2. Typography
  3. Elements
  4. Forms (with Navigations)
  5. Accessibility
  6. Alignments
  7. Clearings
  8. Widgets
  9. Content
  10. Infinite scroll
  11. Media

In UM, we split the style.css into:

  1. Reseting Styles reset.css
  2. Wordpress Default(Rebuilding Styles) css/base.css
  3. Wordpress basic navigations css/nav.css (menus, page-nav, *-nav)
  4. and add our own UM-GUI (also in ultra minimal) css/um-gui-lib.css
  5. The 'style.css'
  6. Optionally 'layout' styles
  7. 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

  1. 'print.css' How your page/post will look when printed
  2. 'medium.css' How your site will look in medium-width-devices(tablet)
  3. 'small.css' How your site will loook in small-width-devices(handheld)

To lean about media queries:

Reset.css

For them you develop many site, Wordpress or non-wordpress site, having a own copies on 'reset.css' will be gracefull instead having it inside style.css.

UM use HTML5 Reset <html5reset.org>, which are learned much from/been inspired by/taken code where offered from:

Wordpress Default

UM-GUI

Reduce

Clone this wiki locally