Mothership is an HTML5 base theme that offers a workaround to Drupal’s obscure love for wrapping everything in 2 divs and slapping on 3 CSS classes wherever possible.
Like other blank canvas base themes (eg Stark, Framework), this theme will NOT make your site look pretty. Unlike the others, it will do more to help you clean up the mess of excessive markup that Drupal provides out of the box, offering settings to optionally remove CSS classes in the markup.
If you really like the markup & CSS options that Drupal provides, this theme is probably not for you, and that's perfectly okay. If, on the other hand, you care about clean markup & CSS, Mothership could be the solution you have been dreaming of all your life.
The cure for divitis
Drupal suffers from divitis:
<div><div><div><div><div><div><div><div>$foo….. I didn't ask for 3 div wrappers so don't add them, Drupal!
<div class="baseclass anotherbaseclass yetanotherclass andonemorejustbecausewemightneedit">...</div>
- No reason to load in classes that aren't needed!
That makes it even harder to read the markup and makes for a seemingly endless amount of CSS overwriting. In Mothership, settings are provided to remove those that are not needed. This provides you with the ability to control the configuration at will. So if stuff breaks, it's pretty easy to set things back to the default markup. This also saves us from surprises later in the process, for example, if a contributed module suddenly changes its CSS.
Be nice to the web (and mobile devices too) - don't load CSS files that the theme doesn’t need and will be overwritten anyway.
Control which CSS files should be used - all the way down from Drupal core.
Hard-coded image files
- Drupal7 still comes with hard-coded image files! (omgwtfbbq)
Changing images directly in the markup is cumbersome - Mothership puts them in its own CSS file. (css/mothership.css)
No visual fluff
No visual design added - We don't want to deal with more CSS that isn't needed. (Mothership does come with a design.css for some common defaults, but this can be turned off.)
Mothership is - since 7.x-2.0 - an HTML5-only theme.
Drupal8 pre-ready ;)
As the Drupal8 platform is being developed & discussed, Mothership will look for better implementations and will add them as we see fit.
Quick & easy CSS resets
Don't bring your own! ;) Three of the standard resets are included out of the box: The Eric Meyer reset.css, html5 Doctor's reset & The Normalizer.
Tons of Settings
So we don't end up breaking backwards compatibility with existing modules and functionality, all the css fixes are quickly undone by changing the settings. All these options means Mothership has a lot of settings, so be prepared to see some lengthy lists.
Fix everything that is wrong (™)
This is a tool for theme development intended for those who care about clean HTML5 markup, CSS independence, and Drupal. Why make everyone sift through Drupal core? Mothership cleans the slate and provides settings to strip out more, making it easier for new front end developers to begin using Drupal with less “what is that div doing there?” for everyone.