.wrapper{ box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12); } .photo{ box-sizing: border-box; display: inline-block; max-width: 180px; margin: 0; vertical-align: top; } .fade{ text-align: center; vertical-align: bottom; position: absolute; bottom: 0; left: 0; right: 0; height: 20px; padding-bottom: 2px; /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,0.8+100 */ background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ccffffff',GradientType=0 ); /* IE6-9 */ } .photo button{ padding: 0; vertical-align: top; } button img{ display: block; height: 100%; width: 100%; } .info{ display: inline-block; vertical-align: top; padding: 2px 2px 8px 5px; box-sizing: border-box; width: calc(100% - 180px); overflow-y: hidden; position: relative; height: 100px; } .title{ font-weight: bold; } .date, .author{ font-style: italic; font-size: 14px; } .description{ font-size: 14px; color: darkgray; word-wrap: none; border-top: 0px solid lightgray; padding-top:6px; margin-top: 6px; } .expanded{ overflow-y: hidden; } .expanded-content{ margin: 10px; } .buttons, .buttons-edit{ background-color: lightgray; } .buttons button, .buttons .filler{ display: inline-block; width: 50%; } .border{ margin: 0px 5px 0px 5px; border-top: 1px inset lightgray; } .buttons-edit button{ display: inline-block; width: 50%; }