(54 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
@charset "UTF-8"; | @charset "UTF-8"; | ||
+ | |||
+ | |||
+ | |||
+ | |||
/*Navigation bar styling*/ | /*Navigation bar styling*/ | ||
Line 38: | Line 42: | ||
} | } | ||
+ | |||
+ | |||
+ | /*Side bar styling for Wet Lab page*/ | ||
+ | |||
+ | #sidenavbar { | ||
+ | position: fixed; | ||
+ | right: 40px; | ||
+ | top: 50%; | ||
+ | bottom: auto; | ||
+ | -webkit-transform: translateY(-50%); | ||
+ | -moz-transform: translateY(-50%); | ||
+ | -ms-transform: translateY(-50%); | ||
+ | -o-transform: translateY(-50%); | ||
+ | transform: translateY(-50%); | ||
+ | z-index: 1; | ||
+ | background: rgba(255,255,255,0); | ||
+ | } | ||
+ | #sidenavbar li { | ||
+ | text-align: right; | ||
+ | list-style-type: none !important; | ||
+ | } | ||
+ | #sidenavbar a { | ||
+ | display: inline-block; | ||
+ | /* prevent weird movements on hover when you use a CSS3 transformation - webkit browsers */ | ||
+ | -webkit-backface-visibility: hidden; | ||
+ | backface-visibility: hidden; | ||
+ | } | ||
+ | #sidenavbar a:after { | ||
+ | content: ""; | ||
+ | display: table; | ||
+ | clear: both; | ||
+ | } | ||
+ | #sidenavbar a span { | ||
+ | float: right; | ||
+ | display: inline-block; | ||
+ | -webkit-transform: scale(0.6); | ||
+ | -moz-transform: scale(0.6); | ||
+ | -ms-transform: scale(0.6); | ||
+ | -o-transform: scale(0.6); | ||
+ | transform: scale(0.6); | ||
+ | } | ||
+ | #sidenavbar a:hover span { | ||
+ | -webkit-transform: scale(1.2); | ||
+ | -moz-transform: scale(1.2); | ||
+ | -ms-transform: scale(1.2); | ||
+ | -o-transform: scale(1.2); | ||
+ | transform: scale(1.2); | ||
+ | } | ||
+ | |||
+ | #sidenavbar a:hover .cd-label { | ||
+ | opacity: 1; | ||
+ | } | ||
+ | #sidenavbar a.is-selected .cd-dot { | ||
+ | background-color: #388E3C; | ||
+ | } | ||
+ | #sidenavbar .cd-dot { | ||
+ | position: relative; | ||
+ | /* we set a top value in order to align the dot with the label. If you change label's font, you may need to change this top value*/ | ||
+ | top: 9px; | ||
+ | height: 18px; | ||
+ | width: 18px; | ||
+ | border-radius: 50%; | ||
+ | background-color: rgb(44, 166, 226); | ||
+ | -webkit-transition: -webkit-transform 0.2s, background-color 0.5s; | ||
+ | -moz-transition: -moz-transform 0.2s, background-color 0.5s; | ||
+ | transition: transform 0.2s, background-color 0.5s; | ||
+ | -webkit-transform-origin: 50% 50%; | ||
+ | -moz-transform-origin: 50% 50%; | ||
+ | -ms-transform-origin: 50% 50%; | ||
+ | -o-transform-origin: 50% 50%; | ||
+ | transform-origin: 50% 50%; | ||
+ | } | ||
+ | #sidenavbar .cd-label { | ||
+ | position: relative; | ||
+ | margin-right: 10px; | ||
+ | padding: .4em .5em; | ||
+ | color: rgb(44, 166, 226); | ||
+ | font-size: 14px; | ||
+ | font-size: 1.500rem; | ||
+ | -webkit-transition: -webkit-transform 0.2s, opacity 0.2s; | ||
+ | -moz-transition: -moz-transform 0.2s, opacity 0.2s; | ||
+ | transition: transform 0.2s, opacity 0.2s; | ||
+ | opacity: 0; | ||
+ | -webkit-transform-origin: 100% 50%; | ||
+ | -moz-transform-origin: 100% 50%; | ||
+ | -ms-transform-origin: 100% 50%; | ||
+ | -o-transform-origin: 100% 50%; | ||
+ | transform-origin: 100% 50%; | ||
+ | } | ||
+ | |||
/*Center the navbar elements with words*/ | /*Center the navbar elements with words*/ | ||
Line 44: | Line 138: | ||
} | } | ||
− | + | #topHeader{ | |
− | height | + | top: -50px; |
+ | font-size: 60px; | ||
+ | font-family: cabin sketch; | ||
+ | } | ||
+ | |||
+ | #navImage{ | ||
+ | height:100px; | ||
} | } | ||
Line 59: | Line 159: | ||
.topnav .icon { | .topnav .icon { | ||
display: none; | display: none; | ||
+ | } | ||
+ | |||
+ | /*Home header and page paragraph styling*/ | ||
+ | #homeH{ | ||
+ | font-family: 'Ubuntu', sans-serif; | ||
+ | font-size: 40px; | ||
+ | color: rgb(61, 209, 223); | ||
+ | } | ||
+ | |||
+ | #homeP{ | ||
+ | text-align: left; | ||
+ | font-family: arial; | ||
+ | font-size: 14px; | ||
+ | } | ||
+ | #fontp{ | ||
+ | text-align: left; | ||
+ | font-family: arial; | ||
+ | font-size: 16px; | ||
+ | |||
} | } | ||
Line 66: | Line 185: | ||
position: fixed; /* Fixed/sticky position */ | position: fixed; /* Fixed/sticky position */ | ||
/* Place the button at the bottom of the page */ | /* Place the button at the bottom of the page */ | ||
− | bottom: | + | bottom: -50px; |
− | + | left: 46%; | |
+ | width: 100px; | ||
+ | height: 80px; | ||
z-index: 99; /* Make sure it does not overlap */ | z-index: 99; /* Make sure it does not overlap */ | ||
border: none; /* Remove borders */ | border: none; /* Remove borders */ | ||
Line 74: | Line 195: | ||
color: white; /* Text color */ | color: white; /* Text color */ | ||
cursor: pointer; /* Add a mouse pointer on hover */ | cursor: pointer; /* Add a mouse pointer on hover */ | ||
− | padding: | + | padding-bottom: 60px; /* Some padding */ |
− | border-radius: | + | border-radius: 50%; /* Rounded corners */ |
} | } | ||
Line 81: | Line 202: | ||
background-color: #555; /* Add a dark-grey background on hover */ | background-color: #555; /* Add a dark-grey background on hover */ | ||
} | } | ||
− | |||
/*Image Cube animation settings*/ | /*Image Cube animation settings*/ | ||
Line 91: | Line 211: | ||
margin: auto; | margin: auto; | ||
cursor: default; | cursor: default; | ||
− | perspective: | + | perspective: 1200px; |
} | } | ||
Line 194: | Line 314: | ||
padding: 20px; | padding: 20px; | ||
} | } | ||
+ | |||
+ | /*Styling for the flip down button on the contact us page*/ | ||
+ | .ch-item-2 { | ||
+ | width: 350px; | ||
+ | height: 350px; | ||
+ | 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: 350px; | ||
+ | height: 350px; | ||
+ | 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; | ||
+ | padding-left: 30px; | ||
+ | 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); | ||
+ | } | ||
+ | |||
+ | /*DNA animation*/ | ||
+ | :root { | ||
+ | --bg-color: radial-gradient(circle at center, #ffffff, #cccccc); | ||
+ | --dot-color1: rgb(61, 209, 223); | ||
+ | --dot-color2: rgb(254, 167, 0); | ||
+ | } | ||
+ | |||
+ | |||
+ | .dna { | ||
+ | position:relative; | ||
+ | margin:auto; | ||
+ | width: 360px; | ||
+ | height: 70px; | ||
+ | perspective: 400px; | ||
+ | transform-style: preserve-3d; | ||
+ | } | ||
+ | |||
+ | .ele { | ||
+ | width: 1px; | ||
+ | height: 70px; | ||
+ | float: left; | ||
+ | margin: 0 8px; | ||
+ | border-left: 1px #B0B0B0 dashed; | ||
+ | position: relative; | ||
+ | transform: rotateX(-360deg); | ||
+ | animation: run 3.5s linear infinite; | ||
+ | } | ||
+ | .ele:before, .ele:after { | ||
+ | content: ''; | ||
+ | width: 10px; | ||
+ | height: 10px; | ||
+ | background: var(--dot-color1); | ||
+ | border-radius: 50%; | ||
+ | position: absolute; | ||
+ | left: 50%; | ||
+ | transform: translateX(-50%); | ||
+ | } | ||
+ | .ele:before { | ||
+ | top: -2px; | ||
+ | background: var(--dot-color2); | ||
+ | } | ||
+ | .ele:after { | ||
+ | bottom: -2px; | ||
+ | } | ||
+ | .ele:nth-of-type(1) { | ||
+ | animation-delay: -0.15s; | ||
+ | } | ||
+ | .ele:nth-of-type(2) { | ||
+ | animation-delay: -0.3s; | ||
+ | } | ||
+ | .ele:nth-of-type(3) { | ||
+ | animation-delay: -0.45s; | ||
+ | } | ||
+ | .ele:nth-of-type(4) { | ||
+ | animation-delay: -0.6s; | ||
+ | } | ||
+ | .ele:nth-of-type(5) { | ||
+ | animation-delay: -0.75s; | ||
+ | } | ||
+ | .ele:nth-of-type(6) { | ||
+ | animation-delay: -0.9s; | ||
+ | } | ||
+ | .ele:nth-of-type(7) { | ||
+ | animation-delay: -1.05s; | ||
+ | } | ||
+ | .ele:nth-of-type(8) { | ||
+ | animation-delay: -1.2s; | ||
+ | } | ||
+ | .ele:nth-of-type(9) { | ||
+ | animation-delay: -1.35s; | ||
+ | } | ||
+ | .ele:nth-of-type(10) { | ||
+ | animation-delay: -1.5s; | ||
+ | } | ||
+ | .ele:nth-of-type(11) { | ||
+ | animation-delay: -1.65s; | ||
+ | } | ||
+ | .ele:nth-of-type(12) { | ||
+ | animation-delay: -1.8s; | ||
+ | } | ||
+ | .ele:nth-of-type(13) { | ||
+ | animation-delay: -1.95s; | ||
+ | } | ||
+ | .ele:nth-of-type(14) { | ||
+ | animation-delay: -2.1s; | ||
+ | } | ||
+ | .ele:nth-of-type(15) { | ||
+ | animation-delay: -2.25s; | ||
+ | } | ||
+ | .ele:nth-of-type(16) { | ||
+ | animation-delay: -2.4s; | ||
+ | } | ||
+ | .ele:nth-of-type(17) { | ||
+ | animation-delay: -2.55s; | ||
+ | } | ||
+ | .ele:nth-of-type(18) { | ||
+ | animation-delay: -2.7s; | ||
+ | } | ||
+ | .ele:nth-of-type(19) { | ||
+ | animation-delay: -2.85s; | ||
+ | } | ||
+ | .ele:nth-of-type(20) { | ||
+ | animation-delay: -3s; | ||
+ | } | ||
+ | |||
+ | @keyframes run { | ||
+ | to { | ||
+ | transform: none; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /*======================================*/ | ||
Line 3,921: | Line 4,298: | ||
.img-rounded { | .img-rounded { | ||
− | border-radius: | + | border-radius: 12px; |
} | } | ||
Line 3,929: | Line 4,306: | ||
background-color: #fff; | background-color: #fff; | ||
border: 1px solid #ddd; | border: 1px solid #ddd; | ||
− | border-radius: | + | border-radius: 6px; |
-webkit-transition: all 0.2s ease-in-out; | -webkit-transition: all 0.2s ease-in-out; | ||
-o-transition: all 0.2s ease-in-out; | -o-transition: all 0.2s ease-in-out; | ||
Line 3,939: | Line 4,316: | ||
.img-circle { | .img-circle { | ||
− | border-radius: | + | border-radius: 80%; |
padding: 20px; | padding: 20px; | ||
Line 4,473: | Line 4,850: | ||
padding-left: 15px; | padding-left: 15px; | ||
padding-right: 15px; | padding-right: 15px; | ||
+ | padding-top:15px; | ||
} | } | ||
Line 6,218: | Line 6,596: | ||
background-color: #337ab7; | background-color: #337ab7; | ||
border-color: #2e6da4; | border-color: #2e6da4; | ||
+ | width: 350px; | ||
+ | height: 100px; | ||
} | } | ||
.btn-primary:focus, .btn-primary.focus { | .btn-primary:focus, .btn-primary.focus { | ||
Line 13,491: | Line 13,871: | ||
width: 100%; | width: 100%; | ||
position: relative; | position: relative; | ||
− | background: # | + | background: #000000; |
} | } | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
Line 13,498: | Line 13,878: | ||
} | } | ||
} | } | ||
− | #fh5co-footer h2, #fh5co-footer h3, #fh5co-footer h4 { | + | #fh5co-footer h2, #fh5co-footer h3, #fh5co-footer h4, #fh5co-footer p { |
color: #fff; | color: #fff; | ||
} | } |
Latest revision as of 23:59, 1 November 2017