Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Responsive Web Design for Libraries

Responsive Web Design for Libraries

Talk on Responsive Design for Libraries given to LACONI on April 19, 2013 in Skokie, IL.

Matthew Reidsma

April 19, 2013
Tweet

More Decks by Matthew Reidsma

Other Decks in Design

Transcript

  1. http://adactio.com/journal/4443/ For over a decade, we have pretended that there’s

    a mythical perfect size [viewport] that every person will be using. Jeremy Keith “
  2. Ethan Marcotte, Responsive Web Design, p. 3 The problem with

    this approach is that we’re one step removed from our actual canvas: the browser window Ethan Marco e “
  3. The control which designers know in the print medium, and

    often desire in the web medium, is simply a func on of the limita on of the printed page. http://www.alistapart.com/articles/dao/ “ John Allsopp
  4. We should embrace the fact that the web doesn’t have

    the same constraints, and design for this flexibility. http://www.alistapart.com/articles/dao/ John Allsopp “
  5. My website will meet you wherever you are... “ Trent

    Walton http://trentwalton.com/2011/05/10/fit-to-scale/
  6. OWN A SMARTPHONE 2011-12 US ADULTS 46% USE WEB ONLY

    ON PHONE 25% http://pewinternet.org/Reports/2012/Smartphone-Update-2012.aspx http://pewinternet.org/Reports/2011/Smartphones.aspx
  7. OWN A SMARTPHONE 2011-12 US ADULTS 46% USE WEB ONLY

    ON PHONE 25% USE WEB ONLY ON PHONE 11% http://pewinternet.org/Reports/2012/Smartphone-Update-2012.aspx http://pewinternet.org/Reports/2011/Smartphones.aspx
  8. OWN A SMARTPHONE 2011-12 US ADULTS 46% USE WEB ONLY

    ON PHONE 25% USE WEB ONLY ON PHONE 11% http://pewinternet.org/Reports/2012/Smartphone-Update-2012.aspx http://pewinternet.org/Reports/2011/Smartphones.aspx <$30K FASTEST RATE OF ADOPTION
  9. WHITE, NON-HISPANIC 2012 US ADULTS 52% USE PHONE TO BROWSE

    WEB http://pewinternet.org/Reports/2012/Cell-Activities/Additional-Demographic-Analysis/Demographics.aspx
  10. WHITE, NON-HISPANIC 2012 US ADULTS 52% BLACK, NON-HISPANIC 60% USE

    PHONE TO BROWSE WEB http://pewinternet.org/Reports/2012/Cell-Activities/Additional-Demographic-Analysis/Demographics.aspx
  11. WHITE, NON-HISPANIC 2012 US ADULTS 52% BLACK, NON-HISPANIC 60% HISPANIC

    66% USE PHONE TO BROWSE WEB http://pewinternet.org/Reports/2012/Cell-Activities/Additional-Demographic-Analysis/Demographics.aspx
  12. 2013 US TEENS USE WEB SOMETIMES ON PHONE 74% USE

    WEB ONLY ON PHONE 25% http://pewinternet.org/Reports/2013/Teens-and-Tech.aspx
  13. 2013 US TEENS OWN A SMARTPHONE 37% USE WEB SOMETIMES

    ON PHONE 74% USE WEB ONLY ON PHONE 25% http://pewinternet.org/Reports/2013/Teens-and-Tech.aspx
  14. 2013 US TEENS OWN A SMARTPHONE 37% USE WEB ONLY

    ON SMARTPHONE 50% USE WEB SOMETIMES ON PHONE 74% USE WEB ONLY ON PHONE 25% http://pewinternet.org/Reports/2013/Teens-and-Tech.aspx
  15. AT HOME 2010 SMARTPHONE USE 84% RANDOM DOWNTIMES 80% WAITING

    IN LINE 76% http://googlemobileads.blogspot.com/2011/04/complimentary-copy-of-mobile-movement.html http://blog.compete.com/2010/03/12/smartphone-owners-a-ready-and-willing-audience/
  16. AT HOME 2010 SMARTPHONE USE 84% RANDOM DOWNTIMES 80% WAITING

    IN LINE 76% AT WORK 64% http://googlemobileads.blogspot.com/2011/04/complimentary-copy-of-mobile-movement.html http://blog.compete.com/2010/03/12/smartphone-owners-a-ready-and-willing-audience/
  17. AT HOME 2010 SMARTPHONE USE 84% RANDOM DOWNTIMES 80% WAITING

    IN LINE 76% AT WORK 64% IN THE BATHROOM 39% http://googlemobileads.blogspot.com/2011/04/complimentary-copy-of-mobile-movement.html http://blog.compete.com/2010/03/12/smartphone-owners-a-ready-and-willing-audience/
  18. 2012 US ADULTS >16 VISITED A LIBRARY WEBSITE 39% VISITED

    IN PAST YEAR 25% http://libraries.pewinternet.org/2012/12/31/mobile-connections-to-libraries/
  19. 2012 US ADULTS >16 VISITED ON MOBILE DEVICE 13% VISITED

    A LIBRARY WEBSITE 39% VISITED IN PAST YEAR 25% http://libraries.pewinternet.org/2012/12/31/mobile-connections-to-libraries/
  20. 2012 US ADULTS >16 VISITED ON MOBILE DEVICE 13% VISITED

    ON MOBILE DEVICE 33% VISITED A LIBRARY WEBSITE 39% VISITED IN PAST YEAR 25% http://libraries.pewinternet.org/2012/12/31/mobile-connections-to-libraries/
  21. “ There is no mobile web. There is only The

    Web, which we view in different ways. Stephen Hay http://www.the-haystack.com/2011/01/07/there-is-no-mobile-web/
  22. Remember that RWD is a label for something that the

    web has always done na vely, but that we chose to break. https://twitter.com/anna_debenham/status/297328683721568256 Anna Debenham “
  23. 600 ÷ 960 = 62.5% 288 ÷ 960 = 30%

    TARGET ÷ CONTEXT = RESULT
  24. <div class=”video-wrap”> <iframe width=”560” height=”315” ...></iframe> </div> .video-wrap { padding-top:

    56.25%; position: relative; } http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
  25. <div class=”video-wrap”> <iframe width=”560” height=”315” ...></iframe> </div> .video-wrap iframe {

    position: absolute; top: 0; left: 0; width: 100%; height:100%; } http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
  26. @media screen { ... } @media print { ... }

    @media all { ... } @media handheld { ... }
  27. @media screen and (min-width: 480px) { ... } /* Base

    styles */ ... /* Progressive styles */ @media screen and (min-width: 600px) { ... } @media screen and (min-width: 768px) { ... } @media screen and (min-width: 980px) { ... } @media screen and (min-width: 1024px) { ... }
  28. Your CSS is interpreted as if the screen were significantly

    wider than the phone screen. This makes sure that your site’s layout behaves as it does on a desktop browser. http://www.quirksmode.org/mobile/viewports2.html “ Peter-Paul Koch
  29. GOOGLE .9 30 RESULTS PAGE LOAD TIME IN SECONDS .4

    2006 http://glinden.blogspot.com/2006/11/marissa-mayer-at-web-20.html
  30. GOOGLE .9 30 RESULTS 10 RESULTS PAGE LOAD TIME IN

    SECONDS .4 2006 http://glinden.blogspot.com/2006/11/marissa-mayer-at-web-20.html
  31. Half a second delay caused a 20% drop in traffic.

    Half a second delay killed user sa sfac on. http://glinden.blogspot.com/2006/11/marissa-mayer-at-web-20.html “ Marissa Mayer
  32. Large numbers of people who were previously unable to use

    YouTube before were suddenly able to. http://blog.chriszacharias.com/page-weight-matters “ Chris Zacharias
  33. <link rel=”stylesheet” href=”one.css” /> <link rel=”stylesheet” href=”two.css” /> <link rel=”stylesheet”

    href=”three.css” /> <link rel=”stylesheet” href=”four.css” /> <link rel=”stylesheet” href=”five.css” /> <link rel=”stylesheet” href=”six.css” />
  34. <link rel=”stylesheet” href=”one.css” /> <link rel=”stylesheet” href=”two.css” /> <link rel=”stylesheet”

    href=”three.css” /> <link rel=”stylesheet” href=”four.css” /> <link rel=”stylesheet” href=”five.css” /> <link rel=”stylesheet” href=”six.css” /> <script src=”one.js”></script> <script src=”two.js”></script> <script src=”three.js”></script> <script src=”four.js”></script> <script src=”five.js”></script>
  35. URIS DATA .nerd-image { background: url(data:image/ gif;base64,R0lGODlhCwAOAMQfAP////7+/ vj4+Hh4eHd3d/v7+/ Dw8HV1dfLy8ubm5vX19e3t7fr6+nl5edra2nZ2dnx8fMHB wYODg/

    b29np6eujo6JGRkeHh4eTk5LCwsN3d3dfX13Jycp2dnevr 6////yH5BAEAAB8ALAAAAAALAA4AAAVq4NFw1DNAX/ o9imAsBtKpxKRd1+YEWUoIiUoiEWEAApIDMLGoRCyWiKTh enkwDgeGMiggDLEXQkDoThCKNLpQDgjeAsY7MHgECgx8YR 8oHwNHfwADBACGh4EDA4iGAYAEBAcQIg0DkgcEIQA7); }
  36. HEADING 1 ANCHOR # INPUT TYPE=”TEXT” INPUT TYPE=”SUBMIT” SECTION #NEWS

    SECTION #EVENTS SECTION #EXHIBITS FOOTER NAVIGATION
  37. h1 { float: left; width: 66%; } header .anchor {

    float: right; width: 33%; } HEADING 1 ANCHOR #
  38. h1 { float: left; padding-left: .65%; width: 65%; } header

    .anchor { float: right; margin-right: 1%; width: 32%; }
  39. INPUT TYPE=”TEXT” INPUT TYPE=”SUBMIT” input[type=”text”] { display: block; margin: 0

    1%; padding: .4em .96%; width: 96%; } input[type=”submit”] { display: block; margin: .5em 1%; width: 98%; }
  40. FORM IN HEADER TO RIGHT NAVIGATION AT THE TOP ANCHOR

    LINK TO NAV IN HEADER GONE 1 2 3 STYLES >33.75EM
  41. HEADING 1 ANCHOR # INPUT TYPE=”TEXT” INPUT TYPE=”SUBMIT” SECTION #NEWS

    SECTION #EVENTS SECTION #EXHIBITS FOOTER NAVIGATION
  42. h1 { width: 32%; } form { float: left; width:

    66%; } input[type=”text”] { width: 66%; } input[type=”submit”] { float: right; width: 28%; } HEADING 1 INPUT SUBMIT
  43. body { display: table; caption-side: top; } nav[role="navigation"] { display:

    table-caption; } nav[role="navigation"] ol { display: table-row; } nav[role="navigation"] ol li { display: table-cell; } NAVIGATION http://adactio.com/journal/4780/
  44. NEWS & EVENTS ACROSS THE TOP EXHIBITS IN LOWER ROW

    1 2 STYLES >64 EM HEADING CHANGED TO FULL NAME 3
  45. #right-column { float: none; margin-left: 0; width: 100%; } #events

    { clear: none; width: 66%; float: right; } #news { width: 30%; margin-left: 3%; float: right; }
  46. #exhibits { ! width: 100%; ! float: none; ! clear:

    both; } ! #exhibits .exhibit-section { ! float: left; ! width: 31.3%; ! margin: 0 1%; }
  47. h1 span { display: none; } @media screen and (min-width:

    64em) { h1 abbr { display: none; } h1 span { display: inline; } }
  48. My website will meet you wherever you are... “ Trent

    Walton http://trentwalton.com/2011/05/10/fit-to-scale/
  49. The absence of support for @media queries is in fact

    the first @media query. http://www.slideshare.net/bryanrieger/rethinking-the-mobile-web-by-yiibu “ Bryan Rieger
  50. Responsive Design for Libraries: Beyond the Myth of the Mobile

    Web by Matthew Reidsma http://scholarworks.gvsu.edu/library_books/5/