SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
Library
Stop the talk, make it happen
A practical approach to responsive design - a work in progress

Colin Work
Web & Communications Developer
University of Portsmouth Library
Colin.work@port.ac.uk
Library
Context
• Resources – 1 person, effectively no budget
• Hosted on corporate T4 service, but independent to main University site
• Integration with other in-house & 3rd party services critical
• Web site is primarily an information resource, teaching tool and research aid.

• “Captive audience”, well defined.
• major redesign begun Autumn 2011
Library
Business Case
•From the top “We need a mobile app!” (Late Spring 2012)
• student recruitment led, impact of fees

• enhancements to Wi-Fi coverage on campus
• Proliferation of smart phones and tablets amongst students
Accesses by device over previous 12 months
Desktop
Mobile
AY 2011/12 cf 2010/11 -4.16%
+62.13%
AY 2012/13 cf 2011/12 +34.39%
+152.15%

Tablet
n.a.
+486.65%
Library
Planning
Constraints:
• no additional resources/budget available
• major site revision already nearly complete, for launch in September 2012
• no time to re-visit current site and meet September deadline
• staff/students very sensitive to disruptions during term time
• could not diverge from prepared teaching/support materials

“you wouldn’t want to be starting from here”
Library
Plan A:
Launch website on schedule and follow with a separate site for mobile, using shared T4 content
(through content mirroring and/or browser device detection).
Pros

• (relatively) easy to do in T4, using examples & documentation
• minimal if any impact on newly launched website
• could be initiated quickly, and developed in stages
Cons
• how would we support pages/services held outside T4?
• proliferation of devices, esp. range of tablets with characteristics somewhere between
smart phone and desktop
• would the mobile site end up as a “poor relation”?
• support overheads
• future proof?
Library
... but conferences, workshops summer/autumn 2012 led to ...

Plan B: the responsive website.
Pros
• single version of site (consistent content)
• very low maintenance overhead
• could be applied to non-T4 sites

• device agnostic ... hence future proof?
Cons
• potential disruption to newly launched site (not another redesign!!)
• relatively few relevant real world examples

• hard to phase in – site change would be all or nothing
• it looked difficult!!
Library
How it was Done

Step 1 – get rid of old mind set.
A web page does not have to look the same in every browser.
Library
How it was Done
Step 2 – using a test site, rationalise the existing T4 site.
• all elements of the site need to be contained within a “fluid grid” – replace fixed width
elements with <div> s which can be sized and positioned from a style sheet.
Note: in an ideal world, you would start by creating a grid, and adding elements to the grid.
We adapted our existing layout to a grid-like layout.
• headers and footers fully contained within T4 page layouts, including any JS or other code
• T4 content types handle all content page structure (insets, images etc.)
• image requests eliminated or embedded in CSS where practical
Note: we opted to stick with HTML 4 throughout due to the fact that old browsers were still widely
used on campus at the time. We do use CSS3 (eg. for media queries) but the core style sheet is CSS2.
Library
“Nested” Grids
• allowed max re-use of existing layouts & types
• minimise impact on users and content providers
• outer grid easily adapted to non-T4 and 3rd party services
Outer grid (managed by page layouts)

Inner grid (managed by content types)
Library
Step 3 – create a CSS file to replicate the current site using new page layouts and content types.
• within CSS, (almost) all measurements set as em values or percentages
• this CSS file provides a decent fallback ‘default’ presentation if media queries are not
supported

Step 4 – replace old CSS, content types and page layouts with new versions
• site is now “responsive ready”
• no disruption to existing site, no significant change to the user experience.
Typical page on non-responsive site
‘Default’ layout on responsive site
images
Potential issues
Fixed width tables
images

Issues addressed with <div>s & CSS styling
Library
Step 5 – determine “break points” (how will the site flow as screen size changes)
• could involve:
• changes to sizes of elements: target ÷ context = result
Eg. Required font size of 12px ÷ base font size of 16px = font-size: 0.75 em
300px sidebar ÷ 1200px page width = width:25%
beware of CSS inheritance!
• changes to positioning of divs
• hiding/revealing divs (CSS & JavaScript)
• need a decent default without CSS or JS trickery
• Google analytics can be useful in identifying breakpoints
• lots of trial and error!
• most useful tool ... a pixel ruler
Library
CSS Snippet
@media only screen and (min-width:731px) and (max-width: 805px) {
#right_panel, #mob-foot-address, #mob-foot-links {display:none;}
html {font-size:12px;}
#outer {margin-bottom:-5em;}
#logo {background-image:url(<t4 type="media" id="173166" formatter="media/*" />);}
#library a {font-size:1.8em}
#library a {float:left; margin-left:1em;}
}

Note: using rem as an alternative to em will help with dependency, but may not work with older browsers
Right side bar now hidden, but content still
available from the top bar navigation
Header reduced in size

Search widget replaced
with link to a page
Content rearranged & image size
reduced in CSS

Footer rearranged
Menu navigation
replaced by menu
widget

New footer layout

Breadcrumb trail added
Library
Step 6 – create a 2nd CSS file to handle “media-queries”
• a 2nd file is not a necessity, but it allowed for a transparent transition on our site
• all our conditional execution is based on viewport width (plus a print definition) – but this is
not quite good enough. A more subtle approach would incorporate device resolution.

Step 7 – link to the media queries CSS file added to page layouts
• site is now fully responsive, with no disruption to service

Step 8 – apply design to non-T4 elements of our web presence
• simply used a variation of a T4 page layout to create a template
Library
Limitations & Issues
• less flexibility for creating content
• images position determined by content type
• a “raw code” content type used for hand crafting special cases
• could be argued that resulting page consistency is a plus
• Reliance on using hidden divs.
• added overhead for page download
• mitigated by removal of graphics from the design
• Some link areas too cluttered (eg footer)
• makes touch selection difficult on mobile
• “Purity” of the design compromised by needing to fit it on to an existing site
• process of “continuous improvement” as sections are updated
Library
Font size issues
... on mobile:
<meta name="viewport" content="width=device-width" />

Prevents “smart phone shrinking” and hence 1em = 1em

... tablets & desktops :
need to take into account
• screen resolution (eg. 1024x768px)
• pixel density - 72 ppi (PC), 96 ppi(Mac), 226ppi (Retina)
• viewport size
to provide optimum reading in all cases
Our viewport based solution works but less than optimum for reduced windows on large screens
Library
In practice ...
Benefits of the responsive site
• site works as well, or better, than non-responsive version (code needs to be good)
• improved accessibility support
• transparent to users (most are unaware that site presentation varies)
• essentially device/software independent
• improvements resulting from consideration of every element in detail (do we need
it? What is the purpose? Relative importance?)
• maintenance, updating simplified. A new look would be easy to deploy.
Library
New problems encountered
• stricter control required with content contributors. Some heavily graphical content simply
won’t work well on mobile. More thought on content design required.

Non responsive content
Library
• training/support issues – as site’s appearance can vary, demonstrations &
screenshots have been problematic.

• need to change mind set of teachers/trainers
• cannot provide a “full site” view on mobile devices
(not without some additional JavaScript)
• does responsive design impact on the nature of the web?
• are practical constraints on what you can/should do with the web acceptable?
Library
Lessons Learned:
• “retrofitting” an existing site is more difficult than starting with a clean sheet. If you can, throw
the old site away.
• don’t think in terms of devices. Think in terms of “viewports”.
• Minimize the use of graphic files for cosmetic effect
• let the browser do it’s job. Don’t try to force an effect or presentation if that’s not how the
browser wants to do it.

• CSS is the key to everything – think of your HTML code as no more than markers for the CSS to
work with. Minimise presentation/layout in your HTML content
• T4 content types may be needed to enforce your “fluid grid” structure
Library
Library
Library
Conclusions:
• “Responsive design” is not really anything special, apart from use of ‘media queries’
• if you have followed “good practice” you will need minimal changes (if any) to your code
• significant ‘incidental’ benefits from applying responsive design

Responsive Design = Good Design
• But there may be penalties

http://www.port.ac.uk/library/

Contenu connexe

Tendances

What Public Library Users Want and How to
What Public Library Users Want and How to What Public Library Users Want and How to
What Public Library Users Want and How to Nina McHale
 
Mahara UK 13 : Let's talk about themes and usability
Mahara UK 13 : Let's talk about themes and usabilityMahara UK 13 : Let's talk about themes and usability
Mahara UK 13 : Let's talk about themes and usabilityrogeremery
 
Week 1 Getting Started
Week 1 Getting StartedWeek 1 Getting Started
Week 1 Getting Starteddlcaven
 
IWMW 2004: Implementing Web Standards Across The Institution - Trials And Tri...
IWMW 2004: Implementing Web Standards Across The Institution - Trials And Tri...IWMW 2004: Implementing Web Standards Across The Institution - Trials And Tri...
IWMW 2004: Implementing Web Standards Across The Institution - Trials And Tri...IWMW
 
Web Tools report
Web Tools reportWeb Tools report
Web Tools reportIWMW
 
Implementing Web Standards across the institution: trials and tribulations of...
Implementing Web Standards across the institution: trials and tribulations of...Implementing Web Standards across the institution: trials and tribulations of...
Implementing Web Standards across the institution: trials and tribulations of...Patrick Lauke
 
FSA Online presence - website and communications planning
FSA Online presence - website and communications planningFSA Online presence - website and communications planning
FSA Online presence - website and communications planningSZIE AOTK
 
More On Drupal - OSU Spring Training 2010
More On Drupal - OSU Spring Training 2010More On Drupal - OSU Spring Training 2010
More On Drupal - OSU Spring Training 2010Bryan Mayjor
 
Mla2012 help ereaders_smallbudget
Mla2012 help ereaders_smallbudgetMla2012 help ereaders_smallbudget
Mla2012 help ereaders_smallbudgetKathy Petlewski
 

Tendances (10)

2 Men 1 Site
2 Men 1 Site2 Men 1 Site
2 Men 1 Site
 
What Public Library Users Want and How to
What Public Library Users Want and How to What Public Library Users Want and How to
What Public Library Users Want and How to
 
Mahara UK 13 : Let's talk about themes and usability
Mahara UK 13 : Let's talk about themes and usabilityMahara UK 13 : Let's talk about themes and usability
Mahara UK 13 : Let's talk about themes and usability
 
Week 1 Getting Started
Week 1 Getting StartedWeek 1 Getting Started
Week 1 Getting Started
 
IWMW 2004: Implementing Web Standards Across The Institution - Trials And Tri...
IWMW 2004: Implementing Web Standards Across The Institution - Trials And Tri...IWMW 2004: Implementing Web Standards Across The Institution - Trials And Tri...
IWMW 2004: Implementing Web Standards Across The Institution - Trials And Tri...
 
Web Tools report
Web Tools reportWeb Tools report
Web Tools report
 
Implementing Web Standards across the institution: trials and tribulations of...
Implementing Web Standards across the institution: trials and tribulations of...Implementing Web Standards across the institution: trials and tribulations of...
Implementing Web Standards across the institution: trials and tribulations of...
 
FSA Online presence - website and communications planning
FSA Online presence - website and communications planningFSA Online presence - website and communications planning
FSA Online presence - website and communications planning
 
More On Drupal - OSU Spring Training 2010
More On Drupal - OSU Spring Training 2010More On Drupal - OSU Spring Training 2010
More On Drupal - OSU Spring Training 2010
 
Mla2012 help ereaders_smallbudget
Mla2012 help ereaders_smallbudgetMla2012 help ereaders_smallbudget
Mla2012 help ereaders_smallbudget
 

En vedette

Muhlenberg College-Social media strategy: TERMINALFOUR tforum 2013
Muhlenberg College-Social media strategy: TERMINALFOUR tforum 2013Muhlenberg College-Social media strategy: TERMINALFOUR tforum 2013
Muhlenberg College-Social media strategy: TERMINALFOUR tforum 2013Terminalfour
 
TERMINALFOUR t44u 2012 - Publish and transfer
TERMINALFOUR t44u 2012 - Publish and transferTERMINALFOUR t44u 2012 - Publish and transfer
TERMINALFOUR t44u 2012 - Publish and transferTerminalfour
 
Siteimprove-Content put to the test: TERMINALFOUR-tforum 2013
Siteimprove-Content put to the test: TERMINALFOUR-tforum 2013Siteimprove-Content put to the test: TERMINALFOUR-tforum 2013
Siteimprove-Content put to the test: TERMINALFOUR-tforum 2013Terminalfour
 
Reimagining SUNY.EDU: TERMINALFOUR tForum 2014
Reimagining SUNY.EDU: TERMINALFOUR tForum 2014Reimagining SUNY.EDU: TERMINALFOUR tForum 2014
Reimagining SUNY.EDU: TERMINALFOUR tForum 2014Terminalfour
 
Transforming your team & your tools to own the web: Connecticut College
Transforming your team & your tools to own the web: Connecticut College Transforming your team & your tools to own the web: Connecticut College
Transforming your team & your tools to own the web: Connecticut College Terminalfour
 
T44u 2015, web development best practice
T44u 2015, web development best practiceT44u 2015, web development best practice
T44u 2015, web development best practiceTerminalfour
 
T44u 2015, improving campaign performance
T44u 2015, improving campaign performanceT44u 2015, improving campaign performance
T44u 2015, improving campaign performanceTerminalfour
 
The new analytics of web governance:TERMINALFOUR t44u 2013
 The new analytics of web governance:TERMINALFOUR t44u 2013 The new analytics of web governance:TERMINALFOUR t44u 2013
The new analytics of web governance:TERMINALFOUR t44u 2013Terminalfour
 
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOUR
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOURBuilding a research portal: Vidatum & NUIG - t44u - TERMINALFOUR
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOURTerminalfour
 
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014Terminalfour
 
Newcastle University & T4 Site Manager: TERMINALFOUR t44u 2013
Newcastle University & T4 Site Manager: TERMINALFOUR t44u 2013Newcastle University & T4 Site Manager: TERMINALFOUR t44u 2013
Newcastle University & T4 Site Manager: TERMINALFOUR t44u 2013Terminalfour
 
Newsletter integration: TERMINALFOUR t44u 2013
Newsletter integration: TERMINALFOUR t44u 2013Newsletter integration: TERMINALFOUR t44u 2013
Newsletter integration: TERMINALFOUR t44u 2013Terminalfour
 
PSEWEB 2013 - Make it responsive - TERMINALFOUR
PSEWEB 2013 - Make it responsive - TERMINALFOURPSEWEB 2013 - Make it responsive - TERMINALFOUR
PSEWEB 2013 - Make it responsive - TERMINALFOURTerminalfour
 
Professional Services Update: TERMINALFOUR tforum 2013
Professional Services Update: TERMINALFOUR tforum 2013Professional Services Update: TERMINALFOUR tforum 2013
Professional Services Update: TERMINALFOUR tforum 2013Terminalfour
 
"Hook, Line and Syncer": Migrating existing websites within TERMINALFOUR Sit...
 "Hook, Line and Syncer": Migrating existing websites within TERMINALFOUR Sit... "Hook, Line and Syncer": Migrating existing websites within TERMINALFOUR Sit...
"Hook, Line and Syncer": Migrating existing websites within TERMINALFOUR Sit...Terminalfour
 
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014 Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014 Terminalfour
 
The external content syncer: TERMINALFOUR t44u 2013
The external content syncer: TERMINALFOUR t44u 2013The external content syncer: TERMINALFOUR t44u 2013
The external content syncer: TERMINALFOUR t44u 2013Terminalfour
 
Newcastle University: Content migration made easy
Newcastle University: Content migration made easyNewcastle University: Content migration made easy
Newcastle University: Content migration made easyTerminalfour
 
Content migration Part 1: TERMINALFOUR t44u 2013
Content migration Part 1: TERMINALFOUR t44u 2013Content migration Part 1: TERMINALFOUR t44u 2013
Content migration Part 1: TERMINALFOUR t44u 2013Terminalfour
 
Social media: Connecting their networks with your website-mStoner: t44u
Social media: Connecting their networks with your website-mStoner: t44uSocial media: Connecting their networks with your website-mStoner: t44u
Social media: Connecting their networks with your website-mStoner: t44uTerminalfour
 

En vedette (20)

Muhlenberg College-Social media strategy: TERMINALFOUR tforum 2013
Muhlenberg College-Social media strategy: TERMINALFOUR tforum 2013Muhlenberg College-Social media strategy: TERMINALFOUR tforum 2013
Muhlenberg College-Social media strategy: TERMINALFOUR tforum 2013
 
TERMINALFOUR t44u 2012 - Publish and transfer
TERMINALFOUR t44u 2012 - Publish and transferTERMINALFOUR t44u 2012 - Publish and transfer
TERMINALFOUR t44u 2012 - Publish and transfer
 
Siteimprove-Content put to the test: TERMINALFOUR-tforum 2013
Siteimprove-Content put to the test: TERMINALFOUR-tforum 2013Siteimprove-Content put to the test: TERMINALFOUR-tforum 2013
Siteimprove-Content put to the test: TERMINALFOUR-tforum 2013
 
Reimagining SUNY.EDU: TERMINALFOUR tForum 2014
Reimagining SUNY.EDU: TERMINALFOUR tForum 2014Reimagining SUNY.EDU: TERMINALFOUR tForum 2014
Reimagining SUNY.EDU: TERMINALFOUR tForum 2014
 
Transforming your team & your tools to own the web: Connecticut College
Transforming your team & your tools to own the web: Connecticut College Transforming your team & your tools to own the web: Connecticut College
Transforming your team & your tools to own the web: Connecticut College
 
T44u 2015, web development best practice
T44u 2015, web development best practiceT44u 2015, web development best practice
T44u 2015, web development best practice
 
T44u 2015, improving campaign performance
T44u 2015, improving campaign performanceT44u 2015, improving campaign performance
T44u 2015, improving campaign performance
 
The new analytics of web governance:TERMINALFOUR t44u 2013
 The new analytics of web governance:TERMINALFOUR t44u 2013 The new analytics of web governance:TERMINALFOUR t44u 2013
The new analytics of web governance:TERMINALFOUR t44u 2013
 
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOUR
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOURBuilding a research portal: Vidatum & NUIG - t44u - TERMINALFOUR
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOUR
 
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014
 
Newcastle University & T4 Site Manager: TERMINALFOUR t44u 2013
Newcastle University & T4 Site Manager: TERMINALFOUR t44u 2013Newcastle University & T4 Site Manager: TERMINALFOUR t44u 2013
Newcastle University & T4 Site Manager: TERMINALFOUR t44u 2013
 
Newsletter integration: TERMINALFOUR t44u 2013
Newsletter integration: TERMINALFOUR t44u 2013Newsletter integration: TERMINALFOUR t44u 2013
Newsletter integration: TERMINALFOUR t44u 2013
 
PSEWEB 2013 - Make it responsive - TERMINALFOUR
PSEWEB 2013 - Make it responsive - TERMINALFOURPSEWEB 2013 - Make it responsive - TERMINALFOUR
PSEWEB 2013 - Make it responsive - TERMINALFOUR
 
Professional Services Update: TERMINALFOUR tforum 2013
Professional Services Update: TERMINALFOUR tforum 2013Professional Services Update: TERMINALFOUR tforum 2013
Professional Services Update: TERMINALFOUR tforum 2013
 
"Hook, Line and Syncer": Migrating existing websites within TERMINALFOUR Sit...
 "Hook, Line and Syncer": Migrating existing websites within TERMINALFOUR Sit... "Hook, Line and Syncer": Migrating existing websites within TERMINALFOUR Sit...
"Hook, Line and Syncer": Migrating existing websites within TERMINALFOUR Sit...
 
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014 Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014
 
The external content syncer: TERMINALFOUR t44u 2013
The external content syncer: TERMINALFOUR t44u 2013The external content syncer: TERMINALFOUR t44u 2013
The external content syncer: TERMINALFOUR t44u 2013
 
Newcastle University: Content migration made easy
Newcastle University: Content migration made easyNewcastle University: Content migration made easy
Newcastle University: Content migration made easy
 
Content migration Part 1: TERMINALFOUR t44u 2013
Content migration Part 1: TERMINALFOUR t44u 2013Content migration Part 1: TERMINALFOUR t44u 2013
Content migration Part 1: TERMINALFOUR t44u 2013
 
Social media: Connecting their networks with your website-mStoner: t44u
Social media: Connecting their networks with your website-mStoner: t44uSocial media: Connecting their networks with your website-mStoner: t44u
Social media: Connecting their networks with your website-mStoner: t44u
 

Similaire à University of Portsmouth Library: A practical approach to Responsive Design

Mobile Best Practices
Mobile Best PracticesMobile Best Practices
Mobile Best Practicesmintersam
 
How Responsive Do You Want Your Website?
How Responsive Do You Want Your Website?How Responsive Do You Want Your Website?
How Responsive Do You Want Your Website?IWMW
 
Web designtrends 5-29-2013
Web designtrends 5-29-2013Web designtrends 5-29-2013
Web designtrends 5-29-2013Angela Bowman
 
Bootstrap for Beginners
Bootstrap for BeginnersBootstrap for Beginners
Bootstrap for BeginnersD'arce Hess
 
UX design for every screen
UX design for every screenUX design for every screen
UX design for every screenFour Kitchens
 
SEF 2014 - Responsive Design in SharePoint 2013
SEF 2014 - Responsive Design in SharePoint 2013SEF 2014 - Responsive Design in SharePoint 2013
SEF 2014 - Responsive Design in SharePoint 2013Marc D Anderson
 
Fundamentals of Web Design | Chandan Chakraborty
Fundamentals of Web Design | Chandan ChakrabortyFundamentals of Web Design | Chandan Chakraborty
Fundamentals of Web Design | Chandan ChakrabortyChandan Chakraborty
 
Future Scope of Website Designing in India
Future Scope of Website Designing in IndiaFuture Scope of Website Designing in India
Future Scope of Website Designing in IndiaGagandeep Singh Rawat
 
Mobuz Solutions | Things to remember when designing your website
Mobuz Solutions | Things to remember when designing your websiteMobuz Solutions | Things to remember when designing your website
Mobuz Solutions | Things to remember when designing your websiteMobuz Solutions Pvt Ltd
 
Software and Website Development Company
Software and Website Development CompanySoftware and Website Development Company
Software and Website Development Companysamyakmahendra
 
Pearls and Must-Have Tools for the Modern Web / .NET Developer
Pearls and Must-Have Tools for the Modern Web / .NET DeveloperPearls and Must-Have Tools for the Modern Web / .NET Developer
Pearls and Must-Have Tools for the Modern Web / .NET DeveloperOfer Zelig
 

Similaire à University of Portsmouth Library: A practical approach to Responsive Design (20)

Mobile Best Practices
Mobile Best PracticesMobile Best Practices
Mobile Best Practices
 
Designing for Everybody Workshop
Designing for Everybody WorkshopDesigning for Everybody Workshop
Designing for Everybody Workshop
 
How Responsive Do You Want Your Website?
How Responsive Do You Want Your Website?How Responsive Do You Want Your Website?
How Responsive Do You Want Your Website?
 
Web designtrends 5-29-2013
Web designtrends 5-29-2013Web designtrends 5-29-2013
Web designtrends 5-29-2013
 
Bootstrap for Beginners
Bootstrap for BeginnersBootstrap for Beginners
Bootstrap for Beginners
 
UX design for every screen
UX design for every screenUX design for every screen
UX design for every screen
 
Web Design Norms
Web Design NormsWeb Design Norms
Web Design Norms
 
SEF 2014 - Responsive Design in SharePoint 2013
SEF 2014 - Responsive Design in SharePoint 2013SEF 2014 - Responsive Design in SharePoint 2013
SEF 2014 - Responsive Design in SharePoint 2013
 
Fundamentals of Web Design | Chandan Chakraborty
Fundamentals of Web Design | Chandan ChakrabortyFundamentals of Web Design | Chandan Chakraborty
Fundamentals of Web Design | Chandan Chakraborty
 
webdesign.ppt
webdesign.pptwebdesign.ppt
webdesign.ppt
 
webdesign.ppt
webdesign.pptwebdesign.ppt
webdesign.ppt
 
webdesign.ppt
webdesign.pptwebdesign.ppt
webdesign.ppt
 
webdesign.ppt
webdesign.pptwebdesign.ppt
webdesign.ppt
 
webdesign.ppt
webdesign.pptwebdesign.ppt
webdesign.ppt
 
Webdesign
WebdesignWebdesign
Webdesign
 
Future Scope of Website Designing in India
Future Scope of Website Designing in IndiaFuture Scope of Website Designing in India
Future Scope of Website Designing in India
 
Mobuz Solutions | Things to remember when designing your website
Mobuz Solutions | Things to remember when designing your websiteMobuz Solutions | Things to remember when designing your website
Mobuz Solutions | Things to remember when designing your website
 
Webdesign
WebdesignWebdesign
Webdesign
 
Software and Website Development Company
Software and Website Development CompanySoftware and Website Development Company
Software and Website Development Company
 
Pearls and Must-Have Tools for the Modern Web / .NET Developer
Pearls and Must-Have Tools for the Modern Web / .NET DeveloperPearls and Must-Have Tools for the Modern Web / .NET Developer
Pearls and Must-Have Tools for the Modern Web / .NET Developer
 

Plus de Terminalfour

Selecting a Digital Agency for Web Redesign - Top Tips
Selecting a Digital Agency for Web Redesign - Top Tips Selecting a Digital Agency for Web Redesign - Top Tips
Selecting a Digital Agency for Web Redesign - Top Tips Terminalfour
 
Let's get personal... Website personalisation and content targeting technique...
Let's get personal... Website personalisation and content targeting technique...Let's get personal... Website personalisation and content targeting technique...
Let's get personal... Website personalisation and content targeting technique...Terminalfour
 
Imperial College London: Creating and managing a flexible site for 1,000 editors
Imperial College London: Creating and managing a flexible site for 1,000 editorsImperial College London: Creating and managing a flexible site for 1,000 editors
Imperial College London: Creating and managing a flexible site for 1,000 editorsTerminalfour
 
Roundhouse Digital: Responsive Sites- Not just looking good on a mobile
Roundhouse Digital: Responsive Sites- Not just looking good on a mobileRoundhouse Digital: Responsive Sites- Not just looking good on a mobile
Roundhouse Digital: Responsive Sites- Not just looking good on a mobileTerminalfour
 
T44u 2015, learning and development
T44u 2015, learning and developmentT44u 2015, learning and development
T44u 2015, learning and developmentTerminalfour
 
T44u 2015, imperial college
T44u 2015, imperial collegeT44u 2015, imperial college
T44u 2015, imperial collegeTerminalfour
 
T44u 2015, upgrading to 8
T44u 2015, upgrading to 8T44u 2015, upgrading to 8
T44u 2015, upgrading to 8Terminalfour
 
T44u 2015, marketing analytics data driven decision making
T44u 2015, marketing analytics   data driven decision makingT44u 2015, marketing analytics   data driven decision making
T44u 2015, marketing analytics data driven decision makingTerminalfour
 
T44u 2015, content migration
T44u 2015, content migrationT44u 2015, content migration
T44u 2015, content migrationTerminalfour
 
T44u 2015, sample data
T44u 2015, sample dataT44u 2015, sample data
T44u 2015, sample dataTerminalfour
 
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...Terminalfour
 
Collaborative Working: University of Sunderland & Roundhouse Digital
Collaborative Working: University of Sunderland & Roundhouse Digital Collaborative Working: University of Sunderland & Roundhouse Digital
Collaborative Working: University of Sunderland & Roundhouse Digital Terminalfour
 
Making a case for CWO in higher ed: TERMINALFOUR tForum 2014
Making a case for CWO in higher ed: TERMINALFOUR tForum 2014Making a case for CWO in higher ed: TERMINALFOUR tForum 2014
Making a case for CWO in higher ed: TERMINALFOUR tForum 2014Terminalfour
 
PHP Access Control: TERMINALFOUR t44u
PHP Access Control: TERMINALFOUR t44uPHP Access Control: TERMINALFOUR t44u
PHP Access Control: TERMINALFOUR t44uTerminalfour
 
PHP Calendar: TERMINALFOUR t44u 2013
PHP Calendar: TERMINALFOUR t44u 2013PHP Calendar: TERMINALFOUR t44u 2013
PHP Calendar: TERMINALFOUR t44u 2013Terminalfour
 
Preview and transfer enhancements: TERMINALFOUR t44u 2013
Preview and transfer enhancements: TERMINALFOUR t44u 2013Preview and transfer enhancements: TERMINALFOUR t44u 2013
Preview and transfer enhancements: TERMINALFOUR t44u 2013Terminalfour
 
Approaches to higher education course search: TERMINALFOUR t44u 2013
Approaches to higher education course search: TERMINALFOUR t44u 2013Approaches to higher education course search: TERMINALFOUR t44u 2013
Approaches to higher education course search: TERMINALFOUR t44u 2013Terminalfour
 
Content migration part 2: TERMINALFOUR t44u 2013
Content migration part 2: TERMINALFOUR t44u 2013Content migration part 2: TERMINALFOUR t44u 2013
Content migration part 2: TERMINALFOUR t44u 2013Terminalfour
 

Plus de Terminalfour (18)

Selecting a Digital Agency for Web Redesign - Top Tips
Selecting a Digital Agency for Web Redesign - Top Tips Selecting a Digital Agency for Web Redesign - Top Tips
Selecting a Digital Agency for Web Redesign - Top Tips
 
Let's get personal... Website personalisation and content targeting technique...
Let's get personal... Website personalisation and content targeting technique...Let's get personal... Website personalisation and content targeting technique...
Let's get personal... Website personalisation and content targeting technique...
 
Imperial College London: Creating and managing a flexible site for 1,000 editors
Imperial College London: Creating and managing a flexible site for 1,000 editorsImperial College London: Creating and managing a flexible site for 1,000 editors
Imperial College London: Creating and managing a flexible site for 1,000 editors
 
Roundhouse Digital: Responsive Sites- Not just looking good on a mobile
Roundhouse Digital: Responsive Sites- Not just looking good on a mobileRoundhouse Digital: Responsive Sites- Not just looking good on a mobile
Roundhouse Digital: Responsive Sites- Not just looking good on a mobile
 
T44u 2015, learning and development
T44u 2015, learning and developmentT44u 2015, learning and development
T44u 2015, learning and development
 
T44u 2015, imperial college
T44u 2015, imperial collegeT44u 2015, imperial college
T44u 2015, imperial college
 
T44u 2015, upgrading to 8
T44u 2015, upgrading to 8T44u 2015, upgrading to 8
T44u 2015, upgrading to 8
 
T44u 2015, marketing analytics data driven decision making
T44u 2015, marketing analytics   data driven decision makingT44u 2015, marketing analytics   data driven decision making
T44u 2015, marketing analytics data driven decision making
 
T44u 2015, content migration
T44u 2015, content migrationT44u 2015, content migration
T44u 2015, content migration
 
T44u 2015, sample data
T44u 2015, sample dataT44u 2015, sample data
T44u 2015, sample data
 
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...
 
Collaborative Working: University of Sunderland & Roundhouse Digital
Collaborative Working: University of Sunderland & Roundhouse Digital Collaborative Working: University of Sunderland & Roundhouse Digital
Collaborative Working: University of Sunderland & Roundhouse Digital
 
Making a case for CWO in higher ed: TERMINALFOUR tForum 2014
Making a case for CWO in higher ed: TERMINALFOUR tForum 2014Making a case for CWO in higher ed: TERMINALFOUR tForum 2014
Making a case for CWO in higher ed: TERMINALFOUR tForum 2014
 
PHP Access Control: TERMINALFOUR t44u
PHP Access Control: TERMINALFOUR t44uPHP Access Control: TERMINALFOUR t44u
PHP Access Control: TERMINALFOUR t44u
 
PHP Calendar: TERMINALFOUR t44u 2013
PHP Calendar: TERMINALFOUR t44u 2013PHP Calendar: TERMINALFOUR t44u 2013
PHP Calendar: TERMINALFOUR t44u 2013
 
Preview and transfer enhancements: TERMINALFOUR t44u 2013
Preview and transfer enhancements: TERMINALFOUR t44u 2013Preview and transfer enhancements: TERMINALFOUR t44u 2013
Preview and transfer enhancements: TERMINALFOUR t44u 2013
 
Approaches to higher education course search: TERMINALFOUR t44u 2013
Approaches to higher education course search: TERMINALFOUR t44u 2013Approaches to higher education course search: TERMINALFOUR t44u 2013
Approaches to higher education course search: TERMINALFOUR t44u 2013
 
Content migration part 2: TERMINALFOUR t44u 2013
Content migration part 2: TERMINALFOUR t44u 2013Content migration part 2: TERMINALFOUR t44u 2013
Content migration part 2: TERMINALFOUR t44u 2013
 

Dernier

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Dernier (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

University of Portsmouth Library: A practical approach to Responsive Design

  • 1. Library Stop the talk, make it happen A practical approach to responsive design - a work in progress Colin Work Web & Communications Developer University of Portsmouth Library Colin.work@port.ac.uk
  • 2. Library Context • Resources – 1 person, effectively no budget • Hosted on corporate T4 service, but independent to main University site • Integration with other in-house & 3rd party services critical • Web site is primarily an information resource, teaching tool and research aid. • “Captive audience”, well defined. • major redesign begun Autumn 2011
  • 3. Library Business Case •From the top “We need a mobile app!” (Late Spring 2012) • student recruitment led, impact of fees • enhancements to Wi-Fi coverage on campus • Proliferation of smart phones and tablets amongst students Accesses by device over previous 12 months Desktop Mobile AY 2011/12 cf 2010/11 -4.16% +62.13% AY 2012/13 cf 2011/12 +34.39% +152.15% Tablet n.a. +486.65%
  • 4. Library Planning Constraints: • no additional resources/budget available • major site revision already nearly complete, for launch in September 2012 • no time to re-visit current site and meet September deadline • staff/students very sensitive to disruptions during term time • could not diverge from prepared teaching/support materials “you wouldn’t want to be starting from here”
  • 5. Library Plan A: Launch website on schedule and follow with a separate site for mobile, using shared T4 content (through content mirroring and/or browser device detection). Pros • (relatively) easy to do in T4, using examples & documentation • minimal if any impact on newly launched website • could be initiated quickly, and developed in stages Cons • how would we support pages/services held outside T4? • proliferation of devices, esp. range of tablets with characteristics somewhere between smart phone and desktop • would the mobile site end up as a “poor relation”? • support overheads • future proof?
  • 6. Library ... but conferences, workshops summer/autumn 2012 led to ... Plan B: the responsive website. Pros • single version of site (consistent content) • very low maintenance overhead • could be applied to non-T4 sites • device agnostic ... hence future proof? Cons • potential disruption to newly launched site (not another redesign!!) • relatively few relevant real world examples • hard to phase in – site change would be all or nothing • it looked difficult!!
  • 7. Library How it was Done Step 1 – get rid of old mind set. A web page does not have to look the same in every browser.
  • 8. Library How it was Done Step 2 – using a test site, rationalise the existing T4 site. • all elements of the site need to be contained within a “fluid grid” – replace fixed width elements with <div> s which can be sized and positioned from a style sheet. Note: in an ideal world, you would start by creating a grid, and adding elements to the grid. We adapted our existing layout to a grid-like layout. • headers and footers fully contained within T4 page layouts, including any JS or other code • T4 content types handle all content page structure (insets, images etc.) • image requests eliminated or embedded in CSS where practical Note: we opted to stick with HTML 4 throughout due to the fact that old browsers were still widely used on campus at the time. We do use CSS3 (eg. for media queries) but the core style sheet is CSS2.
  • 9. Library “Nested” Grids • allowed max re-use of existing layouts & types • minimise impact on users and content providers • outer grid easily adapted to non-T4 and 3rd party services Outer grid (managed by page layouts) Inner grid (managed by content types)
  • 10. Library Step 3 – create a CSS file to replicate the current site using new page layouts and content types. • within CSS, (almost) all measurements set as em values or percentages • this CSS file provides a decent fallback ‘default’ presentation if media queries are not supported Step 4 – replace old CSS, content types and page layouts with new versions • site is now “responsive ready” • no disruption to existing site, no significant change to the user experience.
  • 11. Typical page on non-responsive site
  • 12. ‘Default’ layout on responsive site
  • 14. images Issues addressed with <div>s & CSS styling
  • 15. Library Step 5 – determine “break points” (how will the site flow as screen size changes) • could involve: • changes to sizes of elements: target ÷ context = result Eg. Required font size of 12px ÷ base font size of 16px = font-size: 0.75 em 300px sidebar ÷ 1200px page width = width:25% beware of CSS inheritance! • changes to positioning of divs • hiding/revealing divs (CSS & JavaScript) • need a decent default without CSS or JS trickery • Google analytics can be useful in identifying breakpoints • lots of trial and error! • most useful tool ... a pixel ruler
  • 16. Library CSS Snippet @media only screen and (min-width:731px) and (max-width: 805px) { #right_panel, #mob-foot-address, #mob-foot-links {display:none;} html {font-size:12px;} #outer {margin-bottom:-5em;} #logo {background-image:url(<t4 type="media" id="173166" formatter="media/*" />);} #library a {font-size:1.8em} #library a {float:left; margin-left:1em;} } Note: using rem as an alternative to em will help with dependency, but may not work with older browsers
  • 17.
  • 18. Right side bar now hidden, but content still available from the top bar navigation
  • 19. Header reduced in size Search widget replaced with link to a page Content rearranged & image size reduced in CSS Footer rearranged
  • 20. Menu navigation replaced by menu widget New footer layout Breadcrumb trail added
  • 21. Library Step 6 – create a 2nd CSS file to handle “media-queries” • a 2nd file is not a necessity, but it allowed for a transparent transition on our site • all our conditional execution is based on viewport width (plus a print definition) – but this is not quite good enough. A more subtle approach would incorporate device resolution. Step 7 – link to the media queries CSS file added to page layouts • site is now fully responsive, with no disruption to service Step 8 – apply design to non-T4 elements of our web presence • simply used a variation of a T4 page layout to create a template
  • 22. Library Limitations & Issues • less flexibility for creating content • images position determined by content type • a “raw code” content type used for hand crafting special cases • could be argued that resulting page consistency is a plus • Reliance on using hidden divs. • added overhead for page download • mitigated by removal of graphics from the design • Some link areas too cluttered (eg footer) • makes touch selection difficult on mobile • “Purity” of the design compromised by needing to fit it on to an existing site • process of “continuous improvement” as sections are updated
  • 23. Library Font size issues ... on mobile: <meta name="viewport" content="width=device-width" /> Prevents “smart phone shrinking” and hence 1em = 1em ... tablets & desktops : need to take into account • screen resolution (eg. 1024x768px) • pixel density - 72 ppi (PC), 96 ppi(Mac), 226ppi (Retina) • viewport size to provide optimum reading in all cases Our viewport based solution works but less than optimum for reduced windows on large screens
  • 24. Library In practice ... Benefits of the responsive site • site works as well, or better, than non-responsive version (code needs to be good) • improved accessibility support • transparent to users (most are unaware that site presentation varies) • essentially device/software independent • improvements resulting from consideration of every element in detail (do we need it? What is the purpose? Relative importance?) • maintenance, updating simplified. A new look would be easy to deploy.
  • 25. Library New problems encountered • stricter control required with content contributors. Some heavily graphical content simply won’t work well on mobile. More thought on content design required. Non responsive content
  • 26. Library • training/support issues – as site’s appearance can vary, demonstrations & screenshots have been problematic. • need to change mind set of teachers/trainers • cannot provide a “full site” view on mobile devices (not without some additional JavaScript) • does responsive design impact on the nature of the web? • are practical constraints on what you can/should do with the web acceptable?
  • 27. Library Lessons Learned: • “retrofitting” an existing site is more difficult than starting with a clean sheet. If you can, throw the old site away. • don’t think in terms of devices. Think in terms of “viewports”. • Minimize the use of graphic files for cosmetic effect • let the browser do it’s job. Don’t try to force an effect or presentation if that’s not how the browser wants to do it. • CSS is the key to everything – think of your HTML code as no more than markers for the CSS to work with. Minimise presentation/layout in your HTML content • T4 content types may be needed to enforce your “fluid grid” structure
  • 30. Library Conclusions: • “Responsive design” is not really anything special, apart from use of ‘media queries’ • if you have followed “good practice” you will need minimal changes (if any) to your code • significant ‘incidental’ benefits from applying responsive design Responsive Design = Good Design • But there may be penalties http://www.port.ac.uk/library/