Difference between revisions of "Template:UIUC Illinois STYLE2"

Line 193: Line 193:
 
.caption{
 
.caption{
 
     padding: 20px;
 
     padding: 20px;
 +
}
 +
 +
/*Styling for the flip down button on the contact us page*/
 +
.ch-item-2 {
 +
width: 250px;
 +
height: 250px;
 +
border-radius: 50%;
 +
position: relative;
 +
top: 200px;
 +
margin: auto;
 +
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
 +
cursor: default;
 +
}
 +
 +
.ch-info-wrap-2,
 +
.ch-info-2{
 +
position: relative;
 +
width: 250px;
 +
height: 250px;
 +
border-radius: 50%;
 +
 +
-webkit-transition: all 0.4s ease-in-out;
 +
-moz-transition: all 0.4s ease-in-out;
 +
-o-transition: all 0.4s ease-in-out;
 +
-ms-transition: all 0.4s ease-in-out;
 +
transition: all 0.4s ease-in-out;
 +
 +
-webkit-perspective: 800px;
 +
-moz-perspective: 800px;
 +
-o-perspective: 800px;
 +
-ms-perspective: 800px;
 +
perspective: 800px;
 +
}
 +
 +
.ch-info-wrap-2 {
 +
top: 20px;
 +
left: 20px;
 +
background: #f9f9f9;
 +
box-shadow:
 +
0 0 0 20px rgba(255,255,255,0.2),
 +
inset 0 0 3px rgba(115,114, 23, 0.8);
 +
 +
}
 +
 +
.ch-info-2{
 +
-webkit-transform-style: preserve-3d;
 +
-moz-transform-style: preserve-3d;
 +
-o-transform-style: preserve-3d;
 +
-ms-transform-style: preserve-3d;
 +
transform-style: preserve-3d;
 +
}
 +
 +
.ch-info-2> div {
 +
display: block;
 +
position: absolute;
 +
width: 100%;
 +
height: 100%;
 +
border-radius: 50%;
 +
background-position: center center;
 +
-webkit-transition: all 0.6s ease-in-out;
 +
-moz-transition: all 0.6s ease-in-out;
 +
-o-transition: all 0.6s ease-in-out;
 +
-ms-transition: all 0.6s ease-in-out;
 +
transition: all 0.6s ease-in-out;
 +
}
 +
 +
.ch-info-2 .ch-info-front-2 {
 +
-webkit-transform-origin: 50% 100%;
 +
-moz-transform-origin: 50% 100%;
 +
-o-transform-origin: 50% 100%;
 +
-ms-transform-origin: 50% 100%;
 +
transform-origin: 50% 100%;
 +
 +
z-index: 100;
 +
box-shadow:
 +
inset 2px 1px 4px rgba(0,0,0,0.1);
 +
}
 +
 +
.ch-info-2 .ch-info-back-2 {
 +
background: rgb(0, 171, 255);
 +
}
 +
 +
.ch-img-3 {
 +
background-color: rgba(254, 167, 0, 0.92);
 +
}
 +
 +
.ch-info-2 h3 {
 +
color: #fff;
 +
text-transform: uppercase;
 +
letter-spacing: 2px;
 +
font-size: 18px;
 +
text-align: center;
 +
margin-top: -15px;
 +
padding: 10px;
 +
font-family: 'Open Sans', Arial, sans-serif;
 +
text-shadow:
 +
0 0 1px #fff,
 +
0 1px 2px rgba(0,0,0,0.3);
 +
}
 +
 +
.ch-info-2 p {
 +
color: #fff;
 +
font-style: italic;
 +
text-align: center;
 +
 +
padding: 10px;
 +
font-size: 12px;
 +
border-top: 1px solid rgba(255,255,255,0.5);
 +
 +
}
 +
 +
.ch-info-2 p a {
 +
display: block;
 +
color: #fff;
 +
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-2 p a:hover {
 +
color: #fff222;
 +
color: rgba(255,242,34, 0.8);
 +
}
 +
 +
 +
.ch-item-2:hover .ch-info-front-2 {
 +
-webkit-transform: rotate3d(1,0,0,-180deg);
 +
-moz-transform: rotate3d(1,0,0,-180deg);
 +
-o-transform: rotate3d(1,0,0,-180deg);
 +
-ms-transform: rotate3d(1,0,0,-180deg);
 +
transform: rotate3d(1,0,0,-180deg);
 +
 +
box-shadow:
 +
inset 0 0 5px rgba(255,255,255,0.2),
 +
inset 0 0 3px rgba(0,0,0,0.3);
 +
}
 +
 +
.ch-item-2:hover .ch-info-back-2 {
 +
background: rgba(0, 171, 255, 0.6);
 
}
 
}
  

Revision as of 19:35, 2 August 2017