Merge pull request #943 from argonui/instruction-generator
Added shadow to arkhamdb card gallery
This commit is contained in:
commit
c487309e4c
@ -13,7 +13,13 @@ local sliceRotateScale = 0.714 -- 1 / cardRatio
|
||||
-- template for the description
|
||||
local galleryTemplateStart = [[<style>
|
||||
.sced-spacer { height: 60px; }
|
||||
.sced-card { width: ]] .. cardWidth .. [[px; border-radius: 5px; margin: 0; transition: transform 0.25s ease-in-out; }
|
||||
.sced-card {
|
||||
width: ]] .. cardWidth .. [[px;
|
||||
border-radius: 5px;
|
||||
margin: 0;
|
||||
transition: transform 0.25s ease-in-out;
|
||||
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
.sced-slice { background-repeat: no-repeat; height: ]] .. cardHeight .. [[px; }
|
||||
.sced-card:hover { transform: scale(]] .. hoverScale .. [[); }
|
||||
.sced-rotate { transform: scale(]] .. sliceRotateScale .. [[) rotate(270deg); }
|
||||
|
Loading…
Reference in New Issue
Block a user