html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio, video { margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background-color:transparent; }
.cf:before, .cf:after { content: " "; display: table; }
.cf:after { clear: both; }
.cf { *zoom: 1; }
/* -------------------------------------------------------------- */
/* Common */
html,body{ width:100%; height:100%; }
body{
position: relative;
margin: 0;
padding: 0;
background-color: #191919;
font-family:'Source Code Pro', 'Droid Sans Mono';
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
/* -------------------------------------------------------------- */
/* Common */
#park{
display: block;
width: 100%;
margin: 0 0 -15px 0;
padding: 80px 0 60px 0;
text-align: center;
}
#template{
display: none;
}
/* -------------------------------------------------------------- */
/* Animal */
.animal{
display: inline-block;
width: 200px;
padding: 0 10px 15px 10px;
text-align: left;
}
.animal .pic{
width: 150px;
height: 150px;
margin: 25px;
background:url(https://dl.dropboxusercontent.com/u/10162000/codepen/zoo/animals.svg);
background-color: #252525;
background-repeat: no-repeat;
background-size: auto 150px;
-webkit-transform: rotateY(180deg);
-webkit-transition: all 1200ms cubic-bezier(0.230, 1.000, 0.320, 1.000);
}
.animal .name{
display: block;
border-top: solid 1px #222222;
padding: 18px 0 12px 0;
color: #AAA;
font-size: 14px;
letter-spacing: 1px;
line-height: normal;
}
.animal .info{
display: block;
width: 100%;
color: #444;
font-size: 11px;
-webkit-transition: all 350ms;
}
.animal .info dt{
width: 25%;
display: inline-block;
text-transform: uppercase;
}
.animal .info dd{
width: 75%;
display: inline-block;
}
.animal.on{}
.animal.on .info{ color: #555; }
.animal.on .pic { -webkit-transform: rotateY(-180deg); }
.animal.on.male .pic{ background-color: #5DD0D0; }
.animal.on.female .pic{ background-color: #DF88B3; }
.animal:hover .info{ color: #777; }
.animal.gorilla .pic{ background-position: 0 0; }
.animal.giraffe .pic{ background-position: -150px 0; }
.animal.fox .pic{ background-position: -300px 0; }
.animal.horse .pic{ background-position: -450px 0; }
.animal.tiger .pic{ background-position: -600px 0; }
.animal.rhino .pic{ background-position: -750px 0; }
.animal.bear .pic{ background-position: -900px 0; }
.animal.flamingo .pic{ background-position: -1050px 0; }
/* -------------------------------------------------------------- */
/* Filters */
#filters{
position: fixed;
/*bottom: 0;*/
top: 0;
display: block;
width : 100%;
height: 50px;
background-color: #202020;
overflow: hidden;
}
#filters .filterbox{
width : 80%;
height: 50px;
padding-top: 17px;
float: left;
-webkit-transition: all 600ms cubic-bezier(0.230, 1.000, 0.320, 1.000);
}
#filters .filter{
display: block;
height: 50px;
font-size: 12px;
}
#filters .filter .ttl{
display: block;
float: left;
padding: 0 20px 0 35px;
color: #CCC;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
}
#filters .options{
display: block;
float: left;
}
#filters .options li{
display: inline-block;
padding-right: 12px;
}
#filters .options li a{
position: relative;
cursor: pointer;
color: #666;
font-size: 12px;
font-weight: 600;
vertical-align: top;
text-transform: uppercase;
-webkit-transition: all 350ms;
}
#filters .options li a:before{
content: "";
display: inline-block;
width: 0.9em;
height: 0.9em;
border: solid 1px #444;
background-color: #333;
box-sizing: border-box;
margin-right: 4px;
}
#filters .options li a:hover{ color: #DDD; }
#filters .options li a.on{ color: #DDD; }
#filters .options li a.on:before{
background-color: #DDD;
border-color: #EEE;
}
/* -------------------------------------------------------------- */
/* Filters Navi */
#filters .navi{
width : 20%;
float: right;
padding-top: 17px;
font-size: 12px;
text-align: right;
}
#filters .navi li{
display: inline-block;
padding-right: 25px;
}
#filters .navi li a{
display: block;
cursor: pointer;
color: #CCC;
letter-spacing: 1px;
font-weight: 700;
-webkit-transition: all 350ms;
}
#filters .navi li a:hover{ color: #33CC88; }