mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
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>
|
<body>
|
||||||
<%= render 'header' %>
|
<%= render 'header' %>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<div class="column personal">
|
<div class="first column personal">
|
||||||
<h1>Geeky</h1>
|
<h1>Geeky</h1>
|
||||||
<ul>
|
<ul>
|
||||||
<% sorted_articles[0..9].each do |article| %>
|
<% sorted_articles[0..9].each do |article| %>
|
||||||
|
@ -63,6 +63,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flickr">
|
<div class="flickr">
|
||||||
|
<!-- <h1>Photos</h1> -->
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<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>
|
<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 {
|
.column {
|
||||||
width: 30%;
|
width: 31%;
|
||||||
float: left;
|
float: left;
|
||||||
|
margin-left: 2em;
|
||||||
|
margin-bottom: 4em;
|
||||||
|
}
|
||||||
|
.first {
|
||||||
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flickr {
|
.flickr {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue