playing with css

This commit is contained in:
nek0 2014-09-14 05:07:56 +02:00
parent f0c4568a9b
commit 5903c07047
4 changed files with 30 additions and 1 deletions

14
templates/album.cassius Normal file
View file

@ -0,0 +1,14 @@
.thumbnail
border: 1px solid #ddd
border-radius: 6px
box-shadow: 0 0 3px #c4c4c4
.thumbnail img
width: 250px
margin: 0
ul
list-style-type: none
li
display: inline-block

View file

@ -0,0 +1,2 @@
nav li
display: inline-block

13
templates/home.cassius Normal file
View file

@ -0,0 +1,13 @@
.thumbnail
border: 1px solid #ddd
border-radius: 6px
box-shadow: 0 0 3px #c4c4c4
.thumbnail img
width: 250px
ul
list-style-type: none
li
display: inline-block

View file

@ -27,6 +27,6 @@ $else
<ul class="media">
<li>
$forall (Entity mediumId medium) <- take 10 recentMedia
<div class="thumbnails">
<div class="thumbnail">
<a href=@{MediumR mediumId}>
<img src=#{mediumPath medium}>