Team:Tec-Monterrey/ITESM14 team.css

From 2014.igem.org

(Difference between revisions)
Line 72: Line 72:
   background: #fff;
   background: #fff;
   box-shadow: 0px 0px 10px -1px rgba(0, 0, 0, 0.45);
   box-shadow: 0px 0px 10px -1px rgba(0, 0, 0, 0.45);
-
  -moz-transform: scale(1, 1);
 
-
  -ms-transform: scale(1, 1);
 
-
  -webkit-transform: scale(1, 1);
 
-
  transform: scale(1, 1);
 
-
  -moz-transition: all 0.6s ease;
 
-
  -o-transition: all 0.6s ease;
 
-
  -webkit-transition: all 0.6s ease;
 
-
  transition: all 0.6s ease;
 
}
}
#wiki-content #team-members .bussinesscard .front .top {
#wiki-content #team-members .bussinesscard .front .top {
Line 110: Line 102:
#wiki-content #team-members .bussinesscard .front .top:after {
#wiki-content #team-members .bussinesscard .front .top:after {
   left: 50%;
   left: 50%;
-
  width: 4em;
 
-
  height: 4em;
 
-
  -moz-transform: translateX(-50%) rotate(45deg);
 
-
  -ms-transform: translateX(-50%) rotate(45deg);
 
-
  -webkit-transform: translateX(-50%) rotate(45deg);
 
-
  transform: translateX(-50%) rotate(45deg);
 
-
  bottom: 12.3em;
 
-
  z-index: 10;
 
   background: inherit;
   background: inherit;
   background: #ff0060;
   background: #ff0060;
Line 123: Line 107:
#wiki-content #team-members #femsa-btc .bussinesscard .front .top:after {
#wiki-content #team-members #femsa-btc .bussinesscard .front .top:after {
   left: 50%;
   left: 50%;
-
  width: 4em;
 
-
  height: 4em;
 
-
  -moz-transform: translateX(-50%) rotate(45deg);
 
-
  -ms-transform: translateX(-50%) rotate(45deg);
 
-
  -webkit-transform: translateX(-50%) rotate(45deg);
 
-
  transform: translateX(-50%) rotate(45deg);
 
-
  bottom: 12.3em;
 
-
  z-index: 10;
 
   background: inherit;
   background: inherit;
   background: #ff0060;
   background: #ff0060;
Line 146: Line 122:
   padding: .16em;
   padding: .16em;
   position: relative;
   position: relative;
-
  pointer-events: none;
 
-
  -moz-transform: translateX(-50%);
 
-
  -ms-transform: translateX(-50%);
 
-
  -webkit-transform: translateX(-50%);
 
-
  transform: translateX(-50%);
 
   left: 50%;
   left: 50%;
   margin-top: .4em;
   margin-top: .4em;
Line 159: Line 130:
   width: 2.5em;
   width: 2.5em;
   position: relative;
   position: relative;
-
  pointer-events: none;
 
-
  -moz-transform: translateX(-50%);
 
-
  -ms-transform: translateX(-50%);
 
-
  -webkit-transform: translateX(-50%);
 
-
  transform: translateX(-50%);
 
   left: 50%;
   left: 50%;
}
}
Line 174: Line 140:
#wiki-content #team-members .bussinesscard .front .nametroduction {
#wiki-content #team-members .bussinesscard .front .nametroduction {
   margin-top: 2.4em;
   margin-top: 2.4em;
-
  -moz-transform: translateY(0);
 
-
  -ms-transform: translateY(0);
 
-
  -webkit-transform: translateY(0);
 
-
  transform: translateY(0);
 
   z-index: 8;
   z-index: 8;
   font-weight: 300;
   font-weight: 300;
Line 183: Line 145:
#wiki-content #team-members #femsa-btc .bussinesscard .front .nametroduction {
#wiki-content #team-members #femsa-btc .bussinesscard .front .nametroduction {
   margin-top: 1%;
   margin-top: 1%;
-
  -moz-transform: translateY(0);
 
-
  -ms-transform: translateY(0);
 
-
  -webkit-transform: translateY(0);
 
-
  transform: translateY(0);
 
   z-index: 8;
   z-index: 8;
   font-weight: 300;
   font-weight: 300;
Line 258: Line 216:
   font-weight: 300;
   font-weight: 300;
   font-size: 2em;
   font-size: 2em;
-
  -moz-transform: translateY(400%);
 
-
  -ms-transform: translateY(400%);
 
-
  -webkit-transform: translateY(400%);
 
-
  transform: translateY(400%);
 
}
}
#wiki-content #team-members #image-team .bussinesscard .front .description p{
#wiki-content #team-members #image-team .bussinesscard .front .description p{
Line 271: Line 225:
   font-weight: 300;
   font-weight: 300;
   font-size: 1.2em;
   font-size: 1.2em;
-
  -moz-transform: translateY(400%);
 
-
  -ms-transform: translateY(400%);
 
-
  -webkit-transform: translateY(400%);
 
-
  transform: translateY(400%);
 
}
}
#wiki-content #team-members .bussinesscard .front .contact span {
#wiki-content #team-members .bussinesscard .front .contact span {
Line 333: Line 283:
   height: 2em;
   height: 2em;
   bottom: 23.5em;
   bottom: 23.5em;
-
}
 
-
 
-
#wiki-content #team-members .flip:hover .front .nametroduction {
 
-
  -moz-transform: translateY(400%);
 
-
  -ms-transform: translateY(400%);
 
-
  -webkit-transform: translateY(400%);
 
-
  transform: translateY(400%);
 
-
}
 
-
 
-
#wiki-content #team-members .flip:hover .front .contact {
 
-
  -moz-transform: translateY(-90%);
 
-
  -ms-transform: translateY(-90%);
 
-
  -webkit-transform: translateY(-90%);
 
-
  transform: translateY(-90%);
 
-
}
 
-
#wiki-content #team-members .flip:hover .front .description p{
 
-
  -moz-transform: translateY(-60%);
 
-
  -ms-transform: translateY(-60%);
 
-
  -webkit-transform: translateY(-60%);
 
-
  transform: translateY(-60%);
 
}
}

Revision as of 07:44, 16 October 2014

/*Team cards*/

  1. wiki-content #team-members p {
 padding: 0;
 margin: 0;
 display: inline-block;

}

  1. wiki-content #team-members a {
 color: #CC004D;
 text-decoration: none;
 -moz-transition: all 0.2s ease-in-out;
 -o-transition: all 0.2s ease-in-out;
 -webkit-transition: all 0.2s ease-in-out;
 transition: all 0.2s ease-in-out;

}

  1. wiki-content #team-members #image-team a {
 color: #FFD82E;
 text-decoration: none;

}

  1. wiki-content #team-members a:hover {
 color: #B20043;

}

  1. wiki-content #team-members #image-team a:hover {
 color: #F4FF3B;

}

  1. wiki-content #team-members hr {

border-top: 2px solid #eee; }

  1. wiki-content #team-members {

margin: 5%; }

  1. wiki-content #team-members .bussinesscard{

height:400px; width:500px; overflow:hidden; position: static; margin: 0% 0 1% 1%; box-shadow: 0px 0px 43px -10px black; display: inline-block; @include translate(-50%,-50%); }

  1. wiki-content #team-members #femsa-btc .bussinesscard{
 width:99%;  
 height: 500px;
 overflow:hidden;
 position: static;
 margin: 0% 0 1% 1%;
 box-shadow: 0px 0px 43px -10px black; 
 left: 50%;
 top: 50%;
 display: inline-block;
 @include translate(-50%,-50%);  

}

  1. wiki-content #team-members #team-assistants .bussinesscard{
 height:400px;
 width:500px;  
 position: static;
 margin: 0% 0 1% 1%;
 box-shadow: 0px 0px 43px -10px black; 
 display: inline-block;

}

  1. wiki-content #team-members .bussinesscard .flip {
 -moz-transition: all 0.5s ease;
 -o-transition: all 0.5s ease;
 -webkit-transition: all 0.5s ease;
 transition: all 0.5s ease;

}

  1. wiki-content #team-members .bussinesscard .front {
 z-index: 11;
 width: 100%;
 position: static;
 height: 100%;
 background: #fff;
 box-shadow: 0px 0px 10px -1px rgba(0, 0, 0, 0.45);

}

  1. wiki-content #team-members .bussinesscard .front .top {
 height: 50%;
 box-shadow: 0px 0px 20px #C7004B;
 background: #ff0060;

}

  1. wiki-content #team-members #femsa-btc .bussinesscard .front .top {
 height: 70%;
 box-shadow: 0px 0px 20px rgba(0,0,0,0.4);
 background: #ff0060;

}

  1. wiki-content #team-members #team-assistants .bussinesscard .front .top {
 height: 50%;
 box-shadow: 0px 0px 20px #C7004B;

}

  1. wiki-content #team-members #image-team .bussinesscard .front .top {
 box-shadow: 0px 0px 20px #626618;
 background: #F4FF3B;

}

  1. wiki-content #team-members #team-assistants .bussinesscard .front .top {
 box-shadow: 0px 0px 20px #626618;
 background: #36d8c5;

}

  1. wiki-content #team-members .bussinesscard .front .top:after {
 position: absolute;
 content: ;
 pointer-events: none;

}

  1. wiki-content #team-members .bussinesscard .front .top:after {
 left: 50%;
 background: inherit;
 background: #ff0060;

}

  1. wiki-content #team-members #femsa-btc .bussinesscard .front .top:after {
 left: 50%;
 background: inherit;
 background: #ff0060;

}

  1. wiki-content #team-members #image-team .bussinesscard .front .top:after {
 background: #F4FF3B;

}

  1. wiki-content #team-members #team-assistants .bussinesscard .front .top:after {
 background: #36d8c5;

}

  1. wiki-content #team-members .bussinesscard .front .top .logo {
 display: inline-block;
 color: #fff;
 z-index: 11;
 padding: .16em;
 position: relative;
 left: 50%;
 margin-top: .4em;
 font-size: 4em;

}

  1. wiki-content #team-members .bussinesscard .front .top .logo img{
 height: 2.5em;
 width: 2.5em;
 position: relative;
 left: 50%;

}

  1. wiki-content #team-members #team-assistants .logo img{
  height: 2.5em;
 width: 2.5em;
 position: relative;
 left: 50%;

}

  1. wiki-content #team-members .bussinesscard .front .nametroduction {
 margin-top: 2.4em;
 z-index: 8;
 font-weight: 300;

}

  1. wiki-content #team-members #femsa-btc .bussinesscard .front .nametroduction {
 margin-top: 1%;
 z-index: 8;
 font-weight: 300;

}

  1. wiki-content #team-members .bussinesscard .front .name {
 color: #CC004D;
 font-weight: 400;
 font-size: 4.9em;
 text-align: center;
 position: relative;

}

  1. wiki-content #team-members #team-assistants .bussinesscard .front .top .nametroduction .name {
 color: #36d8c5;
 font-weight: 400;
 font-size: 4.9em;
 text-align: center;
 position: relative;
 top:25px;

}

  1. wiki-content #team-members #femsa-btc .bussinesscard .front .name {
 color: #0039a6;

}

  1. wiki-content #team-members #image-team .bussinesscard .front .name {
 color: #FFD82E;

}

  1. wiki-content #team-members .bussinesscard .front .name:after {
 content: ;
 position: static;
 top: 1.3em;
 width: 20%;
 left: 40%;
 right: 40%;
 height: 1px;
 background: #CC004D;

}

  1. wiki-content #team-members #image-team .bussinesscard .front .name:after {
 background: #FFD82E;

}

  1. wiki-content #team-members .bussinesscard .front .introduction {
 text-align: center;
 color: #CC004D;
 font-style: italic;
 font-size: 1.5em;

}

  1. wiki-content #team-members #team-assistants .bussinesscard .front .top .nametroduction .introduction {
 color: #36d8c5;
 font-style: italic;
 font-size: 1.5em;
 position: relative;
 margin-top: 5%;

}

  1. wiki-content #team-members #team-assistants .bussinesscard .front .top .nametroduction .mayor span{
 color: #36d8c5;
 font-size: 1.5em;
 display: inline-block;

}

  1. wiki-content #team-members #team-assistants .bussinesscard .front .top .nametroduction .mayor{
 left: 30px;
 position: relative;
 margin-left: 31.5%;
 font-style: italic;

}

  1. wiki-content #team-members #image-team .bussinesscard .front .introduction {
 color: #FFD82E;

}

  1. wiki-content #team-members .bussinesscard .front .description p{
 color: #CC004D;
 text-align: justify;
 margin-left: 1em;
 margin-right: 1em;
 font-weight: 300;
 font-size: 2em;

}

  1. wiki-content #team-members #image-team .bussinesscard .front .description p{
 color: #FFD82E;

}

  1. wiki-content #team-members .bussinesscard .front .contact {
 color: #CC004D;
 margin-left: 2em;
 font-weight: 300;
 font-size: 1.2em;

}

  1. wiki-content #team-members .bussinesscard .front .contact span {
 color: #CC004D;
 font-size: 1.7em;
 width: 1.3em;
 display: inline-block;

}

  1. wiki-content #team-members #image-team .bussinesscard .front .contact span {
 color: #FFD82E;

}

  1. wiki-content #team-members .bussinesscard .front .contact a {
 position: relative;
 bottom: .24em;

}

  1. wiki-content #team-members .bussinesscard .back {
 width: 100%;
 height: 100%;
 background: #fff;
 backface-visibility: hidden;
 position: static;

}

  1. wiki-content #team-members .tooltip {
 position: static;
 left: 1em;
 bottom: 1em;
 color: #fff;
 font-weight: 300;
 padding: .4em;
 background: #36d8c5;

}

/* HOVER ANIMATIONS */

  1. wiki-content #team-members .front .top .logo, .front .top, .front .top:after, .front .nametroduction, .front .contact, .front .description p {
 -moz-transition: 0.7s all ease-in-out;
 -o-transition: 0.7s all ease-in-out;
 -webkit-transition: 0.7s all ease-in-out;
 transition: 0.7s all ease-in-out;

}

  1. wiki-content #team-members .flip:hover .front .top .logo {
 margin-top: .28em;
 font-size: 1.3em;
 margin-left: .15em;
 -moz-transform: translateX(0);
 -ms-transform: translateX(0);
 -webkit-transform: translateX(0);
 transform: translateX(0);
 left: 0;

}

  1. wiki-content #team-members .flip:hover .front .top {
 height: 15%;

}

  1. wiki-content #team-members .flip:hover .front .top:after {
 width: 2em;
 height: 2em;
 bottom: 23.5em;

}