aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_portfolio_card.tpl
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2017-10-22 19:52:08 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2017-10-22 19:52:08 +0200
commitf648809856b852d3819a8c1a0d624fd725ed8a34 (patch)
tree27714a265ae15ec708624777702bb88629000803 /view/tpl/photo_portfolio_card.tpl
parentc80f4feb6234ff195171a92704d7ebe24aff4336 (diff)
downloadvolse-hubzilla-f648809856b852d3819a8c1a0d624fd725ed8a34.tar.gz
volse-hubzilla-f648809856b852d3819a8c1a0d624fd725ed8a34.tar.bz2
volse-hubzilla-f648809856b852d3819a8c1a0d624fd725ed8a34.zip
Portfolio widget - CSS update
Diffstat (limited to 'view/tpl/photo_portfolio_card.tpl')
-rw-r--r--view/tpl/photo_portfolio_card.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/view/tpl/photo_portfolio_card.tpl b/view/tpl/photo_portfolio_card.tpl
new file mode 100644
index 000000000..5fddd3d37
--- /dev/null
+++ b/view/tpl/photo_portfolio_card.tpl
@@ -0,0 +1,6 @@
+<div class="card" style="width: 300px;box-shadow: 0px 10px 6px -6px rgba(119,119,119,0.6);border-style: solid;border-width: 1px;border=color: rgba(230,230,230,0.6);margin:10px 5px 10px 5px;">
+ <img src="{{$photo.src}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}" title="{{$photo.desc}}" id="photo-top-photo-{{$photo.resource_id}}">
+ <div class="card-divider">
+ <h4>{{$photo.desc}}</h4>
+ </div>
+</div>