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
{
( run in 1.383 second using v1.01-cache-2.11-cpan-5735350b133 )