Team:UCLA/anuved verma ucla2014 workspace/CSS

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<!--SPIDER TOP BUTTON-->
+
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
<style type="text/css">
<style type="text/css">
 +
 +
<!--SPIDER TOP BUTTON-->
.spiderbutton{
.spiderbutton{
position: fixed;
position: fixed;
Line 129: Line 131:
position:relative;
position:relative;
}
}
-
</style>
 
-
 
-
 
-
 
-
<!--NET ANIMATION-->
 
-
<style type="text/css">
 
-
//body {
 
-
//    background: white;
 
-
//}
 
-
//#c {
 
-
//    display: block;
 
-
//    margin: 20px auto 0;
 
-
//}
 
</style>
</style>
Line 170: Line 159:
overflow:hidden;
overflow:hidden;
margin:0px auto;
margin:0px auto;
-
background-image:url(loader.gif);
+
background-image:url("https://2014.igem.org/File:Loader.gif");
background-repeat:no-repeat;
background-repeat:no-repeat;
background-position:center;
background-position:center;
 +
position: relative;
 +
}
 +
.slider img{
 +
width:800px;
 +
height:350px;
 +
display:none;
 +
}
 +
.slider_nav{
 +
width:800px;
 +
margin:0 auto;
 +
position:relative;
 +
top:-200px;
 +
z-index:10;
}
}
.shadow{
.shadow{
-
background-image:url(slider-shadow.jpg);
+
background-image:url("https://2014.igem.org/File:Slider-shadow.jpg");
background-repeat:no-repeat;
background-repeat:no-repeat;
background-position:top;
background-position:top;
Line 182: Line 184:
margin:0px auto;
margin:0px auto;
}
}
-
.slider img{
+
 
-
width:800px;
+
#container {
-
height:350px;
+
    width: 100px;
-
display:none;
+
    height: 100px;
 +
    position: relative;
}
}
-
</style>
 
 +
#navi,
 +
#infoi {
 +
    width: 100%;
 +
    height: 100%;
 +
    position: absolute;
 +
    top: 0;
 +
    left: 0;
 +
}
 +
#infoi {
 +
    z-index: 10;
 +
}
<!--WIKI TEMPLATE FORMATTING-->
<!--WIKI TEMPLATE FORMATTING-->
-
<style type="text/css">
 
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear {display: none;} /*-- hides default wiki settings --*/
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear {display: none;} /*-- hides default wiki settings --*/
Line 243: Line 255:
height: 100%;
height: 100%;
border: 0px;
border: 0px;
-
background-color: none;
+
background-color: transparent;
margin: 0px;
margin: 0px;
padding: 0px;
padding: 0px;
Line 400: Line 412:
.annItem ul, .annItem li {padding: 0px; margin: 0px;}
.annItem ul, .annItem li {padding: 0px; margin: 0px;}
.annItem li {list-style: none; margin: 5px}
.annItem li {list-style: none; margin: 5px}
 +
 +
<!--TEXT STYLING-->
 +
hr.style-one {
 +
    border: 0;
 +
    height: 1px;
 +
    background: #333;
 +
    background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc);
 +
    background-image:    -moz-linear-gradient(left, #ccc, #333, #ccc);
 +
    background-image:    -ms-linear-gradient(left, #ccc, #333, #ccc);
 +
    background-image:      -o-linear-gradient(left, #ccc, #333, #ccc);
 +
}
 +
.style {
 +
    font-size: 30px;
 +
    font-family: 'Pacifico', cursive;
 +
}
 +
 +
<!--SPLASH PAGE-->
 +
.contentBorder {
 +
    border: 1px solid #AAAAAA;
 +
    -webkit-border-radius: 7px;
 +
    -moz-border-radius: 7px;
 +
    border-radius: 7px;
 +
    -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
 +
    -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
 +
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
 +
}
 +
.expandedContent {
 +
    margin-left: auto;
 +
    margin-right: auto;
 +
    width: 1400px;
 +
}
 +
.content {
 +
    font-family: Tahoma;
 +
    font-size: 12px;
 +
    color: #3D3D3D;
 +
    margin-bottom:60px;
 +
    background-color:white;
 +
    padding: 15px 60px;
 +
 +
    border: 1px solid #cccccc;
 +
    -webkit-border-radius: 10px;
 +
    -moz-border-radius: 10px;
 +
    border-radius: 10px;
 +
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
 +
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
 +
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
 +
}
 +
.boxgridMedium {
 +
        width: 298px;
 +
        height: 450px;
 +
        float: left;
 +
}
 +
.boxgrid {
 +
overflow: hidden;
 +
position: relative;
 +
}
 +
 +
.boxgrid img{
 +
position: absolute;
 +
top: 0;
 +
left: 0;
 +
border: 0;
 +
}
 +
.boxcaption{
 +
float: left;
 +
position: absolute;
 +
background: #000;
 +
width: 100%;
 +
opacity: .65;
 +
        padding: 8px;
 +
/* For IE 5-7 */
 +
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=65);
 +
/* For IE 8 */
 +
-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
 +
}
 +
.boxcaption:hover {
 +
  text-decoration: none;
 +
}
 +
h2.onBlack {
 +
  color:white;
 +
  margin-top: -5px;
 +
  border: none;
 +
  Font-size: 23px;
 +
  padding-bottom: 0px;
 +
  line-height:1em;
 +
}
 +
p.onBlack {
 +
  color:white;
 +
  margin-right:18px;
 +
  font-size: 12px;
 +
  font-weight: bold;
 +
}
 +
p.onBlackIntro {
 +
  font-size:14px;
 +
  font-style: italic;
 +
  color:white;
 +
  margin-right:20px;
 +
  margin-bottom:20px;
 +
}
</style>
</style>
 +
</html>
</html>

Revision as of 00:06, 19 September 2014