Team:CityU HK/team/advisors.css
From 2014.igem.org
(22 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
+ | <link href='http://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'> | ||
+ | |||
.container { | .container { | ||
max-width:500px; | max-width:500px; | ||
Line 4: | Line 6: | ||
margin-right:auto; | margin-right:auto; | ||
margin-top:10%; | margin-top:10%; | ||
+ | border: none; | ||
} | } | ||
Line 25: | Line 28: | ||
.service-details { | .service-details { | ||
width: 640px; | width: 640px; | ||
- | height: | + | height: 450px; |
/*height: 230px;*/ | /*height: 230px;*/ | ||
overflow: hidden; | overflow: hidden; | ||
position: relative; | position: relative; | ||
margin:10px; | margin:10px; | ||
+ | border: none; | ||
} | } | ||
Line 37: | Line 41: | ||
left: 0; | left: 0; | ||
height: inherit; | height: inherit; | ||
- | + | ||
height: 100%; | height: 100%; | ||
float: left; | float: left; | ||
transition: all 0.8s; | transition: all 0.8s; | ||
-moz-transition: all 0.8s; | -moz-transition: all 0.8s; | ||
+ | border: none; | ||
} | } | ||
Line 47: | Line 52: | ||
.service-details:hover img { | .service-details:hover img { | ||
/*opacity: 0.4 !important;*/ | /*opacity: 0.4 !important;*/ | ||
+ | border: none; | ||
} | } | ||
Line 53: | Line 59: | ||
margin: 0px; | margin: 0px; | ||
font-size: 25px; | font-size: 25px; | ||
- | + | font-weight:300; | |
- | + | font-family: 'Indie Flower', cursive; | |
+ | text-align: left; | ||
} | } | ||
Line 62: | Line 69: | ||
margin: 0px; | margin: 0px; | ||
font-size: 14px; | font-size: 14px; | ||
- | + | letter-spacing: 3px; | |
width: 90%; | width: 90%; | ||
font-family: "Open Sans"; | font-family: "Open Sans"; | ||
- | + | text-transform:uppercase; | |
border-bottom: 2px solid #000; | border-bottom: 2px solid #000; | ||
} | } | ||
Line 111: | Line 118: | ||
.service-details .service-text p { | .service-details .service-text p { | ||
- | padding: | + | padding:200px 0px 0px 20px; |
- | font-size: | + | font-size: 35px; |
font-family: "Open Sans"; | font-family: "Open Sans"; | ||
font-weight:700; | font-weight:700; | ||
Line 124: | Line 131: | ||
.service-details .service-text a , .service-white .service-text { | .service-details .service-text a , .service-white .service-text { | ||
padding: 0px 0px 0px 20px; | padding: 0px 0px 0px 20px; | ||
- | font-size: | + | font-size: 15px !important; |
color:#FF5A22 !important; | color:#FF5A22 !important; | ||
- | font-family: "Open Sans" !important; | + | /*font-family: "Open Sans" !important;*/ |
+ | font-family: 'Indie Flower', cursive !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
Line 142: | Line 150: | ||
.service-white p { | .service-white p { | ||
color: #000 !important; | color: #000 !important; | ||
+ | font-family: 'Indie Flower', cursive; | ||
} | } |
Latest revision as of 05:55, 16 October 2014
<link href='http://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'>
.container {
max-width:500px; margin-left:auto; margin-right:auto; margin-top:10%; border: none;
}
h1 {
font-family: "Open Sans", sans; font-weight:300; text-align:center; color:rgba(255,255,255,0.6)
}
h2 {
color:#2c3e52; font-family: "Open Sans", sans; font-size: 14px; text-align:center; font-weight:700; margin-bottom:50px;
}
.service-details { width: 640px; height: 450px; /*height: 230px;*/ overflow: hidden; position: relative; margin:10px;
border: none;
}
.service-details img { position: absolute; top: 0; left: 0; height: inherit;
height: 100%; float: left; transition: all 0.8s; -moz-transition: all 0.8s;
border: none;
}
.service-details:hover img { /*opacity: 0.4 !important;*/
border: none;
}
.service-details .service-hover-text h3 { padding: 0px; margin: 0px; font-size: 25px;
font-weight:300; font-family: 'Indie Flower', cursive; text-align: left;
}
.service-details .service-hover-text h4 { padding: 0px; padding-bottom: 13px; margin: 0px; font-size: 14px;
letter-spacing: 3px;
width: 90%; font-family: "Open Sans";
text-transform:uppercase;
border-bottom: 2px solid #000; }
.service-details .service-hover-text p { padding-top: 13px; font-size: 14px; line-height: 20px; font-family: "Open Sans"; }
.service-details .service-hover-text{
width: 50%;
height: 100%;
position: absolute;
top: 0%;
left: 50%;
padding: 3% 4%;
background: #D90E0E;
color: rgba(255,255,255,1);
/* display: none;*/
transition: all 0.5s ease-in-out;
-moz-transition: all 0.4s;
}
.service-details:hover .service-hover-text { display: block !important; color: rgba(255,255,255,1); background:rgba(217,14,14,0.85); left: 0px; top: 0px;
text-align:justify;
}
.service-details .service-text {
width: 50%;
height: inherit;
background: #000;
float: left;
position: absolute;
left: 50%;
}
.service-details .service-text p { padding:200px 0px 0px 20px; font-size: 35px; font-family: "Open Sans";
font-weight:700;
color: #fff; }
.service-details .service-text p span { font-family: "Open Sans" !important; }
.service-details .service-text a , .service-white .service-text { padding: 0px 0px 0px 20px; font-size: 15px !important; color:#FF5A22 !important; /*font-family: "Open Sans" !important;*/
font-family: 'Indie Flower', cursive !important;
text-decoration: none !important;
}
.service-details .service-text { float: left; }
.service-white { background: #eee !important; width: 50% !important; height: inherit !important; }
.service-white p { color: #000 !important;
font-family: 'Indie Flower', cursive;
}