Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whoops. Let's make those items just <li>s.

  • Loading branch information...
commit 434fda277ee2ad4a76e2e2e1b4097adf10be01d5 1 parent 0b48808
@trey authored
Showing with 4 additions and 5 deletions.
  1. +1 −0  public/css/solutions.css
  2. +3 −5 public/index.php
View
1  public/css/solutions.css
@@ -2,6 +2,7 @@ body { padding: 10px 50px; color: #aaa; }
a, a:visited { color: #666; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; }
+li { margin-bottom: 15px; }
li a { background: #f0f0f0; padding: 3px; }
li span { color: #bbb; background-color: #eee; padding: 3px; }
h1 { color: #666; }
View
8 public/index.php
@@ -21,14 +21,12 @@
<h1><a href="http://treypiepmeier.com">Trey Piepmeier</a>'s <a href="https://github.com/trey/solutions-gist">Solutions Log</a> <a class="rss" href="http://feeds.pinboard.in/rss/u:trey/t:solutions/">RSS</a></h1>
+ <ul>
<?php foreach ($feed->get_items() as $item): ?>
<?php $title = htmlentities(preg_replace('/— Gist/', '', $item->get_title())); ?>
-
- <ul>
- <li><a href="<?php echo $item->get_permalink(); ?>"><?php echo $title; ?></a> <span class="date"><?php echo $item->get_date('F j, Y'); ?></span></li>
- </ul>
-
+ <li><a href="<?php echo $item->get_permalink(); ?>"><?php echo $title; ?></a> <span class="date"><?php echo $item->get_date('F j, Y'); ?></span></li>
<?php endforeach; ?>
+ </ul>
<?php require_once('../_tracking.php'); ?>
</body>
Please sign in to comment.
Something went wrong with that request. Please try again.