apply optimization from yslow
This commit is contained in:
parent
4a09e064bf
commit
125d1ef329
2
Gemfile
2
Gemfile
@ -1,7 +1,7 @@
|
|||||||
source "http://rubygems.org"
|
source "http://rubygems.org"
|
||||||
|
|
||||||
gem "compass", ">= 0.13.alpha.0"
|
gem "compass", ">= 0.13.alpha.0"
|
||||||
gem "middleman", "~>2.0.15.3"
|
gem "middleman", ">= 3.0.0.rc.1"
|
||||||
gem "middleman-smusher"
|
gem "middleman-smusher"
|
||||||
|
|
||||||
gem 'compass-960-plugin'
|
gem 'compass-960-plugin'
|
||||||
|
105
Gemfile.lock
105
Gemfile.lock
@ -4,7 +4,6 @@ GEM
|
|||||||
activesupport (3.2.6)
|
activesupport (3.2.6)
|
||||||
i18n (~> 0.6)
|
i18n (~> 0.6)
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
addressable (2.2.8)
|
|
||||||
chunky_png (1.2.5)
|
chunky_png (1.2.5)
|
||||||
coffee-script (2.2.0)
|
coffee-script (2.2.0)
|
||||||
coffee-script-source
|
coffee-script-source
|
||||||
@ -16,20 +15,10 @@ GEM
|
|||||||
sass (~> 3.2.0.alpha.93)
|
sass (~> 3.2.0.alpha.93)
|
||||||
compass-960-plugin (0.10.4)
|
compass-960-plugin (0.10.4)
|
||||||
compass (>= 0.10.0)
|
compass (>= 0.10.0)
|
||||||
daemons (1.1.8)
|
execjs (1.3.2)
|
||||||
em-websocket (0.3.6)
|
|
||||||
addressable (>= 2.1.1)
|
|
||||||
eventmachine (>= 0.12.9)
|
|
||||||
eventmachine (0.12.10)
|
|
||||||
execjs (1.2.13)
|
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
|
ffi (1.0.11)
|
||||||
fssm (0.2.9)
|
fssm (0.2.9)
|
||||||
guard (0.6.3)
|
|
||||||
thor (~> 0.14.6)
|
|
||||||
guard-livereload (0.3.1)
|
|
||||||
em-websocket (>= 0.2.0)
|
|
||||||
guard (>= 0.4.0)
|
|
||||||
multi_json (~> 1.0.3)
|
|
||||||
haml (3.1.6)
|
haml (3.1.6)
|
||||||
hike (1.2.1)
|
hike (1.2.1)
|
||||||
http_router (0.10.2)
|
http_router (0.10.2)
|
||||||
@ -38,34 +27,43 @@ GEM
|
|||||||
httpclient (2.2.5)
|
httpclient (2.2.5)
|
||||||
i18n (0.6.0)
|
i18n (0.6.0)
|
||||||
json (1.7.3)
|
json (1.7.3)
|
||||||
|
listen (0.4.6)
|
||||||
|
rb-fchange (~> 0.0.5)
|
||||||
|
rb-fsevent (~> 0.9.1)
|
||||||
|
rb-inotify (~> 0.8.8)
|
||||||
maruku (0.6.0)
|
maruku (0.6.0)
|
||||||
syntax (>= 1.0.0)
|
syntax (>= 1.0.0)
|
||||||
middleman (2.0.15.3)
|
middleman (3.0.0.rc.1)
|
||||||
coffee-script (~> 2.2.0)
|
middleman-core (= 3.0.0.rc.1)
|
||||||
compass (~> 0.11)
|
middleman-more (= 3.0.0.rc.1)
|
||||||
execjs (~> 1.2.7)
|
middleman-sprockets (= 3.0.0.rc.1)
|
||||||
guard (~> 0.6.2)
|
middleman-core (3.0.0.rc.1)
|
||||||
haml (~> 3.1.0)
|
activesupport (~> 3.2.4)
|
||||||
maruku (~> 0.6.0)
|
bundler (~> 1.1)
|
||||||
middleman-livereload (~> 0.2.0)
|
listen (~> 0.4.2)
|
||||||
padrino-core (~> 0.10.5)
|
rack (~> 1.4.0)
|
||||||
padrino-helpers (~> 0.10.5)
|
|
||||||
rack (~> 1.3.5)
|
|
||||||
rack-test (~> 0.6.1)
|
rack-test (~> 0.6.1)
|
||||||
sass (>= 3.1.7)
|
thor (~> 0.14.3)
|
||||||
sinatra (~> 1.3.1)
|
|
||||||
slim (~> 1.0.2)
|
|
||||||
sprockets (~> 2.0.3)
|
|
||||||
thin (~> 1.2.11)
|
|
||||||
thor (~> 0.14.0)
|
|
||||||
tilt (~> 1.3.1)
|
tilt (~> 1.3.1)
|
||||||
uglifier (~> 1.2)
|
middleman-more (3.0.0.rc.1)
|
||||||
middleman-livereload (0.2.1)
|
coffee-script (~> 2.2.0)
|
||||||
guard-livereload (~> 0.3.1)
|
coffee-script-source (~> 1.3.3)
|
||||||
middleman-smusher (0.2.0)
|
compass (>= 0.12.1)
|
||||||
middleman (~> 2.0.2)
|
execjs (~> 1.3.2)
|
||||||
smusher (~> 0.4.8)
|
haml (>= 3.1.0)
|
||||||
multi_json (1.0.4)
|
i18n (~> 0.6.0)
|
||||||
|
maruku (~> 0.6.0)
|
||||||
|
middleman-core (= 3.0.0.rc.1)
|
||||||
|
padrino-helpers (~> 0.10.6)
|
||||||
|
sass (>= 3.1.7)
|
||||||
|
uglifier (~> 1.2.0)
|
||||||
|
middleman-smusher (0.0.1)
|
||||||
|
smusher (~> 0.4.6)
|
||||||
|
middleman-sprockets (3.0.0.rc.1)
|
||||||
|
middleman-more (= 3.0.0.rc.1)
|
||||||
|
sprockets (~> 2.1)
|
||||||
|
sprockets-sass (~> 0.8.0)
|
||||||
|
multi_json (1.3.6)
|
||||||
oily_png (1.0.2)
|
oily_png (1.0.2)
|
||||||
chunky_png (~> 1.2.1)
|
chunky_png (~> 1.2.1)
|
||||||
padrino-core (0.10.6)
|
padrino-core (0.10.6)
|
||||||
@ -77,39 +75,44 @@ GEM
|
|||||||
padrino-helpers (0.10.6)
|
padrino-helpers (0.10.6)
|
||||||
i18n (~> 0.6)
|
i18n (~> 0.6)
|
||||||
padrino-core (= 0.10.6)
|
padrino-core (= 0.10.6)
|
||||||
rack (1.3.6)
|
rack (1.4.1)
|
||||||
rack-protection (1.2.0)
|
rack-protection (1.2.0)
|
||||||
rack
|
rack
|
||||||
rack-test (0.6.1)
|
rack-test (0.6.1)
|
||||||
rack (>= 1.0)
|
rack (>= 1.0)
|
||||||
rake (0.9.2.2)
|
rake (0.9.2.2)
|
||||||
sass (3.2.0.alpha.244)
|
rb-fchange (0.0.5)
|
||||||
|
ffi
|
||||||
|
rb-fsevent (0.9.1)
|
||||||
|
rb-inotify (0.8.8)
|
||||||
|
ffi (>= 0.5.0)
|
||||||
|
sass (3.2.0.alpha.247)
|
||||||
sinatra (1.3.2)
|
sinatra (1.3.2)
|
||||||
rack (~> 1.3, >= 1.3.6)
|
rack (~> 1.3, >= 1.3.6)
|
||||||
rack-protection (~> 1.2)
|
rack-protection (~> 1.2)
|
||||||
tilt (~> 1.3, >= 1.3.3)
|
tilt (~> 1.3, >= 1.3.3)
|
||||||
slim (1.0.4)
|
slim (1.2.2)
|
||||||
temple (~> 0.3.4)
|
temple (~> 0.4.0)
|
||||||
tilt (~> 1.3.2)
|
tilt (~> 1.3.3)
|
||||||
smusher (0.4.9)
|
smusher (0.4.9)
|
||||||
httpclient (>= 2.2)
|
httpclient (>= 2.2)
|
||||||
json
|
json
|
||||||
rake
|
rake
|
||||||
sprockets (2.0.4)
|
sprockets (2.4.3)
|
||||||
hike (~> 1.2)
|
hike (~> 1.2)
|
||||||
|
multi_json (~> 1.0)
|
||||||
rack (~> 1.0)
|
rack (~> 1.0)
|
||||||
tilt (~> 1.1, != 1.3.0)
|
tilt (~> 1.1, != 1.3.0)
|
||||||
|
sprockets-sass (0.8.0)
|
||||||
|
sprockets (~> 2.0)
|
||||||
|
tilt (~> 1.1)
|
||||||
syntax (1.0.0)
|
syntax (1.0.0)
|
||||||
temple (0.3.5)
|
temple (0.4.0)
|
||||||
thin (1.2.11)
|
|
||||||
daemons (>= 1.0.9)
|
|
||||||
eventmachine (>= 0.12.6)
|
|
||||||
rack (>= 1.0.0)
|
|
||||||
thor (0.14.6)
|
thor (0.14.6)
|
||||||
tilt (1.3.3)
|
tilt (1.3.3)
|
||||||
uglifier (1.2.4)
|
uglifier (1.2.5)
|
||||||
execjs (>= 0.3.0)
|
execjs (>= 0.3.0)
|
||||||
multi_json (>= 1.0.2)
|
multi_json (~> 1.3)
|
||||||
url_mount (0.2.1)
|
url_mount (0.2.1)
|
||||||
rack
|
rack
|
||||||
|
|
||||||
@ -119,7 +122,7 @@ PLATFORMS
|
|||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
compass (>= 0.13.alpha.0)
|
compass (>= 0.13.alpha.0)
|
||||||
compass-960-plugin
|
compass-960-plugin
|
||||||
middleman (~> 2.0.15.3)
|
middleman (>= 3.0.0.rc.1)
|
||||||
middleman-smusher
|
middleman-smusher
|
||||||
oily_png
|
oily_png
|
||||||
rake
|
rake
|
||||||
|
2
Rakefile
2
Rakefile
@ -12,7 +12,7 @@ task :generate do
|
|||||||
end
|
end
|
||||||
|
|
||||||
desc "Deploy website via rsync"
|
desc "Deploy website via rsync"
|
||||||
task :rsync do
|
task :deploy do
|
||||||
exclude = ""
|
exclude = ""
|
||||||
if File.exists?('./rsync-exclude')
|
if File.exists?('./rsync-exclude')
|
||||||
exclude = "--exclude-from '#{File.expand_path('./rsync-exclude')}'"
|
exclude = "--exclude-from '#{File.expand_path('./rsync-exclude')}'"
|
||||||
|
@ -92,7 +92,9 @@ configure :build do
|
|||||||
|
|
||||||
# Compress PNGs after build
|
# Compress PNGs after build
|
||||||
# First: gem install middleman-smusher
|
# First: gem install middleman-smusher
|
||||||
#activate :smusher
|
activate :smusher
|
||||||
|
|
||||||
|
activate :gzip
|
||||||
|
|
||||||
# Or use a different image path
|
# Or use a different image path
|
||||||
# set :http_path, "/Content/images/"
|
# set :http_path, "/Content/images/"
|
||||||
|
388
source/README.md
388
source/README.md
@ -1,388 +0,0 @@
|
|||||||
# HTML5 Boilerplate [http://html5boilerplate.com](http://html5boilerplate.com)
|
|
||||||
|
|
||||||
## Changelog:
|
|
||||||
|
|
||||||
### v.2.0 : August 10th, 2011
|
|
||||||
|
|
||||||
### v2.0 HIGHLIGHTS
|
|
||||||
|
|
||||||
#### NORMALIZE.CSS
|
|
||||||
|
|
||||||
We are now using [normalize.css](http://github.com/necolas/normalize.css/) developed by Nicolas Gallagher along with Jonathan Neal instead of the traditional CSS Reset stylesheet.
|
|
||||||
|
|
||||||
normalize.css retains useful browser defaults and includes several common fixes to improve cross-browser (desktop and mobile) styling consistency.
|
|
||||||
|
|
||||||
Lots of research has gone into normalize, verifying what are the default user agent styles provided by each browser. We can very specifically change only the ones we need to instead of the bulldozer approach.
|
|
||||||
|
|
||||||
##### Why this is great news:
|
|
||||||
|
|
||||||
* Who likes being so damn redundant and declaring: em, i { font-style: italic; }
|
|
||||||
* By using normalization instead of a reset + building up default styles, we use less styles and save bytes
|
|
||||||
* Less noise in your dev tools: when debugging, you don't have to trawl through every reset selector to reach the actual style that is causing the issue.
|
|
||||||
* More details here: http://necolas.github.com/normalize.css/
|
|
||||||
|
|
||||||
|
|
||||||
#### PROMPT CHROME FRAME FOR IE6
|
|
||||||
* With the latest release of Chrome frame which does not require admin access to be installed, we felt it was a good time to prompt IE 6 users to install Chrome Frame. (Using protocol-relative url and exact version for higher expires headers)
|
|
||||||
|
|
||||||
|
|
||||||
####BUILD SCRIPT++: Faster, @import inlining, appcache generation
|
|
||||||
* If 15 seconds was too long to wait before, you'll be happy with the changes. Via a new "intermediate" folder, we cut down build time by 80% or more.
|
|
||||||
* If you use <code>@import</code>s in your CSS to author in multiple files, the build script will inline all these together. This way, you have a maintainable authoring experience, and still a highly performant production version.
|
|
||||||
* Making an app that works offline is a badge of honor. Now with a flick of a config switch, the H5BP build script can autogenerate your cache manifest file with all the right info and wire it up. It'll also keep the manifest revved as you deploy new changes.
|
|
||||||
|
|
||||||
##### ADDING RESPOND.JS
|
|
||||||
* Add respond.js as a shift to a responsive approach. Updated it to improved, comment-free version which would enable IEs to also apply styles using media queries.
|
|
||||||
|
|
||||||
|
|
||||||
#### PNGFIX & HANDHELD REMOVED
|
|
||||||
* Remove handheld.css as we do not think it was useful among the diverse feature phones
|
|
||||||
* We feel tools like imagealpha and pngquant are more useful than using stopgap fixes like belatedpng.
|
|
||||||
|
|
||||||
### detailed 2.0 changelog
|
|
||||||
|
|
||||||
#### .HTACCESS
|
|
||||||
* Disable directory browsing by default
|
|
||||||
* removed trailing slash redirects in htaccess. More: https://github.com/paulirish/html5-boilerplate/wiki/Proper-usage-of-trailing-slash-redirects #493 #515
|
|
||||||
* Updating TTF mimetype to fix Google Chrome warning
|
|
||||||
* Improved support for all versions of Apache, incl workaround for bug in mod_filter: Fixes #441. Fixes #499. Fixes #535. Closes #549. (the grouping ticket) Ref #576
|
|
||||||
* Use substring matching in gzip filter_module and re-enable gzip for some common MIME-types
|
|
||||||
* mod_deflate trigger rules modifications
|
|
||||||
* Add gzip support for XHTML, RSS, Atom
|
|
||||||
* Move font & SVG compression from FilesMatch to FilterProvider / AddOutputFilterByType
|
|
||||||
* Added m4a (Need it for IE9) and m4v (HandBrake default) MIME types.
|
|
||||||
* moved ETag removal configs closer
|
|
||||||
* added Header unset ETag In some servers setting "FileETag None" alone, is not enough. Removing header and setting it to None fixes the issue.
|
|
||||||
* Add `Options +FollowSymlinks` when `RewriteEngine` is used. Fixes #489.
|
|
||||||
* Some more security for PHP: turn off error display and turn on error logging
|
|
||||||
* Allow Blackberry to read vCards
|
|
||||||
|
|
||||||
|
|
||||||
#### BUILD SCRIPT
|
|
||||||
* CSSLint, JSLint, JSHint tools are now optionally available in the build script
|
|
||||||
* New features in build script:
|
|
||||||
* Added a files.bypass property which when set, will not compress the listed JavaScript files, but just silently passes it on to the publish folder without any change.
|
|
||||||
* Added a images.bypass with a list of image files or folders within the img directory that you do not want to be optimized. Fixes #564
|
|
||||||
* Build script is compatible with php files now. it appears. fixes #392.
|
|
||||||
* Build script now generates appcache manifest. see #652
|
|
||||||
* Test for ant version to head off problems with ant < 1.8.2
|
|
||||||
* removes concatenated css files from index.html when they are linked to with link tag. Fixes #452
|
|
||||||
* Added DOCTYPE so Eclipse and other IDE's do not complain about the lack of schema. http://stackoverflow.com/questions/363768/disable-dtd-warning-for-ant-scripts-in-eclipse
|
|
||||||
* Updated Windows optipng and jpegtran paths to include ${basedir}
|
|
||||||
* Minification affects all .css and .js files in /css and /js dirs, not just the ones explicitly included in concatenation.
|
|
||||||
* Build script: compress all images in subfolders, too.
|
|
||||||
* Added gae.js_dir and gae.css_dir so that App Engine projects can have the correct directory names swapped in their templates.
|
|
||||||
* added a second replace token statement so that "/css/style.css" gets swapped too.
|
|
||||||
* change *.png and *.jpg to **/*.png and **/*.jpg so that optimize commands reach subdirectories.
|
|
||||||
* Improved build script compatibility with Netbeans IDE. default.properties: added IDE generated files/folders to exclude from build script .gitignore: Filename case correction for Windows generated Thumb.db Fix #374
|
|
||||||
* Adding properties to project.properties so that Google App Engine builds don't have "static" prepended when swapping for minified versions.
|
|
||||||
* console.log messages are no longer commented out. use log() instead
|
|
||||||
|
|
||||||
* Much faster build process
|
|
||||||
|
|
||||||
Intermediate stages are stored in a new intermediate folder, and only
|
|
||||||
files that should be published are copied into the publish folder.
|
|
||||||
|
|
||||||
Files are not deleted at the beginning of every build, and files that
|
|
||||||
have already been processed will not be reprocessed unless the source
|
|
||||||
has changed.
|
|
||||||
|
|
||||||
* Files are revved by SHA, not incrementally at each build
|
|
||||||
|
|
||||||
Versioned files are referenced by a SHA-1 hash of the content rather
|
|
||||||
than a build number. This means that changing your HTML and rebuilding
|
|
||||||
will not cause your users to redownload the same CSS and JavaScript, and
|
|
||||||
a reverted change may cause users to use a copy that was previously
|
|
||||||
downloaded. It may be better to use only part of the hash so the HTTP
|
|
||||||
request is shorter.
|
|
||||||
|
|
||||||
* copy files last This slightly simplifies copying because we don't have to exclude PNG, JPEG, or HTML files from the copy stage. it comes preminified, and we don't need to minify it again This also updates the HTML so that the script is not missing if the unminified scripts are unavailable on the server. This commit requires a change to existing HTML files :/
|
|
||||||
* change the source htaccess rather than updating it
|
|
||||||
* update yuicompressor to 2.4.5. fixes media query minification issue.
|
|
||||||
* update htmlcompressor to 1.1 which uses the new yuicompressor for CSS.
|
|
||||||
* try not to re-optimize the same images every time
|
|
||||||
* Lots of bug fixes for edge cases and improved techniques..
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### INDEX.HTML
|
|
||||||
* Use minified jQuery by default. / jQuery updated to 1.6.2
|
|
||||||
* Add respond.js as part of shift to 'mobile first' approach.
|
|
||||||
* Updated to Modernizr 2.0 Complete, Production minified.
|
|
||||||
* Prompt IE 6 users to install Chrome Frame, update chromeframe install to 1.0.3. Move chromeframe to bottom of page after the other scripts. also reference exact version for higher expires headers. Use protocol-relative url for chrome frame URL Fixes #495
|
|
||||||
* Removing touch icon link tags and retaining only the comment.
|
|
||||||
* Encourage people to send the X-UA-Compatible HTTP header instead of leaving it in the HTML, to avoid edge case issues. Fixes #378.
|
|
||||||
* Remove the cache-busting query parameters from the HTML.
|
|
||||||
* Simplify the conditional comment containing code for IE 9+ and modern browsers
|
|
||||||
* Simpler escape for `</script>`. See http://mathiasbynens.be/notes/etago for more information.
|
|
||||||
* Encourage people to use a custom Modernizr build containing only the features they need for that particular project.
|
|
||||||
* Added maximum touch-icon support as per http://mathiasbynens.be/notes/touch-icons#sizes
|
|
||||||
* Add a link to optional <meta> tags that could be added to the <head> element: https://github.com/paulirish/html5-boilerplate/issues/482
|
|
||||||
* Standardize the use of single and double quotes as per http://h5bp.com/d/The-markup★quotes
|
|
||||||
* Added Site Speed tracking for Google Analytics
|
|
||||||
* Using Modernizr.load/yepnope for loading Google Analytics. Fixes #542
|
|
||||||
* Google Analytics now retrieved with <code>Modernizr.load()</code> for byte brevity and optimal speed
|
|
||||||
|
|
||||||
#### STYLE.CSS
|
|
||||||
* Major: Now using css normalization instead of css reset + building up default styles. Fixes #412, #500, #534. Closes #456. Links #566
|
|
||||||
* Add `'oldie'` class to conditional `<html>` classnames. Fix #522
|
|
||||||
* Add `img { max-width: 100%; }` to print styles to prevent images from getting cut off.
|
|
||||||
* Update clearfix to use 'micro' clearfix http://nicolasgallagher.com/micro-clearfix-hack/
|
|
||||||
* Add placeholder CSS MQs for mobile-first approach
|
|
||||||
* Tweaking our hot pink ::selection. It is now #fe57a1, which is Festal (adj): pertaining to or befitting a feast, festival, holiday, or gala occasion.
|
|
||||||
* Use black for links when printing, refs #147
|
|
||||||
* added vertical-align: middle to fix borders on image containers. Fixes #440
|
|
||||||
* Add `<svg>` overflow fix for IE9. Group `<img>` and `<svg>` rules in an 'embedded content' section of CSS file. Add {cursor:pointer} to <label> element.
|
|
||||||
* Switch to outline:0 for accesible focus treatment. Avoids Opera bug when combined with transitions. Also saves bytes.
|
|
||||||
* Set `{overflow:auto}` for `<button>` and `<input>` in `<table>` in IE6/7. Avoids numerous layout and whitespace issues that result from setting {overflow:visible} to fix the odd inner spacing of those form elements.
|
|
||||||
* Add `{resize: vertical}` to `<textarea>`. Only allow vertical resizing
|
|
||||||
|
|
||||||
|
|
||||||
#### MISC
|
|
||||||
|
|
||||||
* gitignore additions: textmate project folder, older CVS folders, sass_cache.
|
|
||||||
* Update HTML elements demo: reduce repetition, remove deprecated elements, add certain HTML5 elements, add more comprehensive collection of HTML5 input types, include different form markup styles, add form elements box-sizing test
|
|
||||||
* Add .gitattributes to help with consistent line endings
|
|
||||||
* Changed curly quotes to straight quotes in crossdomain.xml
|
|
||||||
|
|
||||||
|
|
||||||
#### Significant commits:
|
|
||||||
|
|
||||||
* 26a391c60d0356e2e0dcf1929381583622e1be9c Revert "Added native iOS inertia scrolling"
|
|
||||||
* ddaf66a515c09f835603f95fe723d7da691324e6 Major: Now using css normalization instead of css reset + building up default styles
|
|
||||||
* e5e057e53815ed55f4ecfaef3057bf2940c7c0b2 Change our conditional comments around the HTML tag to use a single .oldie class.
|
|
||||||
* 7f53f98ec734e6b655d7a50fd245277d388fac1e Revert "Change our conditional comments around the HTML tag to use a single .oldie class."
|
|
||||||
* 648026d780dc6b9ecad8d37d61a92b69be5fd654 Tweaking our hot pink ::selection based on a suggestion from David Murdoch and research from Adam Diehm.
|
|
||||||
* 0e1c7ba929caddec63971cccfb7de7c0d343e060 Use minified jQuery by default.
|
|
||||||
* a0ac99a4d96453e68ff4e650fca3055767ec26aa optimize build process
|
|
||||||
* bb22ca66a8619808a87c1b5438845ed44baa4d3e Remove the cache-busting query parameters from the HTML.
|
|
||||||
|
|
||||||
|
|
||||||
#### CONTRIBUTORS
|
|
||||||
[alrra](https://github.com/alrra) [Adeel Ejaz](http://adeelejaz.com/) [David Murdoch](http://www.vervestudios.co/) [Jonathan Fielding](https://github.com/jonathan-fielding) [Robert Ros](https://github.com/rros) [Rob Larsen](http://htmlcssjavascript.com/) [William Meleyal](http://meleyal.com/) [Bruno De Barros](http://terraduo.com/) [Mike Almond](http://mikealmond.com/) [Frank](https://github.com/thatcoolguy) [Joey Baker](http://byjoeybaker.com/) [Ben Word](http://benword.com/) [Mike Botsko](http://www.botsko.net/) [Carlos Rosquillas](https://github.com/disusered) [Todd H. Gardner](https://github.com/toddhgardner) [rdeknijf](https://github.com/rdeknijf) [John Attebury](https://github.com/johnattebury) [Calvin Rien](https://github.com/darktable) [Ryan Seddon](https://github.com/ryanseddon) [Dayle Rees](http://www.daylerees.com/) [Ryan Smith-Roberts](https://lab.net/) [Brian Blakely](https://github.com/brianblakely) [Steve Heffernan](http://www.steveheffernan.com) [Barney Carroll](http://barneycarroll.com/) [Osman Gormus](https://github.com/gormus) [Jason Tokoph](http://www.mozes.com/) [See Guo Lin](http://see.guol.in/) [Jeremey Hustman](http://www.ukontrol.com/) [James Williams](http://jameswilliams.be/blog) [John-Scott Atlakson](https://github.com/jsma) [stereobooster](https://github.com/stereobooster) [walker](http://walkerhamilton.com/) [François Robichet](http://www.francois.robichet.com/) [leobetosouza](http://leobetosouza.com/) [Matthew Donoughe](http://static.dyndns.org/~mdonoughe/) [Patrick Hall](http://lotsofwords.org/) [Andy Dawson](http://www.ad7six.com/) [Daniel Filho](http://danielfilho.info/blog/) [Clément](https://github.com/clemos) [Joe Morgan](https://github.com/JoeMorgan) [Han Lin Yap](http://www.zencodez.net/) [Gregg Gajic](https://github.com/gg) [Michael Cetrulo](http://www.linkedin.com/in/web2samus) [Robert Doucette](https://github.com/robbyrice) [lexadecimal.com](http://lexadecimal.com/) [Adam Diehm](http://twitter.com/atdiehm)
|
|
||||||
|
|
||||||
|
|
||||||
### v.1.0 : March 21st, 2011
|
|
||||||
|
|
||||||
#### Build Script
|
|
||||||
<ul>
|
|
||||||
<li>Files linked via <code>@import</code> will be inlined into the files they are imported to using Corey Hart's CSS Compressor.</li>
|
|
||||||
<li>Environments are definable.</li>
|
|
||||||
<li>htaccess Expires headers are upgraded to 1year, as the filenames are revved</li>
|
|
||||||
<li>Massive rewrite so you can define which HTML, CSS, and JS files to operate on in your configurable project.properties files. This allows you to let the build script operate on unique folder architectures (including non-H5BP projects).</li>
|
|
||||||
<li>Added a source directory option in the build config, so your source files can be in a different directory from the final generated files. (Useful for other CMSes/frameworks like Django.) </li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
#### index.html
|
|
||||||
<ul>
|
|
||||||
<li>We use a <a href="http://paulirish.com/2010/the-protocol-relative-url/">protocol-relative URL</a> for the jQuery include, to prevent the mixed content warning.</li>
|
|
||||||
<li>The order of <code><meta></code> tags, <code><title></code>, and <code>charset</code> has been <a href="https://github.com/paulirish/html5-boilerplate/wiki/The-markup">documented more extensively now</a>. TL;DR: You are <a href="https://github.com/paulirish/html5-boilerplate/commit/4b67ea5cabb8c2b75faf2e255344cdffdf190464">safe to use the boilerplate's order of tags</a>.</li>
|
|
||||||
<li>We've shortened up the Google Analytics snippet.</li>
|
|
||||||
<li>Added an ARIA <code>role</code> attribute to <code>div#main</code>. This assumes your main content goes within that container.</li>
|
|
||||||
<li>IE9 doesn't get its own conditional class! Yay!</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
#### style.css
|
|
||||||
<ul>
|
|
||||||
<li>Added <code>.focusable</code> helper class, which extends <code>.visuallyhidden</code> to allow the element to be focusable when navigated to via the keyboard.</li>
|
|
||||||
<li>Anchor links are no longer reset. Basically our reset is effectively merged with Eric Meyer's recent CSS reset update, and the HTML5 Doctor reset.</li>
|
|
||||||
<li>An unordered list within a <code><nav></code> element will no longer have a margin.</li>
|
|
||||||
<li>All helper classes are now after primary styles to ensure correct overrides and not be burdened with resets. </li>
|
|
||||||
<li><code>.visuallyhidden</code> is no longer camelCase for consistency with other classname formats.</li>
|
|
||||||
<li>Updated the specificity of <code>.visuallyhidden</code> to make sure it overrides all other declarations. </li>
|
|
||||||
<li>Removed reset on <code><img></code> elements within table cells as they look ugly alongside multiline texts. Browsers default to baseline alignment for images, which works better than top alignment.</li>
|
|
||||||
<li>Increased margin-left on <code><ol></code>, to allow for 2-digit list numbers.</li>
|
|
||||||
<li>Added a print reset on IE's proprietary filters.</li>
|
|
||||||
<li>Print styles no longer prints hash links or JavaScript links.</li>
|
|
||||||
<li>Updated <code><sub></code>/<code><sup></code> CSS so that they're not impacted by <code>line-height</code>, so now you can do sub/superscripts without worrying.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
#### Project
|
|
||||||
<ul>
|
|
||||||
<li>Added a <a href="http://humanstxt.org">humans.txt</a> so you can clarify authorship and tools used.</li>
|
|
||||||
<li>Removed YUI profiling. You probably weren't using it anyway.</li>
|
|
||||||
<li>Removed QUnit's unit tests. There is no need to ship with them, really.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
#### Webserver Configs
|
|
||||||
#### .htaccess
|
|
||||||
<ul>
|
|
||||||
<li>.htaccess is far more documented now. Take a read through it!</li>
|
|
||||||
<li><a href="https://github.com/paulirish/html5-boilerplate/commit/37b5fec090d00f38de64b591bcddcb205aadf8ee">Changed mimetype of <code>.ico</code> files to <code>image/x-icon</code></a>.</li>
|
|
||||||
<li>HTML Manifest files now use <code>.appcache</code> extension instead of <code>.manifest</code>, as per <a href="http://html5.org/r/5812">http://html5.org/r/5812</a>.</li>
|
|
||||||
<li>Force deflate for accept-encoding headers mangled by turtle tappers, courtesy of <a href="http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/">Yahoo!'s research</a></li>
|
|
||||||
<li>We nerfed some of the directives in case you're on a server without <code>mod_headers</code>. (Which is totally crazy, man!)</li>
|
|
||||||
<li>Block access to <code>.git</code> and <code>.svn</code> folders.</li>
|
|
||||||
<li>Eradicating Chrome's console warning on WOFF font downloads.</li>
|
|
||||||
<li>More optimizations available if you set the <code>.htaccess</code> details up in your <code>httpd.conf</code></li>
|
|
||||||
<li><code>.htaccess</code> now caches <code>.htc</code> files</li>
|
|
||||||
|
|
||||||
<li>Moved all server configurations (except Apache's <code>.htaccess</code>) over to <a href ="https://github.com/paulirish/html5-boilerplate-server-configs">the new html5-boilerplate-server-configs repo</a>. Head over there if you're not using Apache. </li>
|
|
||||||
|
|
||||||
<li>Updated <code>.htaccess</code> and <code>mime.types</code> for <code>ogg</code> formats.</li>
|
|
||||||
<li>Fixed regression where EOT fonts had been excluded from DEFLATE compression</li>
|
|
||||||
<li>Apache version independence: Use <code>mod_filter</code> for compression, with fallback to AddOutputFilterByType directive for legacy versions</li>
|
|
||||||
<li>Added plugin/extension mime types for Safari, Chrome, Firefox</li>
|
|
||||||
</ul>
|
|
||||||
#### nginx
|
|
||||||
<ul>
|
|
||||||
<li>Cleaned up cache expires directives.</li>
|
|
||||||
<li>Now includes SVG and font formats for gzipping.</li>
|
|
||||||
<li>expires header bug fixed.</li>
|
|
||||||
</ul>
|
|
||||||
#### IIS
|
|
||||||
<ul>
|
|
||||||
<li>Added Flash video mime types to IIS server</li>
|
|
||||||
<li>Fixed some mimetype weirdness that was preventing proper caching</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Also Google App Engine, Lighttpd, and NodeJS <a href="https://github.com/paulirish/html5-boilerplate-server-configs">configurations were added</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<p>Basically a lot of great updates were made for 1.0. <a href="https://github.com/paulirish/html5-boilerplate/compare/v0.9.5...v1.0">Here are all 220 commits since last release.</a>. You may ask though, <a href="http://html5boilerplate.com/docs/#FAQs★do-i-need-to-upgrade-my-sites-to-a-new-version">do I need to upgrade existing sites</a>? Short answer: nah, you're good.</p>
|
|
||||||
|
|
||||||
#### Contributors
|
|
||||||
[Mickael Daniel](http://blog.mklog.fr/), Dave Kirk, [Jonathan Verrecchia](http://www.html5-css3.fr/), [nlogax](https://github.com/nlogax), [Rob Larsen](http://htmlcssjavascript.com/),
|
|
||||||
[David Murdoch](http://www.vervestudios.co/), [AD7six](http://www.ad7six.com/),
|
|
||||||
[Mathias Bynens](http://mathiasbynens.be/), [Michael van Laar](http://www.michael-van-laar.de/), [Mike West](http://mikewest.org/), [Mikko Tikkanen](http://www.mintusability.com/), [Velir](http://velir.com/), [Stephen Gariepy](http://garowetz.ca/)
|
|
||||||
|
|
||||||
##### Boilerplate
|
|
||||||
[Adam J. McIntyre](http://www.amodernfable.com/), [Adeel Ejaz](http://adeelejaz.com/), akolesnikov, [Alex Dunae](http://dialect.ca/), [Andrew Le](http://andrewdle.com/), [ashnur](https://github.com/ashnur), [Ben Truyman](http://bentruyman.com/), [Bruno Aguirre](http://brunoaguirre.com/), [Chris Hager](http://metachris.org/), [Corey Ward](http://blog.coreyward.net/), [Craig Barnes](https://github.com/craigbarnes), crappish, [Daniel Schildt](http://autiomaa.org/), [Dave DeSandro](https://github.com/daveatnclud), [Dustin Whittle](http://dustinwhittle.com/), grigio, [Irakli Nadareishvili](http://freshblurbs.com/), [Jaime Bueza](http://jaime.bueza.com/), [Jake Ingman](https://github.com/jingman), [James A. Rosen](http://jamesarosen.com/), [Jeremy Balch](https://github.com/balchjd), [joe bartlett](http://twitter.com/jdbartlett), [Joe Sak](http://www.joesak.com/), [John Bacon](https://github.com/johnbacon)
|
|
||||||
[Jonathan Fielding](https://github.com/jonathan-fielding), [Jonathan Neal](http://iecss.com/), [kblomqvist](https://github.com/kblomqvist), [Kenneth Nordahl](http://nordahl.me/), [Maarten Verbaarschot](https://github.com/mverbaar), [Manuel Strehl](http://www.manuel-strehl.de/), [Marcel Turi](http://marcel.turi.co/), [Martin Hintzmann](https://github.com/Hintzmann), [mikealmond](https://github.com/mikealmond)
|
|
||||||
[mikkotikkanen](http://www.mintusability.com/), [Nic Pottier](https://github.com/nicpottier), [Paul Neave](http://www.neave.com/), [Peter Beverloo](http://peter.sh/), [Rick Waldron](http://weblog.bocoup.com/), [Rob Flaherty](http://www.ravelrumba.com/), [S Anand](http://www.s-anand.net/), [Sam Sherlock](http://samsherlock.com/), [Michael Cetrulo](http://www.linkedin.com/in/web2samus), [simshaun](https://github.com/simshaun), [Sirupsen](http://sirupsen.com/), [Stephen Gariepy](http://garowetz.ca/), [timemachine3030 ](https://github.com/timemachine3030), [Vinay](http://www.artminister.com/), [Weston Ruter](http://weston.ruter.net/), [WraithKenny](http://unfocus.com/), [Yann Mainier](http://yann.mainier.com/), [Michael van Laar](http://www.michael-van-laar.de/), [Massimo Lombardo](http://unwiredbrain.com/), [Ivan Nikolić ](http://twitter.com/niksy), [Kaelig](http://kaelig.fr/), [Richard Bradshaw](http://bradshawenterprises.com/), [SammyK](http://sammyk.me/), [alrra](https://github.com/alrra), [Rizky Syazuli](http://id.linkedin.com/in/rizky), [iszak](https://github.com/Iszak), [aaron peters](https://github.com/aaronpeters), [Swaroop C H](http://www.swaroopch.com/), [Mike Połtyn](http://mike.poltyn.com/), Marco d'Itri, Mike Lamb , [BIG Folio](http://bigfolio.com/), Philip von Bargen, Meander, Daniel Harttman, rse, timwillison, ken nordahl, [Erik Dahlström](http://my.opera.com/macdev_ed), christopherjacob, [Chew Choon Keat](http://blog.choonkeat.com/), benalman, stoyan, Markus, [Vladimir Carrer](http://www.vcarrer.com/), [aristidesfl](https://github.com/aristidesfl), [Trevor Norris](http://blog.trevorjnorris.com/) [Miloš Gavrilović](http://www.arvag.net/)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#####Configs
|
|
||||||
[Dusan Hlavaty](http://sk.linkedin.com/in/dusanhlavaty), [Sean Caetano Martin](http://www.xonecas.com/), [yaph](http://www.ramiro.org/), [michaud](https://github.com/michaud), Paul Sarena, [Graham Weldon](http://grahamweldon.com/), [Ron. Adams](http://visual-assault.org/)
|
|
||||||
|
|
||||||
#####Translators
|
|
||||||
[alrra](http://twitter.com/alrra), [Anton Kovalyov](http://self.kovalyov.net/), [Milos Gavrilovic](http://www.arvag.net/), [jorge-vitrubio](https://github.com/jorge-vitrubio), Julian Wachholz, [laviperchik](https://github.com/laviperchik), [lenzcom](https://github.com/lenzcom), [Mathias Bynens](http://mathiasbynens.be/), [Mickael Daniel](http://blog.mklog.fr/), [Mike West](http://mikewest.org/), [Niels Bom](http://www.nielsbom.com/), Ricardo Tomasi, [skill83 ](https://github.com/skill83), [Sean Caetano Martin](http://www.xonecas.com/), [Yuya Saito](http://css.studiomohawk.com/), [Zee-Julien](https://github.com/Zee-Julien)
|
|
||||||
|
|
||||||
|
|
||||||
### v.0.9.5 : October 25th, 2010
|
|
||||||
|
|
||||||
Major changes:
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Removed <code>-webkit-font-smoothing: antialiased;</code> it makes monospace too thin.</li>
|
|
||||||
<li>IE conditional classes have moved from the <code><body></code> tag to the <code><html></code> tag ( #44 ).</li>
|
|
||||||
<li>Dropped <code>text-rendering: <a href="http://www.aestheticallyloyal.com/public/optimize-legibility/">optimizeLegibility</a></code> as it breaks small-caps, looks odd on Linux machines, and goes invisible on WebOS.</li>
|
|
||||||
<li>Added a IE6 call for the minified <code>dd_belatedpng</code>.</li>
|
|
||||||
<li>Revised viewport declaration to allow user scaling and clear Webkit console errors ( #37 ).</li>
|
|
||||||
<li>Updated Modernizr to 1.6 </li>
|
|
||||||
<li>Added <code>web.config</code> file for Microsoft IIS</li>
|
|
||||||
<li>Beta release of the <a href="http://github.com/paulirish/html5-boilerplate/wiki/Build-script">Build Script</a> (this is HUGE)</li>
|
|
||||||
<li>New project scaffolding <a href="http://github.com/paulirish/html5-boilerplate/wiki/makep.sh">bash script</a>.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
#### General
|
|
||||||
* Updated Modernizr to 1.6 (smaller and faster)
|
|
||||||
* Added web.config file for Microsoft IIS. Now forcing latest IE version and ChromeFrame, if installed.
|
|
||||||
* Added <code>favicon</code> and <code>default icon</code> for iOS.
|
|
||||||
* Updated <code>crossdomain.xml</code> wording for better security guidelines ( #124 ).
|
|
||||||
* Expires value for <code>nginx.conf</code> corrected.
|
|
||||||
* License clarified.
|
|
||||||
|
|
||||||
#### style.css
|
|
||||||
* Removed <code>-webkit-font-smoothing: antialiased</code> as it made monospace too thin.
|
|
||||||
* Updated fonts normalization to YUI 3.2.0 PR1.
|
|
||||||
* Table Header set explicitly for IE6, and table row now has <code>page-break: avoid</code> in print CSS.
|
|
||||||
* <code>text-shadow:none !important</code> set for all text in print CSS.
|
|
||||||
* Removed scrollbar from <code><textarea></code>s in IE.
|
|
||||||
* Fixed <code><textarea></code> stylings and form field treatment for validity. Added default <code>background-color</code>.
|
|
||||||
* New robust clearfix solution without IE 5.5 hack ( #45 #126 ).
|
|
||||||
* Margins for form-elements explicitly set to <code>0</code> as webkit adds 2px space around form elements' chrome.
|
|
||||||
* Dropped <code>text-rendering: optimizeLegibility</code> as it breaks <code>small-caps</code> and looks odd on Linux machines.
|
|
||||||
* Lists now have a left margin of <code>1.8em</code>. Default <code>list-style-type</code> for ordered list is <code>decimal</code>.
|
|
||||||
* Image Replacement now works with right-to-left text ( #68 ).
|
|
||||||
* Removed "Star Hack" for checkboxes in favor of <code>.ie7</code> selector.
|
|
||||||
|
|
||||||
#### index.html
|
|
||||||
* IE conditional classes have moved from the <code><body></code> tag to the <code><html></code> tag ( #44 ).
|
|
||||||
* Added a IE6 call for the minified <code>dd_belatedpng</code>.
|
|
||||||
* Google Analytics script will now work with SSL in IE6.
|
|
||||||
* Added protocol independent absolute path for cdn jquery, with improved fallback-to-local code to protect against edge case IE bug.
|
|
||||||
* Commented out handheld CSS ( #73 ).
|
|
||||||
* Mobile viewport and textsize styles adjusted per group feedback ( #37 ).
|
|
||||||
|
|
||||||
#### .htaccess
|
|
||||||
* More files are served via gzip like <code>.htc</code> ( #55 ).
|
|
||||||
* Added Expires header for content types image/gif and video/webm.
|
|
||||||
* Fixed favicon display in IE6 ( #113 ).
|
|
||||||
* Corrected mimetypes for fonts.
|
|
||||||
* Removed caching for files of type json/xml.
|
|
||||||
* Better use of <code>ifmodule</code> for more stability in different Apache environments.
|
|
||||||
|
|
||||||
[View full diff and commit history](http://github.com/paulirish/html5-boilerplate/compare/v0.9.1...v0.9.5)
|
|
||||||
|
|
||||||
|
|
||||||
#### Contributors
|
|
||||||
Shi Chuan, Rob Larsen, Ivan Nikolić, Mikko Tikkanen, Velir, Paul Neave, Weston Ruter, Jeffrey Barke, Robert Meissner, SirFunk, Philip von Bargen, Kroc Camen, Rick Waldron, Andreas Madsen, Marco d'Itri, Adeelejaz, James Rosen, Dave DeSandro, Ken Newman, Daniel Lenz, Swaroop C H, Yann Mainier, Joe Sak, Irakli, Rob Flaherty, Jeff Starr, Mike Lamb, Holek, Aaron Peters, Kaelig, Meander, Charlie Ussery, Ciney, Région Wallonne, Sirupsen, and Paul Hayes.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### v.0.9.1 : August 13th, 2010
|
|
||||||
* HTML5 Boilerplate is now in the Public Domain
|
|
||||||
* Nginx configuration added
|
|
||||||
* Font stacks (sans-serif and monospace) simplified
|
|
||||||
* Very accessible <code>a:focus</code> styles.
|
|
||||||
* Corrected IE=edge,chromeframe enabling (As a result, the base HTML [does not validate](http://bit.ly/cGSSgr))
|
|
||||||
* ServerSideIncludes disabled by default.
|
|
||||||
* Apache config bugfixes
|
|
||||||
* Conditional body tag class combined
|
|
||||||
* dd_belatedPNG updated to 0.0.8. Redundant BackgroundImageCache fix removed.
|
|
||||||
|
|
||||||
[View full diff and commit history](http://github.com/paulirish/html5-boilerplate/compare/v0.9...v0.9.1)
|
|
||||||
|
|
||||||
##### Thanks:
|
|
||||||
|
|
||||||
voodootikigod, garowetz, fearphage, christopherjacob, mathias bynens, daniel harttman, rse, chris dary, erik dahlstrom, timwillison, kenneth nordahl, riddle, elcuervo, andreas kuckartz, 3rdEden, riley willis, majic3
|
|
||||||
|
|
||||||
### v0.9 : August 10th, 2010 - Initial release
|
|
||||||
|
|
||||||
|
|
||||||
## License:
|
|
||||||
|
|
||||||
Major components:
|
|
||||||
|
|
||||||
* Modernizr: MIT/BSD license
|
|
||||||
* jQuery: MIT/GPL license
|
|
||||||
* DD_belatedPNG: MIT license
|
|
||||||
* YUI Profiling: BSD license
|
|
||||||
* HTML5Doctor CSS reset: Public Domain
|
|
||||||
* CSS Reset Reloaded: Public Domain
|
|
||||||
|
|
||||||
Everything else:
|
|
||||||
|
|
||||||
* [The Unlicense](http://unlicense.org) (aka: public domain)
|
|
||||||
|
|
||||||
|
|
||||||
## Summary:
|
|
||||||
|
|
||||||
This is a set of files that a front-end developer can use to get started on a website, with following included:
|
|
||||||
|
|
||||||
1. Cross-browser compatible (IE6? Yeah, we got that.)
|
|
||||||
2. HTML5 ready. Use the new tags with certainty.
|
|
||||||
3. Optimal caching and compression rules for Grade-A performance
|
|
||||||
4. Best practice site configuration defaults
|
|
||||||
5. Think there's too much? The HTML5 Boilerplate is delete-key friendly. :)
|
|
||||||
6. Mobile browser optimizations
|
|
||||||
7. Progressive enhancement graceful degredation ........ yeah yeah we got that
|
|
||||||
8. IE-specific classes for maximum cross-browser control
|
|
||||||
9. Want to write unit tests but lazy? A full, hooked up test suite is waiting for you.
|
|
||||||
10. Javascript profiling…in IE6 and IE7? Sure, no problem.
|
|
||||||
11. Console.log nerfing so you won't break anyone by mistake.
|
|
||||||
12. Never go wrong with your doctype or markup!
|
|
||||||
13. An optimal print stylesheet, performance optimized
|
|
||||||
14. iOS, Android, Opera Mobile-adaptable markup and CSS skeleton.
|
|
||||||
15. IE6 pngfix baked in.
|
|
||||||
16. jQuery, waiting for you
|
|
||||||
|
|
||||||
## Releases
|
|
||||||
|
|
||||||
There are two releases: a documented release (which is exactly what you see here), and a "stripped" release (with most of the descriptive comments stripped out).
|
|
||||||
|
|
||||||
Watch the [current tickets](http://github.com/paulirish/html5-boilerplate/issues) to view the areas of active development.
|
|
||||||
|
|
@ -3,7 +3,7 @@ p
|
|||||||
' ® Copyright 2012 | Albert Schulz, Jörg Thalheim
|
' ® Copyright 2012 | Albert Schulz, Jörg Thalheim
|
||||||
br/
|
br/
|
||||||
' using
|
' using
|
||||||
a href="http://ethanschoonover.com/solarized" solarized
|
a href="http://ethanschoonover.com/solarized" target="_blank" solarized
|
||||||
', more infos
|
', more infos
|
||||||
a href="humans.txt" here
|
a href="humans.txt" here
|
||||||
p I would like to thank all my fans, my friends and my great family, <br>who have made this website possible.
|
p I would like to thank all my fans, my friends and my great family, <br>who have made this website possible.
|
||||||
|
@ -1,293 +0,0 @@
|
|||||||
/*
|
|
||||||
* HTML5 ✰ Boilerplate
|
|
||||||
*
|
|
||||||
* What follows is the result of much research on cross-browser styling.
|
|
||||||
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
|
|
||||||
* Kroc Camen, and the H5BP dev community and team.
|
|
||||||
*
|
|
||||||
* Detailed information about this CSS: h5bp.com/css
|
|
||||||
*
|
|
||||||
* ==|== normalize ==========================================================
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/* =============================================================================
|
|
||||||
HTML5 display definitions
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
|
|
||||||
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
|
|
||||||
audio:not([controls]) { display: none; }
|
|
||||||
[hidden] { display: none; }
|
|
||||||
|
|
||||||
|
|
||||||
/* =============================================================================
|
|
||||||
Base
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
|
|
||||||
* 2. Force vertical scrollbar in non-IE
|
|
||||||
* 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
|
|
||||||
*/
|
|
||||||
|
|
||||||
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
|
|
||||||
|
|
||||||
body { margin: 0; font-size: 13px; line-height: 1.231; }
|
|
||||||
|
|
||||||
body, button, input, select, textarea { font-family: sans-serif; color: #222; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Remove text-shadow in selection highlight: h5bp.com/i
|
|
||||||
* These selection declarations have to be separate
|
|
||||||
* Also: hot pink! (or customize the background color to match your design)
|
|
||||||
*/
|
|
||||||
|
|
||||||
::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
|
|
||||||
::selection { background: #fe57a1; color: #fff; text-shadow: none; }
|
|
||||||
|
|
||||||
|
|
||||||
/* =============================================================================
|
|
||||||
Links
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
a { color: #00e; }
|
|
||||||
a:visited { color: #551a8b; }
|
|
||||||
a:hover { color: #06e; }
|
|
||||||
a:focus { outline: thin dotted; }
|
|
||||||
|
|
||||||
/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
|
|
||||||
a:hover, a:active { outline: 0; }
|
|
||||||
|
|
||||||
|
|
||||||
/* =============================================================================
|
|
||||||
Typography
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
abbr[title] { border-bottom: 1px dotted; }
|
|
||||||
|
|
||||||
b, strong { font-weight: bold; }
|
|
||||||
|
|
||||||
blockquote { margin: 1em 40px; }
|
|
||||||
|
|
||||||
dfn { font-style: italic; }
|
|
||||||
|
|
||||||
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
|
|
||||||
|
|
||||||
ins { background: #ff9; color: #000; text-decoration: none; }
|
|
||||||
|
|
||||||
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
|
|
||||||
|
|
||||||
/* Redeclare monospace font family: h5bp.com/j */
|
|
||||||
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
|
|
||||||
|
|
||||||
/* Improve readability of pre-formatted text in all browsers */
|
|
||||||
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
|
|
||||||
|
|
||||||
q { quotes: none; }
|
|
||||||
q:before, q:after { content: ""; content: none; }
|
|
||||||
|
|
||||||
small { font-size: 85%; }
|
|
||||||
|
|
||||||
/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
|
|
||||||
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
|
|
||||||
sup { top: -0.5em; }
|
|
||||||
sub { bottom: -0.25em; }
|
|
||||||
|
|
||||||
|
|
||||||
/* =============================================================================
|
|
||||||
Lists
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
|
|
||||||
dd { margin: 0 0 0 40px; }
|
|
||||||
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
|
|
||||||
|
|
||||||
|
|
||||||
/* =============================================================================
|
|
||||||
Embedded content
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 1. Improve image quality when scaled in IE7: h5bp.com/d
|
|
||||||
* 2. Remove the gap between images and borders on image containers: h5bp.com/e
|
|
||||||
*/
|
|
||||||
|
|
||||||
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Correct overflow not hidden in IE9
|
|
||||||
*/
|
|
||||||
|
|
||||||
svg:not(:root) { overflow: hidden; }
|
|
||||||
|
|
||||||
|
|
||||||
/* =============================================================================
|
|
||||||
Figures
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
figure { margin: 0; }
|
|
||||||
|
|
||||||
|
|
||||||
/* =============================================================================
|
|
||||||
Forms
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
form { margin: 0; }
|
|
||||||
fieldset { border: 0; margin: 0; padding: 0; }
|
|
||||||
|
|
||||||
/* Indicate that 'label' will shift focus to the associated form element */
|
|
||||||
label { cursor: pointer; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 1. Correct color not inheriting in IE6/7/8/9
|
|
||||||
* 2. Correct alignment displayed oddly in IE6/7
|
|
||||||
*/
|
|
||||||
|
|
||||||
legend { border: 0; *margin-left: -7px; padding: 0; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 1. Correct font-size not inheriting in all browsers
|
|
||||||
* 2. Remove margins in FF3/4 S5 Chrome
|
|
||||||
* 3. Define consistent vertical alignment display in all browsers
|
|
||||||
*/
|
|
||||||
|
|
||||||
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
|
|
||||||
* 2. Correct inner spacing displayed oddly in IE6/7
|
|
||||||
*/
|
|
||||||
|
|
||||||
button, input { line-height: normal; *overflow: visible; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
|
|
||||||
*/
|
|
||||||
|
|
||||||
table button, table input { *overflow: auto; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 1. Display hand cursor for clickable form elements
|
|
||||||
* 2. Allow styling of clickable form elements in iOS
|
|
||||||
*/
|
|
||||||
|
|
||||||
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Consistent box sizing and appearance
|
|
||||||
*/
|
|
||||||
|
|
||||||
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
|
|
||||||
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
|
|
||||||
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Remove inner padding and border in FF3/4: h5bp.com/l
|
|
||||||
*/
|
|
||||||
|
|
||||||
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 1. Remove default vertical scrollbar in IE6/7/8/9
|
|
||||||
* 2. Allow only vertical resizing
|
|
||||||
*/
|
|
||||||
|
|
||||||
textarea { overflow: auto; vertical-align: top; resize: vertical; }
|
|
||||||
|
|
||||||
/* Colors for form validity */
|
|
||||||
input:valid, textarea:valid { }
|
|
||||||
input:invalid, textarea:invalid { background-color: #f0dddd; }
|
|
||||||
|
|
||||||
|
|
||||||
/* =============================================================================
|
|
||||||
Tables
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
table { border-collapse: collapse; border-spacing: 0; }
|
|
||||||
td { vertical-align: top; }
|
|
||||||
|
|
||||||
|
|
||||||
/* ==|== primary styles =====================================================
|
|
||||||
Author:
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ==|== non-semantic helper classes ========================================
|
|
||||||
Please define your styles before this section.
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/* For image replacement */
|
|
||||||
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
|
|
||||||
.ir br { display: none; }
|
|
||||||
|
|
||||||
/* Hide from both screenreaders and browsers: h5bp.com/u */
|
|
||||||
.hidden { display: none !important; visibility: hidden; }
|
|
||||||
|
|
||||||
/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
|
|
||||||
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
|
|
||||||
|
|
||||||
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
|
|
||||||
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
|
|
||||||
|
|
||||||
/* Hide visually and from screenreaders, but maintain layout */
|
|
||||||
.invisible { visibility: hidden; }
|
|
||||||
|
|
||||||
/* Contain floats: h5bp.com/q */
|
|
||||||
.clearfix:before, .clearfix:after { content: ""; display: table; }
|
|
||||||
.clearfix:after { clear: both; }
|
|
||||||
.clearfix { *zoom: 1; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ==|== media queries ======================================================
|
|
||||||
PLACEHOLDER Media Queries for Responsive Design.
|
|
||||||
These override the primary ('mobile first') styles
|
|
||||||
Modify as content requires.
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
@media only screen and (min-width: 480px) {
|
|
||||||
/* Style adjustments for viewports 480px and over go here */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (min-width: 768px) {
|
|
||||||
/* Style adjustments for viewports 768px and over go here */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ==|== print styles =======================================================
|
|
||||||
Print styles.
|
|
||||||
Inlined to avoid required HTTP connection: h5bp.com/r
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
|
|
||||||
a, a:visited { text-decoration: underline; }
|
|
||||||
a[href]:after { content: " (" attr(href) ")"; }
|
|
||||||
abbr[title]:after { content: " (" attr(title) ")"; }
|
|
||||||
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
|
|
||||||
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
|
||||||
thead { display: table-header-group; } /* h5bp.com/t */
|
|
||||||
tr, img { page-break-inside: avoid; }
|
|
||||||
img { max-width: 100% !important; }
|
|
||||||
@page { margin: 0.5cm; }
|
|
||||||
p, h2, h3 { orphans: 3; widows: 3; }
|
|
||||||
h2, h3 { page-break-after: avoid; }
|
|
||||||
}
|
|
4
source/js/libs/modernizr-2.0.6.min.js
vendored
4
source/js/libs/modernizr-2.0.6.min.js
vendored
File diff suppressed because one or more lines are too long
4
source/js/libs/modernizr.custom.01860.min.js
vendored
Normal file
4
source/js/libs/modernizr.custom.01860.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -16,14 +16,14 @@ html.no-js.light lang="en"
|
|||||||
meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"
|
meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"
|
||||||
/! Mobile viewport optimized: j.mp/bplateviewport
|
/! Mobile viewport optimized: j.mp/bplateviewport
|
||||||
meta content="width=device-width,initial-scale=1" name="viewport"
|
meta content="width=device-width,initial-scale=1" name="viewport"
|
||||||
|
== stylesheet_link_tag "site.css"
|
||||||
link href='http://fonts.googleapis.com/css?family=Cabin' rel='stylesheet' type='text/css'
|
link href='http://fonts.googleapis.com/css?family=Cabin' rel='stylesheet' type='text/css'
|
||||||
link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'
|
link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'
|
||||||
== stylesheet_link_tag "site.css"
|
|
||||||
== yield_content :head
|
== yield_content :head
|
||||||
/! Respond is a polyfill for min/max-width media queries.
|
/ Respond is a polyfill for min/max-width media queries.
|
||||||
/! Modernizr enables HTML5 elements & feature detects;
|
/ Modernizr enables HTML5 elements & feature detects;
|
||||||
/! for optimal performance, create your own custom Modernizr build: www.modernizr.com/download/
|
/ for optimal performance, create your own custom Modernizr build: www.modernizr.com/download/
|
||||||
script src="js/libs/modernizr-2.0.6.min.js"
|
script src="js/libs/modernizr.custom.01860.min.js"
|
||||||
body class=(page_classes)
|
body class=(page_classes)
|
||||||
header
|
header
|
||||||
== partial "navbar"
|
== partial "navbar"
|
||||||
|
@ -55,7 +55,7 @@ $green: #859900;
|
|||||||
|
|
||||||
/* light is default mode, so pair with general html definition */
|
/* light is default mode, so pair with general html definition */
|
||||||
html, .light { @include rebase($base3,$base2,$base1,$base0,$base00,$base01,$base02,$base03)}
|
html, .light { @include rebase($base3,$base2,$base1,$base0,$base00,$base01,$base02,$base03)}
|
||||||
.dark { @include rebase($base03,$base02,$base01,$base00,$base0,$base1,$base2,$base3)}
|
// .dark { @include rebase($base03,$base02,$base01,$base00,$base0,$base1,$base2,$base3)}
|
||||||
|
|
||||||
html * {
|
html * {
|
||||||
color-profile: sRGB;
|
color-profile: sRGB;
|
Loading…
Reference in New Issue
Block a user