App-sitelenmute
view release on metacpan or search on metacpan
share/view/index.css view on Meta::CPAN
html, body
{
overflow: hidden; /* IE<9 */
padding: 0;
margin: 0;
border: 0;
height: 100.1% /* IOS>7.1 meta viewport minimal-ui to hide menu + bars */
}
body
{
overflow: scroll;
background-color: #eee;
}
img
{
border: none;
}
/* Main gallery elements */
#gallery h2
{
margin: 1em;
font-family: monospace;
}
#gallery
{
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #111;
}
#gallery.no-cursor *
{
cursor: none !important;
}
#gallery a, #gallery a:active, #gallery a:focus
{
outline: none;
}
#gallery #background
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#gallery #noise
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url(noise.png);
background-repeat: repeat;
}
#gallery #content
{
position: absolute;
top: 0;
left: 0;
}
#gallery #flash
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
}
/* Main image */
#gallery #content img.current
{
box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.5);
}
/* Header */
#gallery #content #header
{
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
display: none;
position: absolute;
top: 0;
left: 0;
color: #fff;
background: #111; /* IE<9 */
background: rgba(0, 0, 0, 0.7);
font-family: sans-serif;
font-size: 80%;
padding: 0.5em;
}
#gallery #content #header > :not(:first-child)
{
padding-left: 0.5em;
}
#gallery #content #header img
{
vertical-align: middle;
height: 1em;
}
#gallery #content #header #throbber
{
height: 100%;
}
#gallery #content #header a
{
text-decoration: none;
color: #fff;
}
#gallery #content #header a:hover
{
text-decoration: underline;
}
/* Caption */
#caption
{
background: #111; /* IE<9 */
background: rgba(0, 0, 0, 0.7);
background: linear-gradient(to left,
rgba(0, 0, 0, 0.7) 60%,
rgba(0, 0, 0, 0.5) 75%,
rgba(0, 0, 0, 0.1) 93%,
rgba(0, 0, 0, 0));
font-family: sans-serif;
text-align: right;
color: #fff;
display: none;
position: absolute;
right: 0;
bottom: 5%;
padding: 0.5em 5% 0.5em 10%;
}
#caption #title
{
font-weight: bold;
font-size: 3em;
}
#caption #desc
{
white-space: pre-wrap;
font-size: 1.5em;
}
@media (max-height: 60em)
{
#caption #title { font-size: 5vh }
#caption #desc { font-size: 2.5vh }
}
@media (max-height: 30em)
{
#caption #title { font-size: 1.5em }
#caption #desc { font-size: 1em; }
}
/* Navigation arrows */
#gallery #content #left,
#gallery #content #right
{
position: absolute;
width: 5%;
min-width: 2.5em;
top: 0;
bottom: 0;
}
#gallery #content #left
{
left: 0;
}
#gallery #content #right
{
right: 0;
}
#gallery #content #left div,
#gallery #content #right div
{
position: absolute;
cursor: pointer;
top: 0;
left: 0;
bottom: 0;
right: 0;
opacity: 0.3;
filter: alpha(opacity=30);
}
#gallery #content #left div:hover,
#gallery #content #right div:hover
{
opacity: 0.6;
filter: alpha(opacity=60);
}
#gallery #content #left img,
#gallery #content #right img
{
position: absolute;
display: block;
margin: auto;
top: 0;
bottom: 0;
}
#gallery #content #left img
{
left: 25%;
}
#gallery #content #right img
{
right: 25%;
}
/* Thumbnail list */
#gallery #list
{
position: absolute;
background: rgba(255, 255, 255, 0.1);
padding-top: 0.5em;
padding-left: 0.5em;
box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
}
#gallery #list:focus
{
outline: none;
}
/* Invidivual thumbnails */
#gallery #list .thumb
{
display: inline-block;
margin-bottom: 0.5em;
margin-right: 0.5em;
box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.5);
}
#gallery #list .thumb a
{
display: block;
position: relative;
border: 2px solid #111
}
#gallery #list .thumb.current a
{
border: 2px solid #f00;
}
#gallery #list .thumb a:hover,
#gallery #list .thumb a:focus
{
border: 2px solid #fff;
}
#gallery #list .thumb.current a:hover,
#gallery #list .thumb.current a:focus
{
border: 2px solid #f00;
}
/* Thumbnail styles */
#gallery #list .thumb .ovr
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#gallery #list .thumb.cut-left .ovr
{
background: url(cut-left.png) top left repeat-y;
}
#gallery #list .thumb.cut-right .ovr
{
background: url(cut-right.png) repeat-y top right;
}
#gallery #list .thumb.cut-left.cut-right .ovr
{
background: url(cut-left.png) top left repeat-y, url(cut-right.png) repeat-y top right;
}
#gallery #list .thumb.cut-top .ovr
{
background: url(cut-top.png) top left repeat-x;
}
#gallery #list .thumb.cut-bottom .ovr
{
background: url(cut-right.png) repeat-x bottom left;
}
#gallery #list .thumb.cut-top.cut-bottom .ovr
{
background: url(cut-left.png) top left repeat-x, url(cut-right.png) repeat-x bottom left;
}
#gallery #list .thumb.movie .ovr
{
background: url(cut-mov.png) top left repeat-y, url(cut-mov.png) top right repeat-y;
}
/* noscript style */
#wrapper {
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
line-height: 0;
}
#photos {
padding: 10px;
}
#photos img {
width: 100%;
height: auto
object-fit: cover;
}
( run in 0.876 second using v1.01-cache-2.11-cpan-f56aa216473 )