Team:SYSU-China/css/style4

From 2014.igem.org

Revision as of 18:30, 16 October 2014 by MoriWiFi (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  1. regch .ch-item {

width: 100%; height: 100%; border-radius: 50%; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,0.1); cursor: default; }

/*

  1. regch .ch-item {

width: 100%; height: 100%; border-radius: 0%; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,0.1); cursor: default; background: no-repeat; background-size: 100% auto; }

  • /
  1. regch .ch-info-wrap{

position: absolute; width: 180px; height: 180px; border-radius: 50%;

-webkit-perspective: 800px; -moz-perspective: 800px; -o-perspective: 800px; -ms-perspective: 800px; perspective: 800px;

-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;

top: 20px; left: 20px; background: #f9f9f9 url(../images/bg.jpg); box-shadow: 0 0 0 20px rgba(255,255,255,0.2), inset 0 0 3px rgba(115,114, 23, 0.8);

}

  1. regch .ch-info{

position: absolute; width: 180px; height: 180px; 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-transform-style: preserve-3d; -moz-transform-style: preserve-3d; -o-transform-style: preserve-3d; -ms-transform-style: preserve-3d; transform-style: preserve-3d;

}

  1. regch .ch-info > div {

display: block; position: absolute; width: 100%; height: 100%; border-radius: 50%; background-position: center center;

-webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -o-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden; }

  1. regch .ch-info .ch-info-back {

-webkit-transform: rotate3d(0,1,0,180deg); -moz-transform: rotate3d(0,1,0,180deg); -o-transform: rotate3d(0,1,0,180deg); -ms-transform: rotate3d(0,1,0,180deg); transform: rotate3d(0,1,0,180deg);

background: #000; }

  1. regch .ch-img-6 {

background-image: url(../images/10.jpg); }

  1. regch .ch-img-7 {

background-image: url(../images/11.jpg); }

  1. regch .ch-img-8 {

background-image: url(../images/12.jpg); }

  1. regch .ch-info h3 {

color: #fff; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; margin: 0 15px; padding: 40px 0 0 0; height: 90px; font-family: 'Open Sans', Arial, sans-serif; text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0,0,0,0.3); }

  1. regch .ch-info p {

color: #fff; padding: 10px 5px; font-style: italic; margin: 0 30px; font-size: 12px; border-top: 1px solid rgba(255,255,255,0.5); }

  1. regch .ch-info 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; }

  1. regch .ch-info p a:hover {

color: #fff222; color: rgba(255,242,34, 0.8); }

  1. regch .ch-item:hover .ch-info-wrap {

box-shadow: 0 0 0 0 rgba(255,255,255,0.8), inset 0 0 3px rgba(115,114, 23, 0.8); }

  1. regch .ch-item:hover .ch-info {

-webkit-transform: rotate3d(0,1,0,-180deg); -moz-transform: rotate3d(0,1,0,-180deg); -o-transform: rotate3d(0,1,0,-180deg); -ms-transform: rotate3d(0,1,0,-180deg); transform: rotate3d(0,1,0,-180deg); }