<?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>Nathan Staines</title> <atom:link href="http://nathanstaines.com/feed/" rel="self" type="application/rss+xml" /><link>http://nathanstaines.com</link> <description></description> <lastBuildDate>Fri, 03 Feb 2012 12:32:06 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Macbook Pro SSD upgrade</title><link>http://nathanstaines.com/articles/macbook-pro-ssd-upgrade/</link> <comments>http://nathanstaines.com/articles/macbook-pro-ssd-upgrade/#comments</comments> <pubDate>Thu, 22 Sep 2011 17:06:34 +0000</pubDate> <dc:creator>Nathan</dc:creator> <category><![CDATA[Articles]]></category> <category><![CDATA[hardware]]></category> <category><![CDATA[macbook pro]]></category> <category><![CDATA[ssd]]></category><guid isPermaLink="false">http://nathanstaines.com/?p=536</guid> <description><![CDATA[It&#8217;s been just over two weeks since I decided to upgrade my Macbook Pro 15&#8243; late 2008 model with a 128GB Crucial M4 SSD also replacing my SuperDrive with the exisiting 320GB HDD in the process. I was initially going to bite the bullet and purchase a brand new Macbook Air but figured I&#8217;d probably...<p><a href="http://nathanstaines.com/articles/macbook-pro-ssd-upgrade/">Continue reading &#187;</a></p>]]></description> <content:encoded><![CDATA[<p>It&#8217;s been just over two weeks since I decided to upgrade my Macbook Pro 15&#8243; late 2008 model with a 128GB Crucial M4 <abbr title="Solid State Drive">SSD</abbr> also replacing my SuperDrive with the exisiting 320GB <abbr title="Hard Disc Drive">HDD</abbr> in the process.</p><p>I was initially going to bite the bullet and purchase a brand new Macbook Air but figured I&#8217;d probably want to upgrade again within the next 12-24 months, so despite the fact that everyone seems to be raving about the Air at the moment I thought going with the SSD upgrade instead would save me some money in the long run.</p><div class="equipment alignright breakright"><h4>Equipment used</h4><ul><li class="lion-osx"><h5><img src="http://nathanstaines.com/wp-content/uploads/2011/09/osx-lion.png" alt="" title="osx-lion" width="48" height="48" class="alignnone size-full wp-image-501" /> <a href="http://store.apple.com/uk/product/MD256Z/A">OSX Lion thumb drive</a></h5></li><li class="phillips"><h5><img src="http://nathanstaines.com/wp-content/uploads/2011/09/phillips.png" alt="" title="phillips" width="48" height="48" class="alignnone size-full wp-image-511" /> <a href="http://www.crucial.com/uk/store/partspecs.aspx?imodule=CTSCRDRVRPH0">00 phillips screwdriver</a></h5></li><li class="torx"><h5><img src="http://nathanstaines.com/wp-content/uploads/2011/09/torx.png" alt="" title="torx" width="48" height="48" class="alignnone size-full wp-image-513" /> <a href="http://www.amazon.co.uk/Silverline-277858-T6-Trx-Screwdriver/dp/B000LFXBIC/ref=sr_1_1?ie=UTF8&#038;qid=1315568888&#038;sr=8-1">T6 Torx screwdriver</a></h5></li><li class="crucial"><h5><img src="http://nathanstaines.com/wp-content/uploads/2011/09/crucial.png" alt="" title="crucial" width="48" height="48" class="alignnone size-full wp-image-515" /> <a href="http://www.crucial.com/uk/store/partspecs.aspx?IMODULE=CT128M4SSD2">128GB Crucial M4</a></h5></li><li class="hdcaddy"><h5><img src="http://nathanstaines.com/wp-content/uploads/2011/09/hdcaddy.png" alt="" title="hdcaddy" width="48" height="48" class="alignnone size-full wp-image-516" /> <a href="http://hdcaddy.com/product.php?id_product=10">Fenvi HDcaddy</a></h5></li></ul></div><h3>Choosing the SSD</h3><p>Obviously the most important part of this process is in deciding which SSD to go with. As always our trusty friend Google had plenty to say on the matter but not everything it spat out was entirely helpful. I did however find this <a href="http://macgateway.com/reviews/best-ssd-upgrades-for-the-macbook-pro/">article from MacGateway</a> had enough information to get me started.</p><p>There are already a number of good quality Solid State Drives to choose from and this is only going to increase as the technology behind them improves. I decided to go for a mixture of price, space and all-round speed settling on the 128GB Crucial M4 in the end.</p><h3>Installation</h3><p>I&#8217;ve always been a bit of a clean freak when it comes to computers. I love reformatting my HDD (now SSD) about every 6 months in an effort to trick myself into thinking I have a completely new machine. I had an external HDD lying around that I used that to back up all of the files I wanted to keep and took this opportunity to install a clean version OSX Lion.</p><p>Replacing the HDD with the SSD couldn&#8217;t have been simpler (assuming of course you have the correct tools), whereas swapping out the SuperDrive with the HDD was a little bit trickier. To get the job done I basically followed these step by step instructions from ifixit.com and watched this guy take his machine apart on YouTube:</p><ul><li><a href="http://www.ifixit.com/Guide/MacBook-Pro-15-Inch-Unibody-Late-2008-and-Early-2009-Hard-Drive-Replacement/841/1">Hard Drive replacement tutorial</a></li><li><a href="http://www.ifixit.com/Guide/MacBook-Pro-15-Inch-Unibody-Late-2008-and-Early-2009-Optical-Drive-Replacement/826/1">Optical Drive replacement tutorial</a></li></ul><iframe width="640" height="390" src="http://www.youtube.com/embed/iv91m2z6DPY" frameborder="0" allowfullscreen></iframe><h3>Conclusion</h3><p>So far everything seems to be a lot snappier than it was before, applications are responding a lot quicker and waiting for my machine to boot up in the morning is now a thing of the past. If you&#8217;re thinking about performing a similar upgrade on your machine &#8211; do it, you won&#8217;t regret it.</p>]]></content:encoded> <wfw:commentRss>http://nathanstaines.com/articles/macbook-pro-ssd-upgrade/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Italia</title><link>http://nathanstaines.com/photos/italia/</link> <comments>http://nathanstaines.com/photos/italia/#comments</comments> <pubDate>Wed, 24 Aug 2011 13:00:59 +0000</pubDate> <dc:creator>Nathan</dc:creator> <category><![CDATA[Photos]]></category> <category><![CDATA[holidays]]></category> <category><![CDATA[italy]]></category><guid isPermaLink="false">http://temp.nathanstaines.com.s131562.gridserver.com/?p=344</guid> <description><![CDATA[I finally got a chance to take my new <a href="http://tokinalens.com/products/tokina/atx116prodx-a.html">Tokina 11-16mm lens</a> for a spin when on holidays in Italy last week. After flying into Genova we spent a couple of days driving (without a <abbr title="global positioning system">GPS</abbr>) up and down the coastline to places such as Finale Ligure, Camogli, Portofino and the Cinque Terre.]]></description> <content:encoded><![CDATA[<p><img src="http://nathanstaines.com/wp-content/uploads/2011/08/italy21-790x526.jpg" alt="" title="italy2" width="790" height="526" class="alignnone breakfree size-large wp-image-523" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/08/italy3-790x523.jpg" alt="" title="italy3" width="790" height="523" class="alignnone breakfree size-large wp-image-453" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/08/italy4-790x523.jpg" alt="" title="italy4" width="790" height="523" class="alignnone breakfree size-large wp-image-454" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/08/italy1-790x1192.jpg" alt="" title="italy1" width="790" height="1192" class="alignnone breakfree size-large wp-image-451" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/08/italy5-790x526.jpg" alt="" title="italy5" width="790" height="526" class="alignnone breakfree size-large wp-image-455" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/08/italy6-790x526.jpg" alt="" title="italy6" width="790" height="526" class="alignnone breakfree size-large wp-image-456" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/08/italy7-790x523.jpg" alt="" title="italy7" width="790" height="523" class="alignnone breakfree size-large wp-image-457" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/08/italy8-790x526.jpg" alt="" title="italy8" width="790" height="526" class="alignnone breakfree size-large wp-image-458" /><p>]]></content:encoded> <wfw:commentRss>http://nathanstaines.com/photos/italia/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>A responsive redesign</title><link>http://nathanstaines.com/articles/a-responsive-redesign/</link> <comments>http://nathanstaines.com/articles/a-responsive-redesign/#comments</comments> <pubDate>Fri, 19 Aug 2011 11:00:05 +0000</pubDate> <dc:creator>Nathan</dc:creator> <category><![CDATA[Articles]]></category> <category><![CDATA[design]]></category> <category><![CDATA[responsive]]></category> <category><![CDATA[theme]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://temp.nathanstaines.com.s131562.gridserver.com/?p=322</guid> <description><![CDATA[I&#8217;ve finally decided to do the responsible thing and go responsive with my website. Today, sites are being viewed on a number of different devices and browsers each with differing dimensions and screen resolutions, gone are the days of the one size fits all design philosophy. Ethan Marcotte outlines in his game changing book &#8216;Responsive...<p><a href="http://nathanstaines.com/articles/a-responsive-redesign/">Continue reading &#187;</a></p>]]></description> <content:encoded><![CDATA[<p><strong>I&#8217;ve finally decided to do the responsible thing and go <i>responsive</i> with my website.</strong></p><p>Today, sites are being viewed on a number of different devices and browsers each with differing dimensions and screen resolutions, gone are the days of the one size fits all design philosophy.</p><div id="attachment_442" class="wp-caption breakfree alignnone" style="width: 768px"><img src="http://nathanstaines.com/wp-content/uploads/2011/08/responsive.png" alt="" title="A responsive redesign" width="758" height="320" class="size-full wp-image-442" /><p class="wp-caption-text">A responsive redesign</p></div><p>Ethan Marcotte outlines in his game changing book <a href="http://abookapart.com/products/responsive-web-design">&#8216;Responsive Web Design&#8217;</a> that fluid grids, flexible images and media queries are the three technical ingredients that are needed for responsive web design, but that it also requires a different way of thinking.</p><p>So equipped with this new found knowledge I set out to create a WordPress theme that would allow users to easily read the content on this site regardless of screen size. I decided to take what I already knew from working with <a href="https://github.com/nathanstaines/starkers-html5">Starkers HTML5</a> and mixed it together with the <a href="http://h5bp.com">HTML5 Boilerplate</a> and Andy Clarke&#8217;s <a href="http://stuffandnonsense.co.uk/projects/320andup/">320 &#038; Up</a> boilerplate extension.</p><h3>A fresh coat of paint</h3><p>While I was at it with the whole <i>responsive</i> thing I also thought I&#8217;d go with a new <a href="http://wordpress.org/">WordPress</a> inspired colour scheme, a homage to <a href="http://flightoftheconchords.co.nz/">Flight of the Conchords</a> on the homepage and the inclusion of <a href="http://miekd.com/articles/pull-quotes-with-html5-and-css/">Maykel Loomans&#8217; pull quote technique</a> on some of the blog posts and pages.</p><h3>Updated projects</h3><p>I also took this opportunity to add some of the more recent projects I&#8217;ve been working on over the last nine months, such as the newly designed <a href="/work/well-studio/">Well Studio</a> site, some <a href="/work/which-local/">Which? Local</a> refactoring and <a href="/work/mishcon-de-reya/">Mishcon de Reya</a> responsifying.</p><h3>What next?</h3><p>I still need to complete the contact form on the contact page and at some point I&#8217;d like to start posting about my photography, but before I can do that I really need to make sure that what I have in mind will work in a responsive manner.</p><p>In the meantime I&#8217;m hoping this new look will inspire me to write blog posts a little more frequently but as always, only time will tell&#8230;</p>]]></content:encoded> <wfw:commentRss>http://nathanstaines.com/articles/a-responsive-redesign/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Well Studio</title><link>http://nathanstaines.com/work/well-studio/</link> <comments>http://nathanstaines.com/work/well-studio/#comments</comments> <pubDate>Fri, 05 Aug 2011 11:00:46 +0000</pubDate> <dc:creator>Nathan</dc:creator> <category><![CDATA[Work]]></category> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category> <category><![CDATA[responsive]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://nathanstaines.com/?p=673</guid> <description><![CDATA[<p>Thanks to the emergence of responsive web design I had an opportunity to combine a custom WordPress theme and Andy Clarke's <a href="http://stuffandnonsense.co.uk/projects/320andup/">320 and up boilerplate extension</a> for this project.</p>]]></description> <content:encoded><![CDATA[<p><img src="http://nathanstaines.com/wp-content/uploads/2011/08/wellstudio-790x912.png" alt="" title="Well Studio" width="790" height="912" class="breakfree alignnone size-large wp-image-292" /></p>]]></content:encoded> <wfw:commentRss>http://nathanstaines.com/work/well-studio/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Which? Local</title><link>http://nathanstaines.com/work/which-local/</link> <comments>http://nathanstaines.com/work/which-local/#comments</comments> <pubDate>Tue, 12 Jul 2011 11:00:23 +0000</pubDate> <dc:creator>Nathan</dc:creator> <category><![CDATA[Work]]></category> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category> <category><![CDATA[jquery]]></category><guid isPermaLink="false">http://nathanstaines.com/?p=670</guid> <description><![CDATA[<p>I was responsible for implementing a new HTML &#038; CSS framework that allowed us to put together quick prototypes, create object-orientated modules and also develop new features with ease.</p>]]></description> <content:encoded><![CDATA[<div id="attachment_104" class="wp-caption breakfree alignnone" style="width: 800px"><img src="http://nathanstaines.com/wp-content/uploads/2011/08/whichlocal-790x1334.png" alt="" title="Which? Local" width="790" height="1334" class="size-large wp-image-104" /><p class="wp-caption-text">A redesigned mock-up of the logged out homepage</p></div>]]></content:encoded> <wfw:commentRss>http://nathanstaines.com/work/which-local/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Thoughts on New Adventures 2011</title><link>http://nathanstaines.com/articles/thoughts-on-new-adventures-2011/</link> <comments>http://nathanstaines.com/articles/thoughts-on-new-adventures-2011/#comments</comments> <pubDate>Sun, 23 Jan 2011 11:00:24 +0000</pubDate> <dc:creator>Nathan</dc:creator> <category><![CDATA[Articles]]></category> <category><![CDATA[conference]]></category> <category><![CDATA[review]]></category><guid isPermaLink="false">http://temp.nathanstaines.com.s131562.gridserver.com/?p=23</guid> <description><![CDATA[I had the opportunity this week to head up north to Nottingham along with another 600+ fellow web geeks for the inaugural New Adventures in web design conference. From the moment I arrived at St Pancras train station it felt like I was playing a real life version of &#8216;Where in the World is Carmen...<p><a href="http://nathanstaines.com/articles/thoughts-on-new-adventures-2011/">Continue reading &#187;</a></p>]]></description> <content:encoded><![CDATA[<p>I had the opportunity this week to head up north to Nottingham along with another 600+ fellow web geeks for the inaugural <a href="http://newadventuresconf.com/">New Adventures in web design conference</a>.</p><p>From the moment I arrived at St Pancras train station it felt like I was playing a real life version of &#8216;Where in the World is Carmen Sandiego?&#8217; it seemed like I had just missed other conference goers by only a matter of hours when I checked in on Gowalla.</p><p>This trend continued until after I had checked in at the Premier Inn (where everything&#8217;s premier but the price) and headed on out to the now famous:</p><h3>Erskine Bowling</h3><p><div id="attachment_27" class="wp-caption alignright" style="width: 262px"><img src="http://nathanstaines.com/wp-content/uploads/2011/01/5377246009_7af4c4bb61-252x167.jpg" alt="" title="Bowling shoes" width="252" height="167" class="size-medium wp-image-27" /><p class="wp-caption-text">Bowling shoes &bull; photo by Marc Thiele</p></div>The guys from <a href="http://erskinedesign.com/">Erskine Design</a> organized a great night of bowling, creating a nice laid-back atmosphere where the conference attendees could catch up and enjoy themselves in a social setting before having to put their thinking caps on the next morning.</p><p>As far as the bowling was concerned everyone seemed to peak early except wee <a href="http://twitter.com/jackosborne">@jackosborne</a> who improved <i>only slightly</i> as the night went on.</p><p>Now I haven&#8217;t exactly been to a lot of web design conferences but I&#8217;m pretty sure it&#8217;s safe to say that the people who go look forward to these sort of social events almost as much as the conference talks themselves.</p><p>During the course of the night I had the pleasure of meeting some amazing people from within our industry where many great conversations were had.</p><p>And even though I wasn&#8217;t lucky enough to be apart of a bowling team I did get the opportunity to knock over a few pins every now and then.</p><p>I didn&#8217;t stick around to see which team was crowned champions but overall the night to me was plenty of fun.</p><h3>Conference Speakers</h3><p><div id="attachment_26" class="wp-caption alignleft" style="width: 262px"><img src="http://nathanstaines.com/wp-content/uploads/2011/01/5375457507_5000b50312-252x189.jpg" alt="" title="Albert Hall" width="252" height="189" class="size-medium wp-image-26" /><p class="wp-caption-text">Albert Hall &bull; photo by Simon Collison</p></div>Thursday brought with it a reasonably early start, a queue around the corner to get inside Albert Hall and plenty of coffee in hand.</p><p>Over the course of the day there were some brilliant ideas and opinions presented from some of the industry&#8217;s most respected voices like Dan Rubin, Mark Boulton, Sarah Parmenter, Elliot Jay Stocks, Jon Tan, Tim Van Damme, Greg Wood, Veerle Pieters, Andy Clarke and Brendan Dawes.</p><p>All <em>my favourite</em> talks in one way or another seemed to revolve around <b>the content</b>. From Mark Boulton&#8217;s idea of designing from the content out, not the canvas in, to Greg Wood&#8217;s personal experiment with art directed/editorial design and whether or not this works on the web, then finally Andy Clarke&#8217;s idea of telling stories with &#8216;Once upon a time on the web&#8217;.</p><p>For me the conference accomplished everything it set out to do:</p><blockquote style="clear: both;">New Adventures&#8230; will be carefully curated; chock-full of integrity, opinion, and fresh content, with an emphasis on shaking things up and challenging convention. This event has inspiration, thinking, and intelligence at its core. It will encourage debate, enthuse, excite, ask questions, and look for real outcomes.</blockquote><p>Now although New Adventures was always billed as having a fast-paced punchy format, my one and only criticism would be to say that 10 speakers in a day is a lot to take on &#8211; and a lot to take in.</p><h3>The After Party</h3><p><div id="attachment_28" class="wp-caption alignright" style="width: 262px"><img src="http://nathanstaines.com/wp-content/uploads/2011/01/after-party-252x184.png" alt="" title="After party" width="252" height="184" class="size-medium wp-image-28" /><p class="wp-caption-text">Argh! &bull; photo by gablaxian</p></div>Once the conference had officially finished up I headed back to the hotel with a couple of the <abbr title="Great Bunch of Lads">GBOLs</abbr> to drop off our stuff and head out for some food.</p><p>A few hours later and we arrived at Escucha to find plenty of fellow web geeks catching up on the days events.</p><p>There&#8217;s always a few factors at play when it comes to hosting a successful after party (in my opinion at least). The venue, the free tab at the bar and the volume. All of which were spot on!</p><h3>Final Thoughts</h3><p>Overall the New Adventures in web design conference in my eyes was a huge success, I love the opportunity to catch up with other people in our industry to discuss and/or question the direction in which we&#8217;re all headed.</p><ul><li>For more reviews and write-ups of the conference <a href="http://lanyrd.com/2011/new-adventures-in-web-design/writeups/">check out lanyard</a>.</li><li>And for all the photos of the event there&#8217;s no better place than the <a href="http://www.flickr.com/groups/naconf/pool/">New Adventures flickr pool</a>.</li></ul><p>Thanks <a href="http://twitter.com/colly">@colly</a> and team for such an entertaining and inspiring conference.</p>]]></content:encoded> <wfw:commentRss>http://nathanstaines.com/articles/thoughts-on-new-adventures-2011/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>NYE 2010</title><link>http://nathanstaines.com/photos/nye-2010/</link> <comments>http://nathanstaines.com/photos/nye-2010/#comments</comments> <pubDate>Sat, 01 Jan 2011 11:00:44 +0000</pubDate> <dc:creator>Nathan</dc:creator> <category><![CDATA[Photos]]></category> <category><![CDATA[nye]]></category> <category><![CDATA[party]]></category><guid isPermaLink="false">http://nathanstaines.com/?p=503</guid> <description><![CDATA[We spent most of New Years Eve in a little pub called The Mulberry Bush near London's Southbank. Then as the clock neared midnight we headed on out to find a spot to stand along The River Thames with about a million other people.]]></description> <content:encoded><![CDATA[<p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_led91mbQK31qecw36.jpg" alt="" title="tumblr_led91mbQK31qecw36" width="500" height="331" class="alignnone size-full wp-image-505" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/01/tumblr_led92urDgG1qecw36.jpg" alt="" title="tumblr_led92urDgG1qecw36" width="500" height="333" class="alignnone size-full wp-image-521" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_led93fLnAZ1qecw36.jpg" alt="" title="tumblr_led93fLnAZ1qecw36" width="500" height="333" class="alignnone size-full wp-image-507" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_led942WE121qecw36.jpg" alt="" title="tumblr_led942WE121qecw36" width="500" height="333" class="alignnone size-full wp-image-509" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_led94iqMUM1qecw36.jpg" alt="" title="tumblr_led94iqMUM1qecw36" width="500" height="333" class="alignnone size-full wp-image-508" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_led8z2UQGo1qecw36.jpg" alt="" title="tumblr_led8z2UQGo1qecw36" width="500" height="333" class="alignnone size-full wp-image-504" /></p>]]></content:encoded> <wfw:commentRss>http://nathanstaines.com/photos/nye-2010/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Around London Town</title><link>http://nathanstaines.com/photos/around-london-town/</link> <comments>http://nathanstaines.com/photos/around-london-town/#comments</comments> <pubDate>Thu, 09 Dec 2010 11:00:26 +0000</pubDate> <dc:creator>Nathan</dc:creator> <category><![CDATA[Photos]]></category> <category><![CDATA[london]]></category> <category><![CDATA[the underground]]></category><guid isPermaLink="false">http://nathanstaines.com/?p=473</guid> <description><![CDATA[Here you'll find a collection of photos I'd taken just after getting my new Nikon D7000. I figured I'd take a wander around London Town and although many people like to complain about the Underground I think it's one of the easiest ways to explore this wonderful city.]]></description> <content:encoded><![CDATA[<p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_ld6pu4fv6u1qecw36.jpg" alt="" title="tumblr_ld6pu4fv6u1qecw36" width="500" height="333" class="alignnone size-full wp-image-474" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_ld6pwcmKkz1qecw36.jpg" alt="" title="tumblr_ld6pwcmKkz1qecw36" width="500" height="331" class="alignnone size-full wp-image-475" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_ld6pxfsrCH1qecw36.jpg" alt="" title="tumblr_ld6pxfsrCH1qecw36" width="500" height="331" class="alignnone size-full wp-image-476" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_ld6pykzr8r1qecw36.jpg" alt="" title="tumblr_ld6pykzr8r1qecw36" width="500" height="333" class="alignnone size-full wp-image-477" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_ld6pz9ULqW1qecw36.jpg" alt="" title="tumblr_ld6pz9ULqW1qecw36" width="500" height="333" class="alignnone size-full wp-image-478" /></p><p><img src="http://nathanstaines.com/wp-content/uploads/2011/09/tumblr_ld6q63gCFT1qecw36.jpg" alt="" title="tumblr_ld6q63gCFT1qecw36" width="500" height="333" class="alignnone size-full wp-image-479" /></p>]]></content:encoded> <wfw:commentRss>http://nathanstaines.com/photos/around-london-town/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Working with media queries</title><link>http://nathanstaines.com/articles/working-with-media-queries/</link> <comments>http://nathanstaines.com/articles/working-with-media-queries/#comments</comments> <pubDate>Thu, 02 Dec 2010 11:00:21 +0000</pubDate> <dc:creator>Nathan</dc:creator> <category><![CDATA[Articles]]></category> <category><![CDATA[css]]></category> <category><![CDATA[responsive]]></category> <category><![CDATA[tutorial]]></category><guid isPermaLink="false">http://temp.nathanstaines.com.s131562.gridserver.com/?p=21</guid> <description><![CDATA[The use of media queries simply allows us to apply different CSS styles based on resolution and/or device orientation. It uses the same old media declaration that we&#8217;ve used for serving up print stylesheets but now it just has a few more features under its belt. Everyone&#8217;s doing it&#8230; ok, so maybe not everyone but...<p><a href="http://nathanstaines.com/articles/working-with-media-queries/">Continue reading &#187;</a></p>]]></description> <content:encoded><![CDATA[<p>The use of media queries simply allows us to apply different CSS styles based on resolution and/or device orientation. It uses the same old media declaration that we&#8217;ve used for serving up print stylesheets but now it just has a few more features under its belt.</p><p><b>Everyone&#8217;s doing it</b>&#8230; ok, so maybe not everyone but it&#8217;s definitely starting to gain some traction amongst the designers who are prepared to push the boundaries &#8211; or at the very least experiment with them from time to time.</p><div id="attachment_35" class="wp-caption breakfree alignnone" style="width: 768px"><a href="http://hicksdesign.co.uk/"><img src="http://nathanstaines.com/wp-content/uploads/2010/12/queries-hicks.png" alt="" title="Hicks Design" width="758" height="320" class="size-full wp-image-35" /></a><p class="wp-caption-text">Hicks Design</p></div><h3>How do we use them?</h3><p>First we need to set the viewport to device-width</p><pre><code>&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;</code></pre><p>Then we can either link to external stylesheets</p><pre><code>&lt;!--[if !IE]&gt;--&gt;
    &lt;link type="text/css" rel="stylesheet" media="only screen and (max-device-width: 480px)" href="iphone.css" /&gt;
    &lt;link type="text/css" rel="stylesheet" media="only screen and (min-device-width: 768px) and (max-device-width: 1024px)" href="ipad.css" /&gt;
&lt;!--&lt;![endif]--&gt;</code></pre><p>Or we can add them to an existing stylesheet</p><pre><code>/* target the minimum width of the browser window */
@media screen and (min-width: 900px) {
    .class {
        background: #FFE11A;
    }
}

/* target the maximum width of the browser window */
@media screen and (max-width: 600px) { }

/* target both the minimum and maximum width of the browser window */
@media screen and (min-width: 600px) and (max-width: 900px) { }

/* target the maximum width of the device */
@media only screen and (max-device-width: 480px) { }

/* target the maximum width of the device and it's orientation */
@media only screen and (max-device-width: 480px) and (orientation:portrait) { }
@media only screen and (max-device-width: 480px) and (orientation:landscape) { }

/* target the iPhone4 retina display */
@media only screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { }
</code></pre><h3>Is it supported?</h3><p>The browser support for media queries is actually pretty good. The latest versions of Firefox, Safari, Chrome, and Opera are all using it. Internet Explorer 9 will be, but IE8 and below do not :( however there is a <a href="http://plugins.jquery.com/project/MediaQueries">jQuery media queries plugin</a> &#8211; for those not-so-capable browsers.</p><h3>Final thoughts</h3><p>One thing to keep in mind &#8211; Although we can now tailor our designs to suit different devices we&#8217;ll still be dealing with the exact same content. (<a href="http://dev.w3.org/csswg/css3-flexbox/">CSS3 flexbox</a> can help rearrange some content if necessary) So even if we decide to use CSS to hide images on the iPhone, they&#8217;ll still be downloaded by the user.</p><h3>Notable Mentions</h3><ul><li><a href="http://mediaqueri.es">Mediaqueri.es</a> &#8211; A collection of responsive web designs.</li><li><a href="http://lessframework.com">Less Framework</a> &#8211; A CSS grid system for designing adaptive web­sites.</li><li><a href="http://cssgrid.net/">CSSgrid</a> &#8211; A 1140px wide, 12 column grid. Fluid all the way down to a mobile version.</li><li><a href="http://www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/">A Jason Grigsby article</a> &#8211; On media queries for mobile being fools gold.</li></ul><div id="attachment_38" class="wp-caption breakfree alignnone" style="width: 768px"><a href="http://www.edmerritt.com/"><img src="http://nathanstaines.com/wp-content/uploads/2010/12/query-merritt.png" alt="" title="Ed Merritt" width="758" height="320" class="size-full wp-image-38" /></a><p class="wp-caption-text">Ed Merritt</p></div><div id="attachment_37" class="wp-caption breakfree alignnone" style="width: 768px"><a href="http://colly.com/"><img src="http://nathanstaines.com/wp-content/uploads/2010/12/query-colly.png" alt="" title="Simon Collison" width="758" height="320" class="size-full wp-image-37" /></a><p class="wp-caption-text">Simon Collison</p></div>]]></content:encoded> <wfw:commentRss>http://nathanstaines.com/articles/working-with-media-queries/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress editable comments</title><link>http://nathanstaines.com/articles/wordpress-editable-comments/</link> <comments>http://nathanstaines.com/articles/wordpress-editable-comments/#comments</comments> <pubDate>Tue, 10 Aug 2010 11:00:06 +0000</pubDate> <dc:creator>Nathan</dc:creator> <category><![CDATA[Articles]]></category> <category><![CDATA[comments]]></category> <category><![CDATA[tutorial]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://temp.nathanstaines.com.s131562.gridserver.com/?p=143</guid> <description><![CDATA[If you&#8217;re anything like me, then there&#8217;s bound to have been times where you&#8217;ve written something, clicked the send or submit button and then realised later that you&#8217;ve left a typo in your wake. Sure, we should all take the time to check over our text before setting it in concrete but then again we&#8217;re...<p><a href="http://nathanstaines.com/articles/wordpress-editable-comments/">Continue reading &#187;</a></p>]]></description> <content:encoded><![CDATA[<p><img src="http://nathanstaines.com/wp-content/uploads/2011/08/oops-790x249.png" alt="" title="Oops" width="790" height="249" class="alignnone size-large wp-image-153" /></p><p>If you&#8217;re anything like me, then there&#8217;s bound to have been times where you&#8217;ve written something, clicked the send or submit button and then realised later that you&#8217;ve left a typo in your wake.</p><p>Sure, we should all take the time to check over our text before setting it in concrete but then again we&#8217;re only human.</p><p>Thanks to our tendency to rush into things I decided to go in search of a WordPress plugin that would allow people to edit the comments they leave on this site&#8230; <a href="http://wordpress.org/extend/plugins/editable-comments/">Editable Comments</a> by Julien Appert was what I found.</p><p>The plugin allows users to edit their own comments based on a time limit set in the admin section. Although it wasn&#8217;t entirely what I was after right out of the box, I was able to disable the plugins CSS and use my own by doing the following:</p><h3>Add code to comments.php</h3><p>Or functions.php depending on where your comments code is.</p><pre><code>&lt;?php if ( class_exists( 'WPEditableComments' ) ) { WPEditableComments::link('Edit'); } ?&gt;</code></pre><h3>Remove plugin styles</h3><p>You&#8217;ll need to add this to your functions.php file.</p><pre><code>add_action( 'wp_print_styles', 'my_deregister_styles', 100 );

function my_deregister_styles() {
    wp_deregister_style( 'dialog' );
    // deregister as many stylesheets as you need...
}</code></pre><h3>Then use the following CSS identifiers</h3><p>Just work your CSS magic in your stylesheet.</p><pre><code>.ui-dialog-titlebar { }
.ui-dialog-title { }
.ui-dialog-titlebar-close { }
.ui-dialog-titlebar a:hover { }
.ui-icon { }
#dialog.ui-dialog-content { }
#dialog_content { }
#dialog_commentform { }
#dialog_loader { }
#dialog_comment { }
#editable_comment_buttons { }
#editable_comment_buttons input { }
#editable_comment_buttons input:hover { }
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</code></pre><h3>In closing</h3><p>Hopefully this will be useful to those of you that would like to add this feature to your own WordPress site.</p><p><del datetime="2011-08-06T11:16:18+00:00">Please feel free to leave a comment below and check it out for yourself.</del> I&#8217;ve since disabled comments so unfortunately you won&#8217;t be able to see it in action here. However, you can still check it out on the <a href="http://julienappert.com/realisations/plugin-editable-comments">plugin authors website</a>.</p>]]></content:encoded> <wfw:commentRss>http://nathanstaines.com/articles/wordpress-editable-comments/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic

Served from: nathanstaines.com @ 2012-02-04 12:49:55 -->
