public link improvements

This commit is contained in:
Matthias Kretschmann 2012-02-27 13:19:44 +01:00
parent 1681a74b80
commit 94f2074035
2 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,7 @@ $items = yourls_api_stats( 'last', 1 );
</header>
<article role="main">
<?php foreach( $items['links'] as $item ) { ?>
<p>Latest shortened link: <a href="<?php echo $item['shorturl']; ?>"><?php echo $item['title']; ?> | <?php echo $item['shorturl']; ?></a></p>
<p>Latest short url: <a href="<?php echo $item['shorturl']; ?>"><?php echo $item['shorturl']; ?> <span class="title"><?php echo $item['title']; ?></span></a></p>
<?php } ?>
</article>

View File

@ -686,6 +686,11 @@ body#public {
margin: 1em 0;
}
#public article a .title {
color: #a8b5b9;
margin-left: .5em;
}
@media only screen and (max-width: 600px){