<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Paul Hayes &#187; Design</title>
	<atom:link href="http://www.paulrhayes.com/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulrhayes.com</link>
	<description>The web musings and experiments of.</description>
	<lastBuildDate>Sun, 06 Nov 2011 11:31:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Thoughts on Responsive Enhancement</title>
		<link>http://www.paulrhayes.com/2010-10/thoughts-on-responsive-enhancement/</link>
		<comments>http://www.paulrhayes.com/2010-10/thoughts-on-responsive-enhancement/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 16:36:49 +0000</pubDate>
		<dc:creator>Paul Hayes</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Discussion]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[media-queries]]></category>
		<category><![CDATA[responsive-enhancement]]></category>

		<guid isPermaLink="false">http://www.paulrhayes.com/?p=116</guid>
		<description><![CDATA[An exploration into truly responsive design using media queries.]]></description>
			<content:encoded><![CDATA[<p>At <a href="http://asyncjs.com/responsive-enhancement/">AsyncJS</a> in Brighton last night, <a href="http://adactio.com/journal/1700/">Jeremy Keith</a> gave an overview of “Responsive enhancement” — adapting a layout in response to browser or device capabilities. After considering why fixed width designs are so prevalent, via a brief history lesson, we delved into the tools and methods by which a truly responsive design can be implemented, focussing primarily on size constraints but also touching on troubles surrounding speed.</p>
<p>This article is a brain dump from last night’s event.</p>
<p>CSS3 media queries let us adapt CSS rules to different viewport properties; width, height, pixel ratio, even colour and monochrome screens (<a href="http://www.w3.org/TR/css3-mediaqueries/#contents">full list</a>). Aside: the Amazon Kindle (which uses webkit) reports itself as colour, with 8 levels, rather than monochrome.</p>
<p>The common process is to design for the desktop and use media queries to adapt downwards. On thinner devices content is linearised, navigation moves to the top or bottom, less important elements are sometimes hidden; everything is simplified down to the page’s core use case.</p>
<p>A number of tutorials have offered up the exact pixel-based media queries needed to target specific devices, a sort of restricted browser sniffing. This isn’t truly progressive, you can never cover all devices, and devices change, revisiting code for device iterations isn’t going to be fun.</p>
<p>Media queries don’t need to be pixel based either, changing a page layout based on ems will adapt content for larger text sizes. If the user’s text size is huge, our viewport is the same but we’ve got less space to play with, a linear mobile-like design might be more desirable.</p>
<p>This act of adapting downwards works for devices like the iPhone and iPad, but what about those that don’t support media queries? They’re going to get the full desktop version and it’s not going to be pretty.</p>
<p>Luke Wroblewski has suggested designing for <a href="http://www.lukew.com/ff/entry.asp?933">mobile first</a> (an excellent read). In terms of responsive enhancement that means creating your linear site as the baseline and building outwards around content, bringing in features as capabilities improve and constraints are relaxed. As the viewport widens, media queries can introduce columns, rather than remove them. It’s the same process but in the opposite direction.</p>
<p>All mobile devices and older browsers would get the simplified, linear design. This works on the assumption that desktop browsers support media queries, IE 8 and below do not, ergo they’ll be seeing the linear site design. This may be acceptable, but in the majority of cases IE will need some sort of hack to get the full featured version.</p>
<p>Using conditional IE comments an IE layout can be hacked in. The IE specific styles are likely to repeat existing code, undesirable, but unavoidable? This is still a one size fits all approach as IE will not adapt to screen or text size. For this we need a JS poly-fill, one that enables media queries in older browsers. There’s a library on Google Code that does just this, <a href="http://code.google.com/p/css3-mediaqueries-js/">CSS3 Media Queries JS</a>.</p>
<p>Building a page that can be linearised means putting the most important information first in the source code. This assumes that the context of “what is important” is similar on different devices. If the context is different, that makes a case for serving different content, usually via a standalone mobile site (which should always come with a link to the full version).</p>
<p>And on the topic of serving different content, there is also the speed problem. Hiding and showing parts of a page using CSS is great, but it doesn’t stop the slower mobile networks from downloading the unnecessary parts, including those huge background images. PPK has written an excellent article on <a href= "http://www.quirksmode.org/blog/archives/2010/08/combining_media.html">combining media queries and javascript</a> to avoid some of these caveats.</p>
<p>To round this brain dump off, I’ll recommend some other articles on the subject, which go into some of the technical aspects in a little more depth.</p>
<p>Ethan Marcotte’s “<a href="http://www.alistapart.com/articles/responsive-web-design/">Responsive Web Design</a>“<br />
Jeremy Keith’s “<a href="http://adactio.com/journal/1700/">Responsive Enhancement</a>“<br />
Yiibu’s “<a href="http://yiibu.com/articles/rethinking-the-mobile-web/">Rethinking the mobile web</a>“<br />
PPK’s “<a href="http://www.quirksmode.org/blog/archives/2010/09/state_of_mobile.html">State of Mobile Web Development</a>”</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulrhayes.com/2010-10/thoughts-on-responsive-enhancement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new look, and a new domain</title>
		<link>http://www.paulrhayes.com/2010-08/a-new-look-and-a-new-domain/</link>
		<comments>http://www.paulrhayes.com/2010-08/a-new-look-and-a-new-domain/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 07:58:53 +0000</pubDate>
		<dc:creator>Paul Hayes</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.paulrhayes.com/?p=103</guid>
		<description><![CDATA[Moving from fofronline.com to paulrhayes.com, with a sparkling new design to match.]]></description>
			<content:encoded><![CDATA[<p>It’s been almost a year since my last post. In that time I’ve moved house, changed jobs and got married, it’s been a bit of a whirlwind. And the web has moved fast as well, CSS and canvas experiments have been popping up all over the place (see <a href="http://delicious.com/fofr/css3">delicious.com/fofr/css3</a> for my favourites).</p>
<p>Inevitably coming back to “FofR Online” after such a long period I wasn’t happy with the site, and I’ve committed the web faux pas of changing the design and the domain name at the same time. I’ve dropped the rather meaningless “FofR Online” pseudonym in favour of using my name as a brand. All pages now redirect to paulrhayes.com.</p>
<p>This site is my first experiment with TypeKit and web fonts. I’ve chosen to use Museo for headers and Swing dancer for my name. I can’t say I’m entirely happy, but if I waited for that I’d never release anything. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulrhayes.com/2010-08/a-new-look-and-a-new-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating the first design</title>
		<link>http://www.paulrhayes.com/2009-03/creating-the-first-design/</link>
		<comments>http://www.paulrhayes.com/2009-03/creating-the-first-design/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 00:20:30 +0000</pubDate>
		<dc:creator>Paul Hayes</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.fofronline.com/?p=5</guid>
		<description><![CDATA[Steps in producing the first design for fofronline.com.]]></description>
			<content:encoded><![CDATA[<p>For the default FofR Online theme, the first of many, I have chosen a simple appearance that focuses on the beauty of fonts and typography. The header uses a sans-serif font, on OS X this will be Helvetica Neue, on Windows the CSS font stack allows the design to fall back to the more common Arial, plain old Helvetica isn’t used because some Windows machines have a terrible low quality version installed. The content area is distinguished with a serif font, for the time being (no pun intended — where would I be if I started making typeface puns?), this is Times New Roman. I may experiment further with less common serif fonts that are installed on a good majority of machines (e.g. with MS Office or Adobe CS4), falling back to Times New Roman if necessary.<br />
<span id="more-5"></span></p>
<p><strong>Update</strong>: I have slightly altered the content’s stack to begin with Apple’s Times font rather than Times New Roman, mainly for the superior glyphs that it offers, take for instance ‘fi’ in this post’s title. I’m attempting to research the differences between Times and Times New Roman beyond a simple comparison though internet sleuthing has not proved fruitful.</p>
<p>I’ve spent a short amount of time researching leading, kerning, the measure, et al to improve the legibility of the content region (e.g. <a href="http://www.thedesigncubicle.com/2008/12/10-common-typography-mistakes/">The Design Cubicle</a>). I’ve increased the CSS line-spacing and slightly upped the word-spacing to make the content area more readable. The design’s horizontal dimensions are all defined in <em>em</em>s, so the page scales correctly with changes in font size — always maintaining an appropriate measure in the region of 78 characters, ‘<em>a couple of alphabets</em>’ — a good rule of thumb for legibility. The vertical alignment in the header uses pixels to keep the desired appearance. The header image uses the text-indent text replacement technique and a transparent PNG that uses Helvetica Neue to achieve a consistent branding style across platforms.</p>
<p><a href="http://markboulton.co.uk/journal/comments/five_simple_steps_to_better_typography/">Mark Boulton</a> states that the leading should increase proportionately with the measure. I am tempted to create a small JavaScript project for a fluid web layout that dynamically alters the CSS line-spacing of the content based on the width of the window and hence the measure; just to see how things change. I think the first problem may be deciding the scaling factor to apply to the line-spacing.</p>
<p>One of the biggest caveats of creating a design that strongly relies on the <em>beauty</em> of fonts is the difference in Windows and Apple font rendering. Take for instance the screen capture below which compares Windows XP (Left, IE7) with OSX (Right, Firefox 3). My preference is towards Apple’s stylish approach that attempts to match print, versus Microsoft’s pixel jamming but easier to read pragmatic rendering. By using fonts as the predominant styling force on the page it is clear that in this case the Apple approach is superior. <a href="http://www.joelonsoftware.com/items/2007/06/12.html">Joel on Software</a> has a very nice article that makes a good comparison between the two.</p>
<p class="center"><a href="http://host.trivialbeing.org/up/windows-mac-comparison.png"><img src="http://host.trivialbeing.org/up/small/windows-mac-comparison.png" alt="Windows and OS X font rendering comparison" /></a></p>
<p>Areas still left to develop include the right hand columns, a proper grid layout and the footer, I have put these aside until next week.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulrhayes.com/2009-03/creating-the-first-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Let’s get the ball rolling</title>
		<link>http://www.paulrhayes.com/2009-03/lets-get-the-ball-rolling/</link>
		<comments>http://www.paulrhayes.com/2009-03/lets-get-the-ball-rolling/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 17:01:00 +0000</pubDate>
		<dc:creator>Paul Hayes</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[sandbox]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.fofronline.com/?p=3</guid>
		<description><![CDATA[An introduction to this blog and its aims.]]></description>
			<content:encoded><![CDATA[<p>Good evening, day, or morning, depending on the time you read this. Welcome to my online portfolio, my sandbox for design, my playground for web development, my platform for industry opinions and my business, “FofR Online”. What does FofR stand for? It’s Czech for “move it”, it’s a common typo of for and it sits in that ballpark of quirky online branding — reminiscent of Flickr or Twitter, especially if pronounced ‘foffer’.<br />
<span id="more-62"></span></p>
<p>This blog has been devised as a spring board for my ideas whilst serving as a professional outlet for my skills, thoughts and collaborations. If I were to include some buzz words in this opening blurb to describe the content I’ll endeavour to put here I might include; CSS3, HTML5, Information Architecture, User Experience, Unobtrusive JavaScript, Prototype &amp; jQuery libraries, SEO, web analytics, OOCSS, progressive enhancement, accessibility, rapid design prototyping and internet marketing.</p>
<p>As an exciting starting point, rather than build my own WordPress theme from scratch I have opted to use the excellent Sandbox theme — ‘<em>beautiful on the inside</em>’. With its hugely powerful class-generating functions Sandbox creates clean and accessible markup with a huge array of context sensitive CSS selectors, creating an ‘<em>exceptionally extensible foundation</em>’.</p>
<p>For more information on the Sandbox WordPress theme I recommend checking out the official <a href="http://www.plaintxt.org/themes/sandbox/">Sandbox website</a> hosted at plaintxt or the project home on <a href="http://code.google.com/p/sandbox-theme/">Google Code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulrhayes.com/2009-03/lets-get-the-ball-rolling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

