<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

    <channel>
    
    <title>I am Steve</title>
    <link>http://iamsteve.me</link>
    <description></description>
    <dc:language>en</dc:language>
    <dc:creator>Steve</dc:creator>
    <dc:rights>Copyright 2012</dc:rights>
    <dc:date>2012-03-07T20:23:03+00:00</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    

    <item>
      <title>SASS hints &amp;amp; tips</title>
      <link>http://iamsteve.me/blog/entry/sass_hints_tips</link>
      <guid>http://iamsteve.me/blog/entry/sass_hints_tips#When:20:23:03Z</guid>
      <description><![CDATA[<p>SASS/Compass are all the rage lately, well, CSS preprocessors in general. I have been planning to share my knowledge for a while and now feels a good time. This could be a biased approach but I can't really see a downside to using a preprocessor, when we're in a world where getting things done quickly is key. So I'm not going to put my pros and cons, just some general thoughts, hints, and tips.</p>

<h2>You learn as you go</h2>
<p>The great thing about SASS is you don't have to change anything about the way you write CSS. You can write CSS normally. As I've gone along and noticed things that have felt a bit repetitive/could be done more efficiently, I've gone into the SASS or Compass documentation and looked to see if there is a way.</p>

<h2>Setting up a reusable base</h2>
<p>You probably have use either a framework or have your own premade frequently used styles now. With SASS you will probably be able to shove a lot of that stuff into mixins, variables and possibly extendable classes.</p>

<p>The obvious examples are colours and fonts. I usually have <code>$primary</code> and <code>$secondary</code> colours. I set up my sans-serif, serif and monospace font stacks and apply them to <code>$sans</code>, <code>$serif</code> and <code>$monospace</code> variables.</p>

<h3>Using complement to build a palette</h3>
<p>A tip for a quick colour palette is to use the SASS complement function. Like so:</p>
<pre><code>$primary: #f00;
$secondary: complement($primary);</code></pre>
<p>Although it's uses can vary as your primary colour may be too dark for a great difference. It's wise to set some other colours you will use a lot such as hover/focus colours. SASS has many useful colour adjustment functions.</p>

<p>I also set a base line height variable to use throughout. Though when using that with the font shorthand make sure you wrap the font size and line height in ( &amp; ), as it will end up dividing the two values. Like so: <code>font: 900 (16px/$blh) $sans;</code>.</p>
<h4>SASS and Compass interactive</h4>
<p>These modes are great when dealing with a big chain of <code>lighten(darken(saturate(#f00, 20%), 20%), 20%)</code> for example. How do you just get the hex value of the colour without compiling and finding it in the compiled CSS or web inspector? Opening a terminal window and typing <code>sass -i</code> or <code>compass interactive</code>. These two modes can work with SASS/Compass functions and give you their compiled output. Handy.</p>

<h3>Time saving mixins</h3>
<p>Mixins can save a lot of time, how many times have you wrote something as simple as <code>width: 100px; height: 100px</code> and thought "I wish I could write that quicker". You can with SASS.</p>
<pre><code>@mixin wh($width, $height) {
    width: $width;
    height: $height;
}</code></pre>
<p>If you use presentational classes a lot, why not make it a mixin?</p>
<pre><code>@mixin button {
    border: 1px solid #000;
    background: #222;
    color: #fff;
    padding: 5px 15px;
    display: inline-block;
}</code></pre>
<p>Anything that you want to turn into a button use <code>@include button;</code> simple as that.</p>
<h4>Other mixin benefits</h4>
<p>Mixins allow you to not have to litter your code with classes. I think <abbr title="Object Oriented CSS">OOCSS</abbr> is a great idea and I think mixins do help this and of course not forgetting <code>@extend</code>.</p>

<h2>SASS helps responsive web design</h2>
<p>In the prerelease versions of SASS only (at the time of writing this post). You can use nested <code>@media</code> queries. This saves a lot of time and you can set up a mixin to make this even more efficient.</p>
<pre><code>@mixin respond-to($media) {
    @if $media == iphone {
    	@media only screen and (min-width: 480px) { @content; }
    }
    @else if $media == ipad {
    	@media only screen and (min-width: 768px) { @content; }
    }
    @else if $media == desktop {
    	@media only screen and (min-width: 960px) { @content; }
    }
}</code></pre>
<p>Now we can write things like:</p>
<pre><code>.container {
    width: 95%;
    @include respond-to(iphone) { width: 90%; }
    @include respond-to(ipad) { width: 80%; }
    @include respond-to(desktop) { width: 70%; }
}</code></pre>
<p>This makes mobile first, in my opinion a lot easier. This article on <a href="http://thesassway.com/intermediate/responsive-web-design-part-2" title="A more indepth write up about SASS and media queries">The Sass Way</a>, which is where I got the idea from.</p>
<h2>Notable extensions</h2>
<p>Compass just goes hand in hand with SASS, I feel like you can't have one without the other, it saves time within saving time. Without Compass you'd have to write all the box-shadow, border-radius, gradient mixins yourself.</p>

<h4>Stitch</h4>
<p><a href="http://stitchcss.com/ " title="A CSS pattern framework for Compass">Stitch</a> is a CSS pattern framework for Compass. It's got some nice features and ideas around it, particularly <code>prefix()</code>. I have found it can bloat your compiled CSS a little so be wary of what you're using and not using.</p>
<h4>Animate.sass</h4>
<p><a href="https://github.com/adamstac/animate.sass " title="A SASS version of animation library Animate.css">Animate.sass</a> Based on <a href="http://daneden.me/animate/ " title="The CSS only version of this library">Animate.css </a> this is a nice easy way to use the animations with limited hassle. For example <code>@include animation(fadeIn, .5s, ease, forwards)</code>. Take great care with this otherwise you could end up with 10000 lines of CSS bloat.</p>

<h2>Wrap up</h2>
<p>So these are a few of the tips that save me a lot of time using SASS. I haven't really covered Compass in this post, it sort of goes without saying that Compass adds a lot of efficiency. I hope this post has been helpful. I shall be writing more about my uses of SASS soon.</p>]]></description>
      <dc:subject>Code, SASS,</dc:subject>
      <dc:date>2012-03-07T20:23:03+00:00</dc:date>
    </item>

    <item>
      <title>Patience: a Wordpress tumblog theme</title>
      <link>http://iamsteve.me/blog/entry/patience_a_wordpress_tumblog_theme</link>
      <guid>http://iamsteve.me/blog/entry/patience_a_wordpress_tumblog_theme#When:20:41:19Z</guid>
      <description><![CDATA[<p>I&#8217;ve recently released a theme on <a href="http://superhug.com">Superhug</a> which I&#8217;ve named &#8220;Patience&#8221;. It&#8217;s my first Wordpress theme that I&#8217;ve released in public and hope to release many more.</p>

<p>It&#8217;s a minimal theme and has an individual layout for each post format to give a bit of a feel for each type of post it is. I think it adds a nice touch, though the rest of the design remains consistent the post formats have their own look. </p>

<p>I&#8217;ve included a child theme with a basic stylesheet of the things I generally recommend you change colour wise. Which should make it a breeze for editing. More so if you have experience using SASS/Compass as with the variables, change a couple of them and you have a new colour scheme. </p>

<p>I&#8217;m looking to improve it over time and try add features/general requests to make it a better theme as time passes. Anyway there&#8217;s more information on <a href="http://superhug.com/designs/patience">Superhug</a>.</p><p><a href="http://www.superhug.com/designs/patience/preview">View the theme</a></p>

<p>&nbsp;</p>]]></description>
      <dc:subject>Code, Wordpress,</dc:subject>
      <dc:date>2011-12-30T20:41:19+00:00</dc:date>
    </item>

    <item>
      <title>About version 4</title>
      <link>http://iamsteve.me/blog/entry/about_version_4</link>
      <guid>http://iamsteve.me/blog/entry/about_version_4#When:18:41:09Z</guid>
      <description><![CDATA[<p>As the title states the obvious, I'm going to run through some of my decisions to redesign. Although I don't feel this design is hugely different from the previous, it's more of a refinement — although it doesn't really look like it — confusing either way... Firstly firsts with this design.</p>

<h1>Firsts</h1>
<p>Typically personal websites are used for experimentation and a chance to have full control over what you do with your website. This is always the case with me.</p>
<h2>Mobile first</h2>
<p>This was the first site I'd taken a mobile first approach with, and by no means have I done it perfect really. I have always tried to keep the content cruft to a minimum on my personal website, so that's never really an issue. I started from the bottom and generally worked my way up and I'm pleased with how the website changes to fit the viewport. Though my media queries are a little messed up I got that approach wrong, something I may work on correcting. It was a totally new approach starting from the smallest width to the highest. It's definitely something to get used to and it slipped my mind on occasion that I was using a mobile first approach (as in I applied styles that should have been in larger width media queries instead of the base). Either way my mobile version has come out much better taking this approach.</p>

<h2>CSS preprocessors</h2>
<p>My other first was this was my first site I used SASS/Compass with. All I can say is I feel it's a godsend, using compass' mixins is such a time saver and allows less room for error. I've heard that it's not all good with CSS preprocessors, such as performance and bloat. I purposely avoid nesting too deep as I hate being too specific and it makes it harder to organise your CSS (Not all my CSS is organised how it should be, but I do fairly well). I've generally focused on performance overall with this website. I'm fairly proud of the speed of most pages, they load under 2 seconds mostly! Back on track, I like how you can avoid adding presentational classes if you need to have something to use elsewhere with <code>@extend</code>. I think this is somewhat an Object Oriented CSS approach? I don't have to remember class names, or where I need to apply them. I just extend a bit of code and it has worked well for me in most cases.</p>

<h1>Design/content decisions</h2>
<p>Most of this design is pretty flexible in the way that I can change it colour wise. It's easy for me to make minor changes like that if I'm to get bored of the colours within the website. SASS makes this incredibly easy with variables and I can just change the required ones and done.</p>

<p>As always I go with a big opening heading on each page. I'm not sure why this always follows suit in my website throughout (any version), it just follows the design and consistency of it. A plan is to add an accompanying illustration of some sort to each of the main headings to add a bit more appeal to each page — it will be something I can use to practice illustration with anyway. My designs are generally always centred round the content. After all, it's something I'm trying to sell, generally, my work/skills.</p>

<p>The idea for the design overall was minimal, easy to read (I'll probably be making tweaks with the typography over time) and something new/fresh as always. I felt I was growing in understanding of how the content first approach worked with my last version that I was fairly pleased with how I'd trimmed the website down, that there wasn't a large amount that got cut out this time. Just rework most of the content to be more to the point. I decided I would add my about page back, which is still in progress (I want to do something a little more adventurous with the layout and generally haven't had time lately to do it). All content you find at the larger resolutions, you'll find at the smaller resolutions. No hidden content here.</p>

<h2>I can't wait for the flexible box model/content regions</h2>
<p>Something concrete that allows for more control over shifting your content about, to be final. I have used the old flexbox version on the home page, to see what I could do with it. I was pretty happy with how it worked, just not the extra markup I had to add as a container for the boxes that I wanted to be flexible. Although it's nothing to add an extra container, I don't think it should have to come down to that. Though the changes I used was for the mobile focused version, I have my availability and contact details the first lot of content you see as you scroll. It's not this way in the markup.</p>

<h2>Paged portfolio</h2>
<p>I also went back to a paged version of my portfolio. As I felt that it's my work and it deserves some explanation for each of the designs and the decisions behind them. It's better than filling the page with images.</p>

<h2>Media queries in action</h2>
<p>Here are some of the differences between the mobile and desktop versions.</p>
<figure>
<img src="http://iamsteve.me/ee/assets/images/_blog/Screen_Shot_2011-12-30_at_17.55.56.png" alt="iPhone view showing the navigation differences">
<figcaption>
The navigation is positioned at the bottom of the viewport, like all iPhone apps they have their main navigation positioned at the bottom. I followed suit.
</figcaption>
</figure>
<figure>
<img src="http://iamsteve.me/ee/assets/images/_blog/Screen_Shot_2011-12-30_at_17.57.17.png" alt="The desktop view resized to a more iPhone like width showing the navigation difference">
<figcaption>
As you can see the difference here the navigation is positioned at the top. This is also the way for iOS versions lower than 5, as fixed positioning isn't the same.
</figcaption>
</figure>

<h2>I think that's it</h2>
<p>I think that's everything of importance really about this version. I think this version will be of many tweaks, changing and making it better with time.]]></description>
      <dc:subject>Website,</dc:subject>
      <dc:date>2011-12-30T18:41:09+00:00</dc:date>
    </item>

    <item>
      <title>Wordpress post formats</title>
      <link>http://iamsteve.me/blog/entry/wordpress_post_formats</link>
      <guid>http://iamsteve.me/blog/entry/wordpress_post_formats#When:19:53:14Z</guid>
      <description><![CDATA[<p>I haven't done much Wordpress development as of late, so I was a bit rusty, last time I used it properly was around the release of 3.0. I decided to try out Wordpress again. I discovered post formats, looked into them, found they were like what Tumblr offers. Though I'd got that wrong they have some constraints, so for the time I've been figuring them out and consider this to be one of the best ways to use them.</p>

<h1>Set it up</h1>
<p>We need to make sure they're set up, you can include as few or as many as you want, I've included all that Wordpress supports: <code>add_theme_support('post-formats', array('aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video', 'audio'));</code> place this code in your <code>functions.php</code> file. More information about the types can be found in the <a href="http://codex.wordpress.org/Post_Formats" title="Wordpress codex information on post formats">codex</a>.</p>

<h1>Using the post formats</h1>
<p>Detecting a post format is simple, we use <code>has_post_format('the format')</code> to give what I ended up with this simplified loop:</p>
<pre><code>&lt;?php if (have_posts()) : ?&gt;	
	&lt;?php while (have_posts()) : the_post(); 
		if (has_post_format('aside')) {
			get_template_part('loop', 'aside');
		} 
		else if(has_post_format('gallery')) {
			get_template_part('loop', 'gallery');
		}
		else if(has_post_format('audio')) {
			get_template_part('loop', 'audio');
		}
		else if(has_post_format('video')) {
			get_template_part('loop', 'video');
		}
		else if(has_post_format('quote')) {
			get_template_part('loop', 'quote');
		}
		else if(has_post_format('status')) {
			get_template_part('loop', 'status');
		}
		else if(has_post_format('chat')) {
			get_template_part('loop', 'chat');
		} 
		else if(has_post_format('image')) {
			get_template_part('loop', 'image');
		} 
		else if(has_post_format('link')) {
			get_template_part('loop', 'link');
		} 
		else if(has_post_format('gallery')) {
			get_template_part('loop', 'gallery');
		}
		else {
			get_template_part('loop', 'standard');
		} 
	?&gt;
&lt;?php endwhile; ?&gt;</code></pre>
<p>What I'm doing here is using <code>get_template_part()</code> to get my custom layout for each post. It looks for each file named loop-format and includes it. I'm sure there should be a simple way than all those <code>else if</code> blocks, but I haven't come across it yet, or a method that works at least.</p>

<h1>After you've set up the loop</h1>
<p>I recommend you get the <a href="https://github.com/crowdfavorite/wp-post-formats" title="Visit the github page to download it">post formats plugin</a>. It adds a nice UI to make it a little more tumblr like. I also recommend that if you change theme and it doesn't support the plugin you install <a href="https://github.com/crowdfavorite/wp-post-formats-fallback">post formats fallback plugin</a> this will put all the content into the right field.</p>
<img src="http://iamsteve.me/ee/assets/images/_blog/post_formats_plugin.png" alt="The UI added with the plugin">

<h1>Using the fields from the plugin</h1>
<p>The plugin adds several fields throughout to each format on adding a post. This is where you will need to make your custom loops, it's not entirely obvious to begin with how to use the fields, take a look through each of the <a href="https://github.com/crowdfavorite/wp-post-formats/tree/develop/views" title="Code required for each post format">files</a> in the plugin views folder. If you include the piece of code that looks like <code>&lt;?php echo esc_attr(get_post_meta($post->ID, '_format_link_url', true)); ?&gt;</code> from each one into your own files. This will output the content for you. Here is an example of one of mine for a link post:</p>

<pre><code>&lt;article role="article" class="link"&gt;
    &lt;?php include('post_header.php'); ?&gt;
        &lt;div class="entry">
            &lt;a href="&lt;?php echo esc_attr(get_post_meta($post->ID, '_format_link_url', true)); ?&gt;">&lt;?php echo esc_attr(get_post_meta($post->ID, '_format_link_url', true)); ?&gt;&lt;/a&gt;
        &lt;/div&gt;
    &lt;?php include('meta.php'); ?&gt;
&lt;/article&gt;</code></pre>

<p>Obviously you may want some content to follow that and it won't be included just make sure you include your <code>the_content()</code> above or below it.</p>

<h1>That's it</h1>
<p>I hope this helps, I felt like sharing as these are some of the stumbling blocks I came across with the post formats. I will edit this post as I learn more of utilising them better.</p>]]></description>
      <dc:subject>Code, Wordpress,</dc:subject>
      <dc:date>2011-12-12T19:53:14+00:00</dc:date>
    </item>

    <item>
      <title>Long time no blog</title>
      <link>http://iamsteve.me/blog/entry/long_time_no_blog</link>
      <guid>http://iamsteve.me/blog/entry/long_time_no_blog#When:17:58:48Z</guid>
      <description><![CDATA[<p>I guess this is a hello, and one of my infrequent blog posts. As you can see the site is different, it&#8217;s not fully complete but I felt I should update the whole site. My portfolio and about pages aren&#8217;t complete, yes I brought the about page back. After my portfolio is complete I shall follow it up with a write up about this design, it&#8217;s more or a less just a refresh of the old design, a clean up, and needed redesign/realign?</p>
<p>Nonetheless, there is probably bits that aren&#8217;t totally perfect (the contact page needs the responsiveness sorting properly). I have been working on this design on and off I think for the past 6 months. I spent 2 months of that totally design/web free, it was a break I sorely needed, but that&#8217;s more of a personal matter. Anyway I&#8217;m pleased with the design and overall functioning of it, it adapts nicely for devices on iOS 5 particularly the navigation — the one you&#8217;ll see if you resized is altered for iOS 5. Anyway more of that in the follow up post.</p>]]></description>
      <dc:subject>Life, Website,</dc:subject>
      <dc:date>2011-11-21T17:58:48+00:00</dc:date>
    </item>

    <item>
      <title>A display: inline&#45;block; tip</title>
      <link>http://iamsteve.me/blog/entry/inline_block</link>
      <guid>http://iamsteve.me/blog/entry/inline_block#When:20:16:06Z</guid>
      <description><![CDATA[<p>I feel this is a relatively unused technique. I'm not sure if it's some bad practice method or something of the like. I use it fairly frequently in my layouts to replace <em>floats</em>. Why replace the float, well I have no reason to really apart from convenience of not needing <code>overflow: hidden;</code> so now on to the main point.</p>

<hr>

<h3>Demo</h3>
<p><a href="http://iamsteve.me/assets/tutorials/inlineblock" title="View the inline block demo.">Inline-block demo</a>.</p>

<hr />

<h2>The code</h2>

<pre><code>article {
display: inline-block;
vertical-align: top;
margin: 0 2.5% 0 0;
padding: 2.5%;
width: 48.5%;
-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; /* our helpful friend, remove and add different values if you want older browser support. */
}
/* remove margin on right side of every 2nd article */
article:nth-of-type(even) {
margin: 0;
}</code></pre>

<p>This rightly will place each of our articles side by side. It works for multiple elements you want side by side obviously adjust the width as needed. This may seem slightly inefficient at first but it also removes the need for clearing, through using the clearfix or just a normal clear depending on the situation. Which in turn we don't have to add an additional class to our code.</p>

<h2>Explaining further</h2>
<p>What exactly is the <code>inline-block</code> property, quoting <a href="http://www.w3.org/TR/CSS2/visuren.html" title="The visual formatting model">the spec</a>:</p>

<blockquote>
This value causes an element to generate an inline-level block container. The inside of an inline-block is formatted as a block box, and the element itself is formatted as an atomic inline-level box.</blockquote>

<p>Simply it's allowing us to treat it as both a block and inline element. As block level elements can have a width and height applied to them whereas inline can't. Though a block level element fills its whole line so to say and inline as the name is they go inline. Which allows us to display them side by side with a width we desire.</p>

<p>Now what's the <code>vertical-align: top;</code> for? It's simply to align them to the top of the parent element so that they all align nicely. The <a href="http://iamsteve.me/assets/tutorials/inlineblock" title="View the inline block demo.">demo will reveal all</a>.</p>

<h2>Finishing up</h2>
<p>This won't work for every situation sometimes a float will be needed, and as for browser support it's good, I couldn't find anything in particular about it not being supported in IE 8, but I from what I read IE 7 supports it but only on elements that are inline normally.</p>

<h3>Demo</h3>
<p><a href="http://iamsteve.me/assets/tutorials/inlineblock" title="View the inline block demo.">Inline-block demo</a>.</p>]]></description>
      <dc:subject>Code, CSS,</dc:subject>
      <dc:date>2011-04-09T20:16:06+00:00</dc:date>
    </item>

    <item>
      <title>Updates and advice</title>
      <link>http://iamsteve.me/blog/entry/updates_and_advice</link>
      <guid>http://iamsteve.me/blog/entry/updates_and_advice#When:09:04:17Z</guid>
      <description><![CDATA[<h2>What&#8217;s been going on</h2>

<p>So since the update I haven&#8217;t really posted. The reason being I have had a lot of deadlines to meet and keep up with, particularly the past 2 weeks I&#8217;ve had at least 4 university assignments to hand in, as well as a test and 2 presentations. I&#8217;m finally coming to an end with it though I have one more assignment to do and hopefully nothing else will pop up in the time. So once this final assignment is done, I&#8217;m going to try make an effort to do some more posts and see where it leads me.</p>

<p>I have also recently got a job as a frontend web developer at <a href="http://creativelynx.co.uk" title="View the website for CreativeLynx">CreativeLynx</a>. I&#8217;m yet to start as I&#8217;ve had university to deal with, I feel quite lucky to have found the job and to have been given it. On the basis that over November and part of December last year I was looking for a placement, as to which I found no one who was willing to give me a try the least. I&#8217;m looking forward to starting and hoping I can get into a rhythm of being able to get up at 6:30am Monday to Friday, as what I&#8217;m used to now is hugely different. It worries me so I&#8217;ll have to start adapting now for when I do start.</p>

<h2>My advice to fellow people like me</h2>
<p>I was fairly worried about finding a job when graduating but a lot begin to go up for graduates around the start of March, while this is a good time to start looking. Make considerations for whether you want a break or not, this is a big deciding part of when you finish, do you want a break? More than likely the answer is yes, but you may think what if it takes 6 months to find a job? Well that&#8217;s a long break and some people will find it more difficult than others to find a job. The jobs are all available now, which is why I went ahead and found one, I thought it would be a definite missed opportunity. It depends on you as a person and I thought it was the best thing to do.</p>

<p>If you don&#8217;t have industry experience like me and you want a break, I would start looking fairly soon for a job, as I&#8217;m not sure how often graduate jobs stay around for but they certainly are more vast between March and May (I&#8217;m guessing). Even if you end up having a year out, it won&#8217;t be the end of the world as you can try gain improvement in your skills and favourite areas. You won&#8217;t have the nag of university work, so while you don&#8217;t have a job you should focus on what&#8217;s probably been said a lot to you &#8216;get your name out there&#8217;. It&#8217;s difficult, but joining in communities such as <a href="http://forrst.com" title="A web community focused on a lot of web technologies">Forrst</a>, <a href="http://dribbble.com" title="Dribbble is primarily a design community">Dribbble</a> and <a href="http://lovedsgn.com" title="Like Dribbble, LoveDsgn is a design community too.">LoveDsgn</a> to name a few. These places generally offer feedback too and can offer advice, which can be super helpful.</p>

<h2>Building a portfolio!</h2>
<p>On the side projects thing these will help strengthen your portfolio. You may not get clients, but that&#8217;s not the end of the world. Have you seen a product/service which you think is great but you think the design, usability and accessibility of the website could be better? Why not produce a redesign for that and justify your decisions heavily and based on your knowledge of what you think could be better. Make sure to add this description to the work within your portfolio, maybe write a blog post about it.</p>

<p>Push the boundaries, use your skills currently and test them. Is there something you think is possible with just CSS? Do it. Experimenting can be fun and can help you to learn more and demonstrate your knowledge, upload it and create a file directory for it. Place a link to it in your portfolio and nudge people towards viewing your different experiments.</p>

<h2>Helpful?</h2>
<p>Hopefully this has been helpful for you and not too long, but it&#8217;s advice I felt I could do with sharing.</p>

]]></description>
      <dc:subject>Life,</dc:subject>
      <dc:date>2011-04-06T09:04:17+00:00</dc:date>
    </item>

    <item>
      <title>About the redesign V3</title>
      <link>http://iamsteve.me/blog/entry/about_the_redesign_v3</link>
      <guid>http://iamsteve.me/blog/entry/about_the_redesign_v3#When:18:01:59Z</guid>
      <description><![CDATA[<p>Well another redesign, another run through it. V2 lasted I&#8217;m guessing around 8 months or so, not bad I guess. I grew bored of it as usual, though requirements of the layout changed in this one and something new is nice. So onto why I went for a redesign.</p>

<h2>Reasons for a redesign</h2>
<ul>
<li>Something more simplified for responsiveness;</li>
<li><em>Obviously</em> something new and fresh;</li>
<li>Better focus on content and layout of content;</li>
<li>Try to refine the design and rid unneeded stuff;</li>
<li>More editorial friendly layout for blog posts.</li>
</ul>
<p>These are just reasons I found needing a redesign with V2. The biggest one was to make it responsive, while possible with V2 I didn&#8217;t feel like attempting to while it was live and risk messing the site up, it would&#8217;ve took a lot of media queries and adjustments too. Though while V3 isn&#8217;t lacking in the amount of media queries and changes in CSS, it works much nicer I think. The difficulties were with the slider and main page headings.</p>

<h2>About the design itself</h2>
<p>I started this design in the middle of November last year. I was aiming to create a website with fewer pages; home, blog, portfolio and downloads. Though I thought about the implications of people expecting a contact page, so that was added. I got rid of my about page and put it on the home page and refined the content of it; to be much less, but still have the same value. Why I did this was I felt my about page the least relevant page (unfortunately). So adding it to the homepage gave it more visibility, hopefully people will read it and such.</p>

<p>Each page has it&#8217;s reasons for it&#8217;s design. My portfolio was something of experimentation, but also to reduce the amount of pages. I thought of it from a usability perspective and I like viewing portfolios all on one page. The responsiveness allows all portfolio images to be shown for one long scroll. Though you may think experimentation? When you view a large image of each item it opens in a modal window which is done with CSS. Worked out pretty well, though it&#8217;s not perfect.</p>

<p>The downloads page is fairly simple, similar to the portfolio but without the modal box. Display a picture, information needed about each download and that&#8217;s that keep it simple. The same applies for the contact page, just the needed information — contact form, ways to contact me and social networks.</p>

<p>The blog page was one of the most important things to me, I have always wanted to start the editorial/art direction type blog posts, but I can&#8217;t always do it on every post. So I thought about having separate a separate articles page or just stick to blog posts only on things I can give a nice editorial design to. I just went for the option where I post what I want, base it round the categories and use the great lettering.js to add a bit of fancy/difference to each page (this wasn&#8217;t around when I was designing V2 to begin with). The pages are just kept fairly minimal so customisation is easy done. You should begin to notice this as I begin to post newer articles.</p>

<h2>Inspiration</h2>
<p>I honestly can&#8217;t remember where any direct inspiration came from, though there are so many out there that inspire me. I just tried to go for a design without the direct input of inspiration, searching for it and using that to spur me on. I had in my head what I wanted to do and that was to make a better website for myself, content, updating and reading for the user. Though I must say <em>Trent Walton</em> and <em>Brian Hoff </em> inspire me a lot with the way I design.</p>

<h2>WordPress to ExpressionEngine</h2>
<p>Around the end of December I purchased the Fusion Ads bundle which included ExpressionEngine, probably the sole reason I got the bundle. As I had always wanted to try ExpressionEngine and see what the hype was about and learn how to use it, as a thing, to add to the list of things I can do. In some respects I&#8217;m missing some of the functionality of WordPress but enjoying some of the added benefits of ExpressionEngine. Though I&#8217;m calling it too early to decide whether the switch is beneficial but, the best thing about ExpressionEngine is I definitely find making a template less of a chore.</p>

<p>The learning curve for using ExpressionEngine was pretty simple and using the screencasts which came with the Fusion bundle were a great, great help. The biggest pain was my older posts from WordPress, I couldn&#8217;t find a simple transfer to and from, so I did it manually. Fortunately I didn&#8217;t have too many posts. I still have a lot to learn with using ExpressionEngine, so that&#8217;s that.</p>

<h2>Thanks!</h2>
<p>Thanks for reading if you did, these posts are for logging my ideas of somewhat I hope to achieve with the redesign of my websites and see if I achieve it until the next redesign. <em>There are probably a few tweaks to be made over time still to perfect it totally, but hopefully they&#8217;ll be done soon. Most likely with the responsive side of things.</em></p>]]></description>
      <dc:subject>Website,</dc:subject>
      <dc:date>2011-03-07T18:01:59+00:00</dc:date>
    </item>

    <item>
      <title>Portfolio additions</title>
      <link>http://iamsteve.me/blog/entry/portfolio_additions</link>
      <guid>http://iamsteve.me/blog/entry/portfolio_additions#When:22:11:00Z</guid>
      <description><![CDATA[<p>I&#8217;ve added a couple of things to my portfolio as of recent. They&#8217;re the &#8220;personal website&#8221; and my business card. Just to try show a variation of my skills. If you would like to view them, see my <a href="http://iamsteve.me/portfolio" title="View my portfolio for the new designs added">portfolio</a>. As for the business card, I&#8217;ll be getting a physical picture of it up ASAP, I can&#8217;t find my cameras USB cable and an iPhone 3G picture doesn&#8217;t cut it.</p>

<h2>Other news</h2>
<p>I&#8217;ve also been working on a competition entry within Manchester for Drivesafe, it ends at midnight tonight (17th November). So the results for it should be announced relatively soon after, I&#8217;m hoping it&#8217;ll be a day or so. At the same time I&#8217;m praying I win as it will be a pretty big achievement and having my work saw by a lot more people than this site gets. For what we had to do; the idea was vague, we had to design a landing page and branding for Drivesafe and have a button saying &#8220;Enter site&#8221; but somehow get across the dangers of using handheld devices in public, with a bit of content. I&#8217;m quite pleased with my entry and I&#8217;ll be putting it in my portfolio fairly soon, probably after the winner is announced.</p>]]></description>
      <dc:subject>Website,</dc:subject>
      <dc:date>2010-11-17T22:11:00+00:00</dc:date>
    </item>

    <item>
      <title>Pro Dev Day</title>
      <link>http://iamsteve.me/blog/entry/pro_dev_day</link>
      <guid>http://iamsteve.me/blog/entry/pro_dev_day#When:20:39:23Z</guid>
      <description><![CDATA[<p>Today was Pro Dev Day, it&#8217;s a few hours of a lot of companies and freelancers willing to talk to students and anyone really about their company. Some have job placements or permanent jobs available for graduates, which is great for someone like me in their final year of University. While that&#8217;s briefly about what it is here&#8217;s the website: <a title="Pro Dev Day website for full information" href="http://prodevday.com/">http://prodevday.com</a>.</p>

<h2>Overview of my day</h2>
<p>I went of course, to hopefully get a good idea of what companies want and whether they have anything going. Some chats were fairly brief, some longer, the longer ones were the jobs I was mainly interested in and they were positive about my work and wanted to see my portfolio (for what the University wifi allowed&#8230;) Throughout the few hours the title I usually give what I do &#8220;web designer&#8221; lost the meaning I thought it had. That meaning I do designing of sites, coding of websites, and so on. What I considered to be a full requirement, and what I think should be, wasn&#8217;t what every company looked for but instead I was talking to people then telling them I&#8217;m a front-end web developer (as what they called it, I didn&#8217;t think there was much difference but everyone has their own opinion). I prefer web designer if I&#8217;m honest – much shorter and just what I&#8217;m used to.</p>

<p>I went to a session they have called &#8220;pimp my CV&#8221;, a definite eye opener, and though my portfolio does more talking than my CV, I think I&#8217;ll be definitely going to rework my CV a little. I do wish I&#8217;d got an opinion on it but I was more interested in finding a potential placement and showing my work.</p>

<h2>Conclusion</h2>
<p>I&#8217;ve found it extremely helpful as a whole, and it gave me a great understanding of what companies want. Though I would take any creative web job at the moment, just for experience. I think I&#8217;d like a role where I design and I code the websites that I would be making. Then again I&#8217;d have to see how that went with a job, I&#8217;m not 100% fond of coding but I like to keep my skills sharp and learn more. If it is a specialised job I do get it&#8217;ll depend on the opportunities, but I&#8217;d take the designer role every time. I recommend anyone within the central Manchester area to attend. Even if you have a job, just purely to meet people if you don&#8217;t have your name out there as much as you&#8217;d like.</p>

<p>Though I definitely need to expand my portfolio! Slowly but surely working on that though.</p>

<p>&nbsp;</p>]]></description>
      <dc:subject>Life,</dc:subject>
      <dc:date>2010-11-10T20:39:23+00:00</dc:date>
    </item>

    <item>
      <title>Thoughts on my uninstallation of Flash</title>
      <link>http://iamsteve.me/blog/entry/bye_flash</link>
      <guid>http://iamsteve.me/blog/entry/bye_flash#When:18:41:06Z</guid>
      <description><![CDATA[<p>John Gruber posted an article fairly recently about uninstalling Flash, I read it of course and found that it to be a logical thing to do. Now I&#8217;m not a big user of Chrome, but I&#8217;m more so annoyed by how much Flash can cause crashes in Safari and generally be slow, very slow. Here&#8217;s the <a href="http://daringfireball.net/2010/11/flash_free_and_cheating_with_google_chrome" title="Flash free and cheating with Google Chrome">original article</a>. I was previous a user of Click to Flash a nice alternative to keep the Flash out, but as stated in the article mentioned Flash is still always running in the background.</p>

<h2>Covering all grounds</h2>
<p>I can settle for the times I need it to use Chrome, I thought which would be generally not too impacting, though that depends on how much I need to watch online. I&#8217;m a frequent user of <a href="http://bbc.co.uk/iplayer" title="Go to the BBC iPlayer website.">BBC iPlayer</a> and <a href="http://channel4.com/4od" title="Go to the 4od website.">4od</a>, so my Chrome usage will be up a fair bit.</p>
<p>Missing Youtube? Easily covered for the most part I have the <a href="http://www.verticalforest.com/2010/10/27/youtube5-version-2/" title="A Safari extension that makes Youtube play videos in a HTML5 player.">Youtube5 Safari extension</a> and so far is doing the job greatly. It also has support for sites like Vimeo and Facebook.</p>

<h2>Improvements?</h2>
<p>Overall it&#8217;s too early to say, but switching between Chrome and Safari for the times I really do need Flash, I&#8217;m not arguing as it won&#8217;t be a process still running when I&#8217;m done with Chrome. I do think it&#8217;s going to be a helpful improvement for the battery and hopefully performance.</p>

<h2>Conclusion</h2>
<p>While I wish I could be Flash free (unless it becomes more reliable and such), it&#8217;s a nice alternative to not wonder if the page will crash when you know Flash will be there. Flash isn&#8217;t going anywhere, yet, but if the alternatives weren&#8217;t growing to Flash this wouldn&#8217;t be possible. Let&#8217;s hope it lasts, well I do anyway.</p>]]></description>
      <dc:subject>Technology,</dc:subject>
      <dc:date>2010-11-06T18:41:06+00:00</dc:date>
    </item>

    <item>
      <title>Dribbble invite giveaway [closed]</title>
      <link>http://iamsteve.me/blog/entry/dribbble_invite_giveaway</link>
      <guid>http://iamsteve.me/blog/entry/dribbble_invite_giveaway#When:00:06:38Z</guid>
      <description><![CDATA[<p>I have a single Dribbble invite to giveaway. I assume the majority of people who will come to this post will know what Dribbble is but for those who don't here is a quote from the Dribbble about page.</p>

<p><img src="http://iamsteve.me/assets/posts/images/giveaway.png" alt="The image to accompany this post" /></p>

<blockquote>Dribbble is show and tell for designers, developers and other creatives. Share sneak peeks of your work as “shots” — small screenshots of the designs and applications you’re working on.</blockquote>

<p>So for this contest, like every contest related to Dribbble, comment here linking me to a few of your best work or your portfolio. Depending how many entries there is I'll announce the winner by the 3rd November 1pm (GMT). So leave me some method of contacting you either Twitter or your email. You can also enter by emailing me if you wish at steve@iamsteve.me.</p>]]></description>
      <dc:subject>Design,</dc:subject>
      <dc:date>2010-11-02T00:06:38+00:00</dc:date>
    </item>

    <item>
      <title>Assignments, dead computer, etc.</title>
      <link>http://iamsteve.me/blog/entry/updates</link>
      <guid>http://iamsteve.me/blog/entry/updates#When:17:41:02Z</guid>
      <description><![CDATA[<p>This is the first post in a fair while. Basically I just want to say that I&#8217;ll be putting more effort into creating posts fairly soon. The reason I haven&#8217;t is I&#8217;ve been extremely busy with University. I&#8217;ve got a fair few assignments now and I had one to hand in recently (yesterday). If you would like to see the website for my assignment; follow this link: <a title="View the website for my assignment." href="http://www.ico.mmu.ac.uk/awdm/student35/">http://www.ico.mmu.ac.uk/awdm/student35/</a>.</p>
<p>So my focus has been on that, as well as my almost 3 month old MacBook Pro and it&#8217;s logic board had gone the week before, it&#8217;s still in for repair it&#8217;s been a week now so I&#8217;m a little worried in some ways. So that&#8217;s it for now I guess, I&#8217;ll be preparing a tutorial as soon as I get my computer back. Which will be how to create a skip to navigation link, which doesn&#8217;t affect your site in anyway. It&#8217;ll be with jQuery and a sliding div, though it won&#8217;t have to be for a skip link, it can be for anything.</p>]]></description>
      <dc:subject>Life,</dc:subject>
      <dc:date>2010-10-22T17:41:02+00:00</dc:date>
    </item>

    <item>
      <title>Using jQuery to stop click depending on the page</title>
      <link>http://iamsteve.me/blog/entry/stop_click</link>
      <guid>http://iamsteve.me/blog/entry/stop_click#When:00:45:12Z</guid>
      <description><![CDATA[<p>I was set a task in University to make a website in short. Part of the requirement was to make each page link, if you are on that page not be clickable. There are a good few advantages to this, mainly, it being required in this case for usability. This can be done with CSS too, but the browser support is limited, as far as I know to Safari, Chrome and Firefox. I could ignore browser support, but this is kind of a key point also within the course that we must accommodate to older browsers.</p>

<h2>jQuery</h2>
<p>As always make sure you have jQuery in your code:</p>
<pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;</code></pre>

<h2>The code</h2>
<pre><code>$(document).ready(function(){
	var page = window.location.href;
	var name = page.replace(/.+[\/]([^\/]+)$/,'$1');
			
	if ((name === "index.php") || (name == "sitename.com"))  {
		$("#nav .home").addClass("current");
		$("#nav .home").click(function(){return false;});
	}
	else if (name === "portfolio.php") {						
		$("#nav .portfolio").addClass("current");
		$("#nav .portfolio").click(function(){return false;});
	}
	else if (name === "blog.php") {						
		$("#nav .blog").addClass("current");
		$("#nav .blog").click(function(){return false;});
	}
	else {					
		$("#contact .contact").addClass("current");
		$("#contact .contact").click(function(){return false;});
	}
});</code></pre>

<h2>Break down</h2>
<p>I&#8217;m relatively certain this could be done in fewer lines, but as I&#8217;m no jQuery expert, I wasn&#8217;t able to achieve it in fewer lines. Though this fits my needs perfectly.</p>

<h3>The variables</h3>
<pre><code>var page = window.location.href;</code></pre>
<p>This first variable is simple assign the URL of the current page to &#8216;page&#8217;</p>

<pre><code>var name = page.replace(/.+[\/]([^\/]+)$/,'$1');</code></pre>
<p>This is a little trickier to understand, it is a regular expression. In short it replaces the whole of the URL with just the end part, so if we had <em>http://site.com/path/to/file.php</em>, we would just have file.php. The longer explanation being; this part of the regular expression <code>/.+[\/]([^\/]+)$/</code>. <code>.+</code> is looking to match one or more of any characters that match except a newline. <code>[\/]</code> matches any instances of \ or /. <code>([^\/]+)</code> is matching any grouped sequences and instances of \ or / at the beginning of the line and if there are any more preceding the match, match them too. The <code>$</code> is to match the end of the line. Finally the <code>$1</code> matches the first submatch, basically the end of it eg: &#8220;index.php&#8221;.</p>

<h3>The if statement</h3>
<pre><code>if ((name === "index.php") || (name == "sitename.com"))  {
		$("#nav .home").addClass("current");
		$("#nav .home").click(function(){return false;});
	}
	else if (name === "portfolio.php") {						
		$("#nav .portfolio").addClass("current");
		$("#nav .portfolio").click(function(){return false;});
	}
	else if (name === "blog.php") {						
		$("#nav .blog").addClass("current");
		$("#nav .blog").click(function(){return false;});
	}
	else {					
		$("#contact .contact").addClass("current");
		$("#contact .contact").click(function(){return false;});
	}
});</code></pre>
<p>This is an <code>if</code> statement which compares the value of <code>name</code> to every possible page you give it. Which obviously if it finds a match to then add a <code>class</code> of &#8216;current&#8217; to the link of the page. <code>$(&#8221;#nav .home&#8221;).click(function(){return false;});</code> simply if the link is clicked then nothing will happen. For the final else I found this a little difficult to match the final page it just doesn&#8217;t happen with out a comparison that you get with an else if. That&#8217;s where my knowledge falters. I&#8217;m sure it can be done some way but I&#8217;m relying on a unique body ID to select the final page.</p>

<h2>Finishing points</h2>
<p>I hope this is of some use to you. It&#8217;s an easily adjustable code just add as many extra else if&#8217;s before the else and change them as needed and it should do the trick. It&#8217;s definitely one for smaller websites of course, where as my University one is only four pages.</h2>]]></description>
      <dc:subject>Code, jQuery,</dc:subject>
      <dc:date>2010-10-03T00:45:12+00:00</dc:date>
    </item>

    <item>
      <title>Using jQuery to add unique body ID</title>
      <link>http://iamsteve.me/blog/entry/unique</link>
      <guid>http://iamsteve.me/blog/entry/unique#When:13:35:58Z</guid>
      <description><![CDATA[<p>I&#8217;m quite a beginner with jQuery, but recently I made a basic free template on my downloads page, and I wanted to actually try put some of my knowledge to use for once. So I made this little jQuery snippet. Say you want to style a page of your website a little differently to the rest of the other pages, be it you want all the <code>h1</code> headings on the home page to be green and on your about page blue. With these few lines of code you can have an ID added to the body based on the URL&#8217;s ending/page name.</p>

<p><em>Note: this doesn&#8217;t work too well with &#8220;beautified&#8221; Wordpress URL&#8217;s. So if anyone could contribute it&#8217;d be great! I&#8217;ve had a try which it will be provided at the end, though I couldn&#8217;t figure out how to always get the last part of the URL.</em></p>

<h2>Step one: get jQuery</h2>
<p>If you haven&#8217;t put jQuery on your page, you&#8217;ll need to. Here is the Google hosted one if you need it:</p>
<pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;</code></pre>

<h2>The code</h2>
<p>Here&#8217;s the full code if you don&#8217;t want to read an explanation, that&#8217;s below.</p>
<pre><code>$(document).ready(function() {
				
  	var pathname = window.location.pathname; // get path after url eg: /blog/page/post_name.
  	var getLast = pathname.match(/.*\/(.*)$/)[1]; // remove every thing before post_name - so /blog/page/ would be removed.
	var truePath = getLast.replace(".php",""); // check if there is a .php extension and remove.
				
		if(truePath === "") { // checks if the body id is blank, if so replace with home this works for if you go to site.com instead of site.com/index.php
			$("body").attr("id","index");
		}
		else { // else replace with the actual page name
			$("body").attr("id",truePath);
		}	
 	});	
</code></pre>

<h2>The explanation</h2>
<p>For those wondering why and how what line does what I&#8217;ll try my best to explain.</p>

<p><code>var pathname = window.location.pathname;</code></p>
<p>This is a variable called &#8216;pathname&#8217; which gets the URL&#8217;s path name so for example: <strong>http://iamsteve.me/something/somethingelse/hello</strong> would lead to <strong>/something/somethingelse/hello</strong></p>

<p><code>var getLast = pathname.match(/.*\/(.*)$/)[1];</code></p>
<p>This is a new variable called &#8216;getLast&#8217; which gets the &#8216;pathname&#8217; variable and uses a regular expression (regex) to find all slashes. The [1] is an array that looks for the first position.</p>

<p><code>var truePath = getLast.replace(&#8221;.php&#8221;,&#8221;&#8220;);</code></p>
<p>This is a further new variable called &#8216;truePath&#8217; which gets the variable &#8216;getLast&#8217; and uses <code>replace()</code> to look within the &#8216;getLast&#8217; variable and seeing if it contains any <strong>.php</strong> and replace it with nothing which is what <strong>&#8221;&#8220;</strong> is for. You can also look for whatever you like, it doesn&#8217;t need to be a file extension at all.</p>

<pre><code>if(truePath === "") {
  $("body").attr("id","index");
}</code></pre>

<p>This part of the if statement checks the &#8216;truePath&#8217; variable to see if it&#8217;s <em>exactly</em> equal to nothing. This is just incase you type in say a url <a href="http://site.com">http://site.com</a> Becau.se <code>window.location.pathname</code> will return nothing. So we need a backup for that.</p>
<pre><code>else {
  $("body").attr("id",truePath);
}</code></pre>
<p>This assigns to the body whatever the variable &#8216;truePath&#8217; contains if the if statement before it doesn&#8217;t return true.</p>

<h3>For Wordpress and stuff alike</h3>
<pre><code>$(document).ready(function() {
  var ifpath = location.pathname.split('/');
  var pathname = location.pathname.split('/')[2];

  $("body").attr("id",pathname);
});</code></pre>
<p>Basically this is as good as I could do to get working for beautified URL&#8217;s which more often than not you will use within Wordpress. The code works relatively the same as above. Just the array controls what is shown as the ID. For example if you have <a href="http://site.com/stuff/thing/here">http://site.com/stuff/thing/here</a> With .the array set to [2] you will get &#8216;thing&#8217; as the ID. Whereas if you changed the array to [3] you would get here. It depends entirely on how your website is structured. Like I said earlier in the post I would greatly appreciate it if anyone had a better idea to post it.</p>

<p>I hope you&#8217;ve enjoyed this explanation. Practice makes perfect.</p>]]></description>
      <dc:subject>Code, jQuery,</dc:subject>
      <dc:date>2010-09-24T13:35:58+00:00</dc:date>
    </item>

    <item>
      <title>3D like buttons with CSS</title>
      <link>http://iamsteve.me/blog/entry/buttons</link>
      <guid>http://iamsteve.me/blog/entry/buttons#When:20:50:07Z</guid>
      <description><![CDATA[<p>In this tutorial I will show you how to make buttons in CSS with a nice 3D like effect. It&#8217;s really simple and all it takes is understanding where and when you need box-shadow. It&#8217;s all dependent on preference too and how you would like them.</p>

<h2>Firstly; the button.</h2>
<p>We need a button this can be done with either the actual <code>&lt;button&gt;</code> or just a plain <code>&lt;div&gt;</code>. Though it is possible to use for example a <code>&lt;section&gt;</code> it&#8217;s not very semantic, if you were wondering. Though if you are intending on applying this to  a section of content for styling then by all means do so.</p>

<p>I&#8217;m going to use a button for this example:</p>
<pre><code>&lt;button&gt;Do something!&lt;/button&gt;</code></pre>

<p>Now we have our button, albeit bland. Now we  want to add some styling, you can also add a <code>class</code> of choice, or if you want to have all buttons styled the way we will do so now, then you might just want to target the <code>button</code> element.</p>

<h2>Styling</h2>
<p>Looking at the button now to make it 3D, the main make up of the code is the box-shadow. I&#8217;ve commented the box-shadow area to show which part of the shadow is doing what. Anyway here&#8217;s my code:</p>

<pre><code>button {
	padding: 10px;
	background: #ec6161;
	border: none;
	font: 900 11px/1 Helvetica, Arial, sans-serif;
	color: rgba(255,255,255,0.85);
	text-shadow: 0 1px 1px rgba(0,0,0,0.2);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px; 
	border-radius: 10px;
	-webkit-box-shadow: 
	inset 0 -2px 5px rgba(0,0,0,0.1), /* a little shading to add a better effect */
	inset 0 -1px 0 #ff8d8d, /* adds a highlight at the bottom */
	0 4px 0 #b64a4a, /* adds the 3D depth */
	0 6px 4px rgba(0,0,0,0.3); /* makes it seem slightly raised */
}
</code></pre>
<p><em>Note: if you do it with a <code>&lt;div&gt;</code> you will want to put <code>display: inline;</code> into your divs CSS.</em></p>

<p>That&#8217;s the great thing about box-shadow, you have up to 8 shadows to use the way you want. You could also add some texture by adding an image into the background. It&#8217;s quite versatile in what you may want to do.</p>

<h2>Full code</h2>
<p>That&#8217;s the basics above, but you may want to make them feel more button like. This is also just as simple, it requires changing the shadow on the hover and active states slightly. So here&#8217;s the full code, with some added extras. Of course a demo too.</p>

<pre><code>// for button

button {
	padding: 10px;
	background: #ec6161;
	border: none;
	font: 900 11px/1 Helvetica, Arial, sans-serif;
	color: rgba(255,255,255,0.85);
	text-shadow: 0 1px 1px rgba(0,0,0,0.2);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1),	inset 0 -1px 0 #ff8d8d,	0 4px 0 #b64a4a, 0 6px 4px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1),	inset 0 -1px 0 #ff8d8d,	0 4px 0 #b64a4a, 0 6px 4px rgba(0,0,0,0.3);
	box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1),	inset 0 -1px 0 #ff8d8d,	0 4px 0 #b64a4a, 0 6px 4px rgba(0,0,0,0.3);
	-webkit-transition: background 1.5s ease-out;
	-moz-transition: background 1.5s ease-out; 
	-o-transition: background 1.5s ease-out; 
	transition: background 1.5s ease-out;
}

button:hover {
	background: #da5959;
	-webkit-transition: background .6s ease-in;
	-moz-transition: background .6s ease-in;
	-o-transition: background .6s ease-in;
	transition: background .6s ease-in;
}
button:active {
	-webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1),	inset 0 -1px 0 #ff8d8d,	0 4px 0 #b64a4a, 0 5px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1),	inset 0 -1px 0 #ff8d8d,	0 4px 0 #b64a4a, 0 5px 2px rgba(0,0,0,0.3);
	box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1),	inset 0 -1px 0 #ff8d8d,	0 4px 0 #b64a4a, 0 5px 2px rgba(0,0,0,0.3);
}

// for div

div {
	padding: 10px;
	display: inline; /* so it doesn't fill the full screen/div whatever */
	background: #77a8cb;
	border: none;
	font: 900 11px/1 Helvetica, Arial, sans-serif;
	color: rgba(255,255,255,0.85);
	text-shadow: 0 1px 1px rgba(0,0,0,0.2);
	-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;
	-webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1),	inset 0 -1px 0 #b0deff,	0 4px 0 #5d86a3, 0 6px 4px rgba(0,0,0,0.3);
	-webkit-transition: background 1.5s ease-out; 
	-moz-transition: background 1.5s ease-out; 
	-o-transition: background 1.5s ease-out; 
	transition: background 1.5s ease-out;
}

div:hover {
	background: #5d86a3;
	-webkit-transition: background .6s ease-in;
	-moz-transition: background .6s ease-in;
	-o-transition: background .6s ease-in;
	transition: background .6s ease-in;
}
div:active {
	-webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1),	inset 0 -1px 0 #b0deff,	0 4px 0 #5d86a3, 0 5px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1),	inset 0 -1px 0 #b0deff,	0 4px 0 #5d86a3, 0 5px 2px rgba(0,0,0,0.3);
	box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1),	inset 0 -1px 0 #b0deff,	0 4px 0 #5d86a3, 0 5px 2px rgba(0,0,0,0.3);
}
</code></pre>

<p>View the demo: <a href="http://iamsteve.me/assets/tutorials/button" title="Demo of the buttons">3D buttons.</a></p>]]></description>
      <dc:subject>Code, CSS,</dc:subject>
      <dc:date>2010-09-23T20:50:07+00:00</dc:date>
    </item>

    <item>
      <title>About the redesign V2</title>
      <link>http://iamsteve.me/blog/entry/redesign</link>
      <guid>http://iamsteve.me/blog/entry/redesign#When:00:28:16Z</guid>
      <description><![CDATA[<p>This post is just about some thoughts and processes I make whilst designing a website, but this one is about one for myself. As the saying goes &#8220;you are your own worst critic.&#8221; It certainly stands true for this, many ideas went to waste but I&#8217;ve got something I&#8217;m relatively happy with. I hope you enjoy the read.</p>

<hr />

<p>Well where do I start? Like everyone redesigning their own personal website, it takes a lot for you to design something you truly, truly are happy with. While I&#8217;m not truly happy with this redesign, I&#8217;m happier than the previous version. I think I went through around 10 different designs, while some may have done more. I completed a fair few in full code and the majority of the pages of that design.<p>

<h2>Why this design?</h2>
<p>Well it&#8217;s a pretty easy to answer that question. I came to this design through chance to an extent. I thought the idea of adding a 3D type depth, was a pretty cool idea. The other challenge I kind of set myself was, being able to do it in as few images as possible and replicating as much in CSS. Which I think I have done very well (just try zooming in and everything apart from the header will remain crisp).</p>

<h3>Inspiring buttons</h3>
<p><a href="http://dribbble.com/shots/33550-Mad-Elements"><img src="http://iamsteve.me/assets/posts/images/shot_1278576561.png" alt="3D buttons by Rogie King" /></a></p>

<p><a href="http://dribbble.com/shots/33827-Buttons"><img src="http://iamsteve.me/assets/posts/images/shot_1278651332.jpg" alt="3D type buttons by Jonatan Flores"  /></a></p>

<h3>Inspiring designs</h3>
<p><a href="http://emberapp.com/samwieck/images/made-by-elephant-we-craft-interfaces/sizes/l"><br />
<img src="http://iamsteve.me/assets/posts/images/15500311949dc17f712a39_l1.png" alt="An older design of Made by Elephant"  /></a></p><p>The vertical navigation and display of the work helped inspire the recent work on the home page.</p>

<h2>Not enough inspiration?</h2>
<p>While I have only noted a few examples, they are the ones that played quite a big part. Various websites, articles and such, helped me with ideas for content layout. As that was what the main focus was to me, I want to give users a good experience, a simple experience and not too much &#8216;blab.&#8217; However I did do a rather large amount of sketches to get a rough idea, far too many to show just on here, as well as Photoshop mockups. Reason being I was trying to go for something that wasn&#8217;t really inspired from anywhere, though the overall design probably relates to many things, of course.</p>

<h3>Sketches</h3>
<p>Albeit poor quality, you will get an understanding as to where I was going!</p>

<p><img src="http://iamsteve.me/assets/posts/images/photo-5.jpg" alt="The drawings most like this design."  /></p><p>Firstly, this is what the final sketches look like in my book. The rest below will be of concepts and a couple went further and were almost what I ended up with.</p>

<p><img src="http://iamsteve.me/assets/posts/images/photo-2-225x300.jpg" alt="Sketches of a totally different idea." /></p><p>This one almost saw the light of day. I coded the majority of the pages.</p>

<p><img src="http://iamsteve.me/assets/posts/images/photo-1-225x300.jpg" alt="A rough idea, which I thought wouldn't work."  /></p><p>A rough idea, which I thought wouldn&#8217;t work.</p>
</div>

<h3>Actual designs</h3>
<p>Two of the however many there was, the two which I was most happy with before hand. Both of these examples are in the browser. So there is a couple of things that are out of place, like the pink line and misplaced footer text. Why didn&#8217;t I use them? This may be a question of yours but because they weren&#8217;t as adaptable/easy to work with for being responsive. This one is much easier to make responsive. While it isn&#8217;t at current it will be at some point. I will follow it up with a blog post when it is.</p>

<p><img src="http://iamsteve.me/assets/posts/images/V2-possiblr1.png" alt="One of the ideas that was possible."  />[/caption]</p>

<p><img src="http://iamsteve.me/assets/posts/images/V2-a-possible-idea2.png" alt="One of the ideas that was possible."  /></p>

<h2>Wrapping up</h2>
<p>Well, this turned out to be longer than I&#8217;d expected. I had so much to show of how I got to this design you see now and all that I&#8217;ve done leading up to it, the post could easily have been twice the length. Basically I wanted to achieve something that would work responsively (when I&#8217;ve got the correct CSS in place) and a design which could easily adapt from time to time to make easy changes for blog posts.</p>

<p>&nbsp;</p>]]></description>
      <dc:subject>Website,</dc:subject>
      <dc:date>2010-09-20T00:28:16+00:00</dc:date>
    </item>

    
    </channel>
</rss>
