playing with css
This commit is contained in:
parent
f0c4568a9b
commit
5903c07047
4 changed files with 30 additions and 1 deletions
14
templates/album.cassius
Normal file
14
templates/album.cassius
Normal 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
|
2
templates/default-layout.cassius
Normal file
2
templates/default-layout.cassius
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
nav li
|
||||||
|
display: inline-block
|
13
templates/home.cassius
Normal file
13
templates/home.cassius
Normal 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
|
|
@ -27,6 +27,6 @@ $else
|
||||||
<ul class="media">
|
<ul class="media">
|
||||||
<li>
|
<li>
|
||||||
$forall (Entity mediumId medium) <- take 10 recentMedia
|
$forall (Entity mediumId medium) <- take 10 recentMedia
|
||||||
<div class="thumbnails">
|
<div class="thumbnail">
|
||||||
<a href=@{MediumR mediumId}>
|
<a href=@{MediumR mediumId}>
|
||||||
<img src=#{mediumPath medium}>
|
<img src=#{mediumPath medium}>
|
||||||
|
|
Loading…
Reference in a new issue