Template:Team:BGU Israel/style.css
From 2014.igem.org
(Difference between revisions)
Line 2,945: | Line 2,945: | ||
border: thin solid; border-radius: 8px; background: #5FA6B8; font-style: normal; font-weight: 700; font-size: 24px; font-family: Allan, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; vertical-align: middle; | border: thin solid; border-radius: 8px; background: #5FA6B8; font-style: normal; font-weight: 700; font-size: 24px; font-family: Allan, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; vertical-align: middle; | ||
opacity:0.5; | opacity:0.5; | ||
+ | } | ||
+ | |||
+ | /*home*/ | ||
+ | |||
+ | #home #top_doctor { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #home #main_nav | ||
+ | { | ||
+ | display: none; | ||
+ | } | ||
+ | #home_body { | ||
+ | width: 100%; | ||
+ | max-width: 1600px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | #home_body { | ||
+ | width: 100%; | ||
+ | max-width: 1600px; | ||
+ | overflow: hidden; | ||
+ | background-color: #EFF5F8; | ||
+ | } | ||
+ | .home_div{ | ||
+ | overflow:hidden; | ||
+ | border-radius:8px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | /* entire container, keeps perspective */ | ||
+ | .flip-container { | ||
+ | perspective: 1000; | ||
+ | } | ||
+ | /* flip the pane when hovered */ | ||
+ | .flip-container:hover .flipper, .flip-container.hover .flipper { | ||
+ | transform: rotateY(180deg); | ||
+ | } | ||
+ | |||
+ | .flip-container, .front, .back { | ||
+ | /*width: 320px; | ||
+ | height: 480px;*/ | ||
+ | border-radius:8px; | ||
+ | overflow:hidden; | ||
+ | } | ||
+ | |||
+ | /* flip speed goes here */ | ||
+ | .flipper { | ||
+ | transition: 0.6s; | ||
+ | transform-style: preserve-3d; | ||
+ | |||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | /* hide back of pane during swap */ | ||
+ | .front, .back { | ||
+ | backface-visibility: hidden; | ||
+ | |||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | /* front pane, placed above back */ | ||
+ | .front { | ||
+ | z-index: 2; | ||
+ | /* for firefox 31 */ | ||
+ | transform: rotateY(0deg); | ||
+ | } | ||
+ | |||
+ | /* back, initially hidden pane */ | ||
+ | .back { | ||
+ | transform: rotateY(180deg); | ||
+ | background-color:#EFF5F8; | ||
+ | font-family: cambria; | ||
+ | font-size: 20px; | ||
+ | font-style: italic; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 14:25, 16 October 2014