Difference between revisions of "Template:UIUC Illinois STYLE2"

Line 78: Line 78:
 
}
 
}
  
 +
 +
/*Image Cube animation settings*/
 +
.ch-item {
 +
width: 300px;
 +
height: 300px;
 +
border-radius: 50%;
 +
position: relative;
 +
    margin: auto;
 +
cursor: default;
 +
perspective: 900px;
 +
}
 +
 +
.ch-info{
 +
position: absolute;
 +
width: 100%;
 +
height: 100%;
 +
transform-style: preserve-3d;
 +
}
 +
 +
.ch-info > div {
 +
display: block;
 +
position: absolute;
 +
width: 100%;
 +
height: 100%;
 +
border-radius: 50%;
 +
background-position: center center;
 +
transition: all 0.4s linear;
 +
transform-origin: 50% 0%;
 +
}
 +
 +
.ch-info .ch-info-front {
 +
box-shadow: inset 0 0 0 16px rgba(0,0,0,0.3);
 +
}
 +
 +
.ch-info .ch-info-back {
 +
transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
 +
background-color: rgb(61, 209, 223);
 +
opacity: 0;
 +
}
 +
 +
.ch-img-1 {
 +
background-image: url(../images/19.jpg);
 +
}
 +
 +
.ch-info h3 {
 +
color: white;
 +
text-transform: uppercase;
 +
letter-spacing: 2px;
 +
font-size: 24px;
 +
margin: 0 15px;
 +
padding: 60px 0 0 0;
 +
height: 110px;
 +
font-family: 'Open Sans', Arial, sans-serif;
 +
}
 +
 +
.ch-info p {
 +
color: white;
 +
padding: 10px 5px;
 +
font-style: italic;
 +
margin: 0 30px;
 +
font-size: 12px;
 +
border-top: 1px solid rgba(255,255,255,0.5);
 +
}
 +
 +
.ch-info i {
 +
color: white;
 +
padding: 15px;
 +
font-size: 30px;
 +
}
 +
 +
.ch-info a:hover{
 +
color: white;
 +
}
 +
 +
.ch-info a:link{
 +
color: white;
 +
}
 +
 +
.ch-info a:visited{
 +
color: white;
 +
}
 +
 +
 +
.ch-info p a{
 +
display: block;
 +
color: rgba(255,255,255,0.7);
 +
font-style: normal;
 +
font-weight: 700;
 +
text-transform: uppercase;
 +
font-size: 9px;
 +
letter-spacing: 1px;
 +
padding-top: 4px;
 +
font-family: 'Open Sans', Arial, sans-serif;
 +
}
 +
 +
.ch-info p a:hover {
 +
color: rgba(255,242,34, 0.8);
 +
}
 +
 +
.ch-item:hover .ch-info-front {
 +
transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
 +
opacity: 0;
 +
}
 +
 +
.ch-item:hover .ch-info-back {
 +
transform: rotate3d(1,0,0,0deg);
 +
opacity: 1;
 +
}
 +
 +
.caption{
 +
    padding: 20px;
 +
}
  
  

Revision as of 22:23, 31 July 2017