diff --git a/external/matchMedia.js b/external/matchMedia.js new file mode 100755 index 0000000..0bfca11 --- /dev/null +++ b/external/matchMedia.js @@ -0,0 +1,46 @@ +/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license */ + +window.matchMedia || (window.matchMedia = function() { + "use strict"; + + // For browsers that support matchMedium api such as IE 9 and webkit + var styleMedia = (window.styleMedia || window.media); + + // For those that don't support matchMedium + if (!styleMedia) { + var style = document.createElement('style'), + script = document.getElementsByTagName('script')[0], + info = null; + + style.type = 'text/css'; + style.id = 'matchmediajs-test'; + + script.parentNode.insertBefore(style, script); + + // 'style.currentStyle' is used by IE <= 8 and 'window.getComputedStyle' for all other browsers + info = ('getComputedStyle' in window) && window.getComputedStyle(style, null) || style.currentStyle; + + styleMedia = { + matchMedium: function(media) { + var text = '@media ' + media + '{ #matchmediajs-test { width: 1px; } }'; + + // 'style.styleSheet' is used by IE <= 8 and 'style.textContent' for all other browsers + if (style.styleSheet) { + style.styleSheet.cssText = text; + } else { + style.textContent = text; + } + + // Test if media query is true or false + return info.width === '1px'; + } + }; + } + + return function(media) { + return { + matches: styleMedia.matchMedium(media || 'all'), + media: media || 'all' + }; + }; +}()); diff --git a/img/1024x1024.gif b/img/1024x1024.gif new file mode 100644 index 0000000..bafd294 Binary files /dev/null and b/img/1024x1024.gif differ diff --git a/img/1024x1024x2.gif b/img/1024x1024x2.gif new file mode 100644 index 0000000..1a7d102 Binary files /dev/null and b/img/1024x1024x2.gif differ diff --git a/img/1280x1280.gif b/img/1280x1280.gif new file mode 100644 index 0000000..a648e8d Binary files /dev/null and b/img/1280x1280.gif differ diff --git a/img/1280x1280x2.gif b/img/1280x1280x2.gif new file mode 100644 index 0000000..25e29b1 Binary files /dev/null and b/img/1280x1280x2.gif differ diff --git a/img/1440x1440.gif b/img/1440x1440.gif new file mode 100644 index 0000000..1d2edc2 Binary files /dev/null and b/img/1440x1440.gif differ diff --git a/img/1440x1440x2.gif b/img/1440x1440x2.gif new file mode 100644 index 0000000..1dd69c1 Binary files /dev/null and b/img/1440x1440x2.gif differ diff --git a/img/1920x1920.gif b/img/1920x1920.gif new file mode 100644 index 0000000..f7296a9 Binary files /dev/null and b/img/1920x1920.gif differ diff --git a/img/1920x1920x2.gif b/img/1920x1920x2.gif new file mode 100644 index 0000000..f1fccf5 Binary files /dev/null and b/img/1920x1920x2.gif differ diff --git a/img/320x320.gif b/img/320x320.gif new file mode 100644 index 0000000..a6b4394 Binary files /dev/null and b/img/320x320.gif differ diff --git a/img/320x320x2.gif b/img/320x320x2.gif new file mode 100644 index 0000000..f7f1180 Binary files /dev/null and b/img/320x320x2.gif differ diff --git a/img/480x480.gif b/img/480x480.gif new file mode 100644 index 0000000..32b58ee Binary files /dev/null and b/img/480x480.gif differ diff --git a/img/480x480x2.gif b/img/480x480x2.gif new file mode 100644 index 0000000..38bb2bc Binary files /dev/null and b/img/480x480x2.gif differ diff --git a/img/768x768.gif b/img/768x768.gif new file mode 100644 index 0000000..8fa1ec1 Binary files /dev/null and b/img/768x768.gif differ diff --git a/img/768x768x2.gif b/img/768x768x2.gif new file mode 100644 index 0000000..898c163 Binary files /dev/null and b/img/768x768x2.gif differ diff --git a/index.css b/index.css new file mode 100644 index 0000000..b131e47 --- /dev/null +++ b/index.css @@ -0,0 +1,8 @@ +span, img, a { + display: block; +} + +img { + max-width: 100%; + height: auto; +} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..1a2b4b5 --- /dev/null +++ b/index.html @@ -0,0 +1,26 @@ + + +
+ +