<?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>Citizensheep &#187; Redesign</title>
	<atom:link href="http://citizensheep.com/blog/category/redesign/feed/" rel="self" type="application/rss+xml" />
	<link>http://citizensheep.com/blog</link>
	<description>Michael Grimes lives in Birmingham (UK). This is his blog about anything that he fancies.</description>
	<lastBuildDate>Sun, 05 Feb 2012 23:40:27 +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>I must sort out this blog</title>
		<link>http://citizensheep.com/blog/2008/09/25/i-must-sort-out-this-blog/</link>
		<comments>http://citizensheep.com/blog/2008/09/25/i-must-sort-out-this-blog/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 22:03:41 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Redesign]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://citizensheep.com/blog/?p=146</guid>
		<description><![CDATA[I keep adding and changing things on this blog, and the theme really can&#8217;t cope with it any more. I need a new one. However, I&#8217;m not going to introduce a cleaner one in the interim so you&#8217;ll all just have to put up with strange footers and sidebars for a bit longer. Possibly related [...]<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				
No related posts.
			</li>
	</ul>]]></description>
			<content:encoded><![CDATA[<p>I keep adding and changing things on this blog, and the theme really can&#8217;t cope with it any more. I need a new one. However, I&#8217;m not going to introduce a cleaner one in the interim so you&#8217;ll all just have to put up with strange footers and sidebars for a bit longer. <img src='http://citizensheep.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				<p>No related posts.</p>
			</li>
	</ul>]]></content:encoded>
			<wfw:commentRss>http://citizensheep.com/blog/2008/09/25/i-must-sort-out-this-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redesign: typography</title>
		<link>http://citizensheep.com/blog/2008/08/11/redesign-typography/</link>
		<comments>http://citizensheep.com/blog/2008/08/11/redesign-typography/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 18:57:08 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Redesign]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://citizensheep.com/blog/2008/08/11/redesign-typography/</guid>
		<description><![CDATA[Right, I&#8217;m struggling a bit with this. My redesign is coming on: I&#8217;ve done the grid and the CSS seems to be working ok (in FireFox and Webkit at any rate). But I&#8217;m having a little trouble getting the text to align to the grid. I&#8217;ve tried working it out for myself because I was [...]<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				
No related posts.
			</li>
	</ul>]]></description>
			<content:encoded><![CDATA[<p>Right, I&#8217;m struggling a bit with this. My <a href="/blog/2008/08/11/redesign-again/" title="citizensheep.com redesign">redesign</a> is coming on: I&#8217;ve done the <a href="/blog/2008/08/11/redesign-grid/" title="Redesign: grid">grid</a> and the CSS seems to be working ok (in FireFox and Webkit at any rate). But I&#8217;m having a little trouble getting the text to align to the grid. I&#8217;ve tried working it out for myself because I was finding other people&#8217;s explanations confusing (the fault being my brain, not their explanations): I thought I&#8217;d cracked it but it seems I&#8217;m not quite there yet.<span id="more-64"></span></p>
<p>I&#8217;ve set <code>body {font-size;)</code> in absolute units and then used ems for all other measurements, which works well.</p>
<p>The difficulty is in getting text to align to a baseline. If I want to set an element to a different font size and then set its line-height, the line-height is <strong>calculated on the newly computed font size</strong>, and not on the size set in the <code>body</code> tag (I may be missing something important here though!).</p>
<p>For example, suppose we had these styles:</p>
<ul class="code">
<li>body {</li>
<li>font-size: 10pt;</li>
<li>}</li>
<li>li {</li>
<li>line-height: 3em;</li>
<li>}</li>
<li>p {</li>
<li>font-size: 2em;</li>
<li>line-height: 3em;</li>
<li>}</li>
</ul>
<p>The browser would render the <code>li</code> as 30 points high (3 x 10pt). But it would render the <code>p</code> as 60 points high because it is using the newly calculated <code>font-size</code> of 20pt (ie 2 x 10pt), and therefore <code>line-height</code> = 60pt (ie 3 x 20pt).</p>
<p>This makes life interesting if we want to set text to a baseline. What I&#8217;ve done so far is to presume a point size per em (10pt, in the  example above) and calculate the measurements from there.</p>
<p>For example, for <code>p</code> to be 30pt high:</p>
<ul class="code">
<li>p {</li>
<li>font-size: 2em;</li>
<li>line-height: 1.5em;</li>
<li>}</li>
</ul>
<p>ie <code>30pt / (10pt x 2) = 1.5</code>.</p>
<p>In other words, if:</p>
<ul>
<li>x = em measurement for desired <code>line-height</code></li>
<li>a = desired <code>line-height</code> (30pt in this example)</li>
<li>b = default <code>font-size</code> (10pt in this example)</li>
<li>c = current <code>font-size</code> in ems (2 in this example)</li>
</ul>
<p>then:</p>
<p><code>x = a/(b*c)</code>.</p>
<p>But, like I said, maybe I&#8217;m missing something.</p>
<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				<p>No related posts.</p>
			</li>
	</ul>]]></content:encoded>
			<wfw:commentRss>http://citizensheep.com/blog/2008/08/11/redesign-typography/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redesign grid</title>
		<link>http://citizensheep.com/blog/2008/08/11/redesign-grid/</link>
		<comments>http://citizensheep.com/blog/2008/08/11/redesign-grid/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 08:25:49 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Redesign]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[redesign_200808]]></category>

		<guid isPermaLink="false">http://citizensheep.com/blog/2008/08/11/redesign-grid/</guid>
		<description><![CDATA[I get very confused by other people&#8217;s explanations of how to set online type to a baseline grid, so I tried from scratch. This post just shows the grid, I&#8217;ll get onto typography later. I set up this grid, which divides into 2, 3, 4 and 6 columns and horizontal modules (based on the classic [...]<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2008/08/11/redesign-again/" rel="bookmark">Website re-design: again</a><!-- (45.9)-->
							</li>
					</ol>
			</li>
	</ul>]]></description>
			<content:encoded><![CDATA[<p>I get very confused by other people&#8217;s explanations of how to set online type to a baseline grid, so I tried from scratch.</p>
<p>This post just shows the grid, I&#8217;ll get onto <a href="/blog/2008/08/11/redesign-typography/" title="citizensheep.com redesign: typography">typography</a> later.<span id="more-54"></span></p>
<p>I set up this grid, which divides into 2, 3, 4 and 6 columns and horizontal modules (based on the classic design by Karl Gerstner (hence refreshing myself with Ellen Lupton yesterday, in case you were following me on Twitter!):</p>
<p><a href="http://citizensheep.com/blog/wp-content/uploads/2008/08/citizensheep_grid_web.png" title="citizensheep_grid_web.png"><img src="http://citizensheep.com/blog/wp-content/uploads/2008/08/citizensheep_grid_web.thumbnail.png" alt="citizensheep_grid_web.png" /></a></p>
<p>then transferred my sketches to it:</p>
<p><a href="http://citizensheep.com/blog/wp-content/uploads/2008/08/redesign_sketches_web.png" title="redesign_sketches_web.png"><img src="http://citizensheep.com/blog/wp-content/uploads/2008/08/redesign_sketches_web.thumbnail.png" alt="redesign_sketches_web.png" /></a></p>
<p>and transferred those to digital:</p>
<p><a href="http://citizensheep.com/blog/wp-content/uploads/2008/08/citizensheep_grid_web.png" title="citizensheep_grid_web.png"></a><a href="http://citizensheep.com/blog/wp-content/uploads/2008/08/frontpge_grioverlay_web.png" style="text-decoration: none" title="frontpge_grioverlay_web.png"><img src="http://citizensheep.com/blog/wp-content/uploads/2008/08/frontpge_grioverlay_web.thumbnail.png" alt="frontpge_grioverlay_web.png" /></a></p>
<p>and without the grid:</p>
<p><a href="http://citizensheep.com/blog/wp-content/uploads/2008/08/frontpge_nogrid_web.png" title="frontpge_nogrid_web.png"><img src="http://citizensheep.com/blog/wp-content/uploads/2008/08/frontpge_nogrid_web.thumbnail.png" alt="frontpge_nogrid_web.png" /></a></p>
<p>and voila (it&#8217;s changed a bit since though): <a href="http://citizensheep.com/new_design/" title="Draft front page redesign">see the html draft front page here</a>.</p>
<p>Each block of text aligns to the grid at some point (If the blocks were long enough you&#8217;d be able to see where the lines line up). But more on this later. For now, you can <a href="http://citizensheep.com/new_design/" title="Draft front page redesign">see the draft front page here</a>.</p>
<p>From grid to finished design:</p>
<p><a href="http://citizensheep.com/blog/wp-content/uploads/2008/08/grid_to_design_web.png" title="grid_to_design_web.png"><img src="http://citizensheep.com/blog/wp-content/uploads/2008/08/grid_to_design_web.thumbnail.png" alt="grid_to_design_web.png" /> </a></p>
<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2008/08/11/redesign-again/" rel="bookmark">Website re-design: again</a><!-- (45.9)-->
							</li>
					</ol>
			</li>
	</ul>]]></content:encoded>
			<wfw:commentRss>http://citizensheep.com/blog/2008/08/11/redesign-grid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Website re-design: again</title>
		<link>http://citizensheep.com/blog/2008/08/11/redesign-again/</link>
		<comments>http://citizensheep.com/blog/2008/08/11/redesign-again/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 01:32:51 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Redesign]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[redesign_200808]]></category>

		<guid isPermaLink="false">http://citizensheep.com/blog/2008/08/11/redesign-again/</guid>
		<description><![CDATA[I&#8217;m having another go at redesigning this blog, this time based firmly on a modular em-based grid. I seem to have cracked baseline alignment and everything seems to be re-sizing pretty well. I can&#8217;t imagine it&#8217;ll work in IE (without a separate stylesheet) but it works fine in both the latest Mac versions of FireFox [...]<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				
No related posts.
			</li>
	</ul>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m having another go at redesigning this blog, this time based firmly on a modular em-based grid.<span id="more-53"></span></p>
<p>I seem to have cracked baseline alignment and everything seems to be re-sizing pretty well. I can&#8217;t imagine it&#8217;ll work in IE (without a separate stylesheet) but it works fine in both the latest Mac versions of FireFox and Webkit (Safari nightlies).</p>
<p>It&#8217;s a simple design, but it might get more sophisticated if I can be bothered. It&#8217;s all done in CSS so very easy to add prettiness. It&#8217;ll probably change somewhat before it goes live anyway (for instance the image is just there for experimentation purposes and may well disappear).</p>
<p>All I have to do now is shoe-horn it into WordPress! <img src='http://citizensheep.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>If you&#8217;re really keen you can <a href="http://citizensheep.com/new_design/" title="Draft front page redesign">see the draft front page here</a> (use Firefox or Safari to guarantee seeing it properly). And If you&#8217;re lucky I might even put up my initial sketches at some point: bet you can&#8217;t wait.</p>
<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				<p>No related posts.</p>
			</li>
	</ul>]]></content:encoded>
			<wfw:commentRss>http://citizensheep.com/blog/2008/08/11/redesign-again/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

