Sha256: 25023a63b573eb94d8b5c74b84e913af59690bc226a22184f7d73516c43b5bc7
Contents?: true
Size: 1.63 KB
Versions: 2
Compression:
Stored size: 1.63 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: 30px; 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%; max-width: 270px; margin: 0px; background: #ffffff; text-align: center; overflow: hidden; transition: all 0.2s; border: 1px solid #eeeff2; border-radius: 3px; justify-self: center; } ul.groups.wide li { max-width: 570px; } /* 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; } 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: 90%; } ul.groups li:hover, ul.groups li:focus { box-shadow: 0px 1px 15px rgba(0,0,0,0.08); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
intranet-pictures-1.0.1 | lib/intranet/resources/www/style.css |
intranet-pictures-1.0.0 | lib/intranet/resources/www/style.css |