Template:Team:Harvard BioDesign/CSS
From 2014.igem.org
(Difference between revisions)
Nlarusstone (Talk | contribs) (Created page with "<html> <head> <style type="text/css"> /*-------------------------------------------------*/ - →-------------------------------------------------: /*! normalize.css v3.0.0 | MIT ...") |
Nlarusstone (Talk | contribs) |
||
Line 8,331: | Line 8,331: | ||
+ | #stuck_container { | ||
+ | -webkit-transition: all 0.4s; | ||
+ | -moz-transition: all 0.4s; | ||
+ | -ms-transition: all 0.4s; | ||
+ | -o-transition: all 0.4s; | ||
+ | transition: all 0.4s; | ||
+ | } | ||
+ | .isStuck { | ||
+ | -webkit-transition: all 0.4s; | ||
+ | -moz-transition: all 0.4s; | ||
+ | -ms-transition: all 0.4s; | ||
+ | -o-transition: all 0.4s; | ||
+ | transition: all 0.4s; | ||
+ | background:none !important; | ||
+ | -webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,0.2); | ||
+ | box-shadow: 0 4px 5px 0 rgba(0,0,0,0.2); | ||
+ | } | ||
+ | .isStuck nav.tm_navbar { | ||
+ | |||
+ | -webkit-transition: all 0.4s; | ||
+ | -moz-transition: all 0.4s; | ||
+ | -ms-transition: all 0.4s; | ||
+ | -o-transition: all 0.4s; | ||
+ | transition: all 0.4s;; | ||
+ | } | ||
+ | .isStuck .menuBox { | ||
+ | |||
+ | -webkit-transition: all 0.4s; | ||
+ | -moz-transition: all 0.4s; | ||
+ | -ms-transition: all 0.4s; | ||
+ | -o-transition: all 0.4s; | ||
+ | transition: all 0.4s; | ||
+ | } | ||
+ | |||
+ | @media (max-width: 991px) { | ||
+ | .isStuck { | ||
+ | background: transparent !important; | ||
+ | } | ||
+ | #stuck_container { | ||
+ | position: relative !important; | ||
+ | box-shadow: none; | ||
+ | } | ||
+ | .pseudoStickyBlock { | ||
+ | height: 0 !important; | ||
+ | } | ||
+ | } | ||
</style> | </style> |
Revision as of 20:03, 17 October 2014