Sha256: 6c8c684021fbebf5e1f80dd620ec6ba7abeb600492301e58736f7e0c0c665242
Contents?: true
Size: 1.6 KB
Versions: 1
Compression:
Stored size: 1.6 KB
Contents
/** * pictures/style.css * Design for the Pictures module of the IntraNet. */ /******************************* Recent groups ********************************/ p.see_more { text-align: right; } p.see_more a { color: #748ea3; } /******************************* Picture groups *******************************/ ul.groups { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 1.875em; padding: 0px; margin: 1em 15px 0px; /* top sides bottom */ } ul.groups.wide { grid-template-columns: repeat(2, 1fr); } ul.groups li { display: block; width: 100%; margin: 0px; background: #ffffff; text-align: center; overflow: hidden; transition: all 0.2s; border: 1px solid #eeeff2; border-radius: 3px; justify-self: center; } /* Small screens only */ @media only screen and (max-width: 1023px), only screen and (max-device-width: 1023px) { ul.groups { grid-template-columns: repeat(2, 1fr); } ul.groups.wide { grid-template-columns: repeat(1, 1fr); } } ul.groups li a { display: block; height: 100%; } ul.groups li figure { margin: 0px; } ul.groups li figure div { height: 0px; padding-bottom: 74.075%; /* 200:270 ratio */ background: no-repeat center; background-size: cover; } ul.groups.wide li figure div { padding-bottom: 43.860%; /* 250:570 ratio */ } ul.groups li figcaption { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding: 1em; } ul.groups li em { display: inline-block; margin-top: 0.5em; font-size: 0.9em; } ul.groups li:hover, ul.groups li:focus { box-shadow: 0px 1px 15px rgba(0,0,0,0.08); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
intranet-pictures-1.0.3 | lib/intranet/resources/www/style.css |