forked from wezm/wezm.net
Layout home page a little better
This commit is contained in:
parent
e26e6a8d75
commit
68f311aaf8
2 changed files with 8 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
|||
<body>
|
||||
<%= render 'header' %>
|
||||
<div id="main">
|
||||
<div class="column personal">
|
||||
<div class="first column personal">
|
||||
<h1>Geeky</h1>
|
||||
<ul>
|
||||
<% sorted_articles[0..9].each do |article| %>
|
||||
|
@ -63,6 +63,7 @@
|
|||
</div>
|
||||
|
||||
<div class="flickr">
|
||||
<!-- <h1>Photos</h1> -->
|
||||
<ul>
|
||||
<li>
|
||||
<a href="http://www.flickr.com/photos/wezm/4268597148/" title="Blue Flower by wezm, on Flickr"><img src="http://farm5.static.flickr.com/4013/4268597148_ab83667f21_s.jpg" width="75" height="75" alt="Blue Flower" /></a>
|
||||
|
|
|
@ -147,10 +147,14 @@ ul#menu li {
|
|||
}
|
||||
|
||||
.column {
|
||||
width: 30%;
|
||||
width: 31%;
|
||||
float: left;
|
||||
margin-left: 2em;
|
||||
margin-bottom: 4em;
|
||||
}
|
||||
.first {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.flickr {
|
||||
clear: both;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue