Team:UCLA/Template/CSS test

From 2014.igem.org

(Difference between revisions)
 
(13 intermediate revisions not shown)
Line 209: Line 209:
.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}
-
 
-
<!--SIDE MENU BAR-->
 
-
#side_menu{
 
-
    position:fixed;
 
-
    background-color:#550000;
 
-
    left:-110px;
 
-
    width:30px;
 
-
    height:500px;
 
-
    padding: 10px 40px;
 
-
    border: 2px solid #D46A6A;
 
-
    /*border-radius: 25px;*/
 
-
    margin-bottom: 20px;
 
-
    margin-top: 20px;
 
-
    top:10%;
 
-
    z-index:95;
 
-
}
 
-
#side_menu h3{
 
-
    text-align:center;
 
-
    font-family:Verdana;
 
-
}
 
-
 
-
 
-
 
-
<!--TOP MENU BAR-->
 
-
#top_menu{
 
-
    position:fixed;
 
-
    padding: 12px 0 0 0;
 
-
    width:100%;
 
-
    left:0;
 
-
    top:0;
 
-
    background:#550D00;
 
-
    z-index:100;
 
-
}
 
-
#menu li{
 
-
    position:relative;
 
-
    float:left;
 
-
    list-style:none;
 
-
}
 
-
#menu a{
 
-
    color:white;
 
-
    padding:18px 0 15px 0;
 
-
    text-decoration:none;
 
-
    width:98px;
 
-
    display:block;
 
-
    text-align:center;
 
-
    font-family:arial;
 
-
    font-size:14px;
 
-
    border-bottom:thin solid #FFB7AA;
 
-
}
 
-
#menu{
 
-
    margin-left:auto;
 
-
    margin-right:auto;
 
-
    width:900px;
 
-
}
 
-
#menu a:hover{
 
-
    background:#AA4B39;
 
-
}
 
-
#menu li ul{
 
-
        background:#550D00;
 
-
/* display:none; */
 
-
position:absolute;
 
-
text-align:center;
 
-
top:50px;
 
-
        right:0px;
 
-
}
 
-
#menu li:hover ul{
 
-
display:block;
 
-
}
 
-
#dropdown_menu li ul li{
 
-
position:relative;
 
-
}
 
-
 
-
<!--SIDE SPIDER ANIMATION-->
 
-
#spider {
 
-
    position:relative; //or whatever you need
 
-
    display:block;
 
-
    top:0px;
 
-
    left:500px;
 
-
}
 
-
#spider img {
 
-
    position:absolute;
 
-
    opacity:0;
 
-
}
 
-
#spider #first {
 
-
    opacity:1;
 
-
}
 
-
 
-
<!--SLIDER-->
 
-
.slider{
 
-
width:800px;
 
-
height:350px;
 
-
overflow:hidden;
 
-
margin:0px auto;
 
-
background-image:url(loader.gif);
 
-
background-repeat:no-repeat;
 
-
background-position:center;
 
-
}
 
-
.shadow{
 
-
background-image:url(slider-shadow.jpg);
 
-
background-repeat:no-repeat;
 
-
background-position:top;
 
-
width:864px;
 
-
height:144px;
 
-
margin:0px auto;
 
-
}
 
-
.slider img{
 
-
width:800px;
 
-
height:350px;
 
-
display:none;
 
-
}
 
-
 
-
 
-
<!--SPIDER TOP BUTTON-->
 
-
.spiderbutton{
 
-
position: fixed;
 
-
top: 550px;
 
-
left: 1200px;
 
-
z-index: 0;
 
-
}
 
-
.spiderline{
 
-
position: fixed;
 
-
left:896px;
 
-
top: -95px;
 
-
z-index: -1;
 
-
}
 
-
.spiderweb{
 
-
position: fixed;
 
-
right: 0px;
 
-
top: 0px;
 
-
z-index:1;
 
-
}
 
<!--TEXT STYLING-->
<!--TEXT STYLING-->
Line 439: Line 308:
   margin-bottom:20px;
   margin-bottom:20px;
}
}
 +
</style>
 +
<!--SPIDER TOP BUTTON-->
 +
<style type="text/css">
 +
.spiderbutton{
 +
position: fixed;
 +
top: 550px;
 +
left: 1200px;
 +
z-index: 0;
 +
}
 +
.spiderline{
 +
position: fixed;
 +
left:896px;
 +
top: -95px;
 +
z-index: -1;
 +
}
 +
.spiderweb{
 +
position: fixed;
 +
right: 0px;
 +
top: 0px;
 +
z-index:1;
 +
}
 +
<style>
<!--CONTENT DIV-->
<!--CONTENT DIV-->
<!--SUMMARY TITLES-->
<!--SUMMARY TITLES-->
 +
<style type="text/css">
.content_div_container{
.content_div_container{
         background-color:blue;
         background-color:blue;
Line 473: Line 365:
}
}
</style>
</style>
 +
 +
<!--SIDE MENU BAR-->
 +
<style type="text/css">
 +
#side_menu{
 +
    position:fixed;
 +
    background-color:#550000;
 +
    left:-110px;
 +
    width:30px;
 +
    height:500px;
 +
    padding: 10px 40px;
 +
    border: 2px solid #D46A6A;
 +
    /*border-radius: 25px;*/
 +
    margin-bottom: 20px;
 +
    margin-top: 20px;
 +
    top:10%;
 +
    z-index:95;
 +
}
 +
#side_menu h3{
 +
    text-align:center;
 +
    font-family:Verdana;
 +
}
 +
</style>
 +
 +
 +
 +
<!--TOP MENU BAR-->
 +
<style type="text/css">
 +
#top_menu{
 +
    position:fixed;
 +
    padding: 12px 0 0 0;
 +
    width:100%;
 +
    left:0;
 +
    top:0;
 +
    background:#550D00;
 +
    z-index:100;
 +
}
 +
#menu li{
 +
    position:relative;
 +
    float:left;
 +
    list-style:none;
 +
}
 +
#menu a{
 +
    color:white;
 +
    padding:18px 0 15px 0;
 +
    text-decoration:none;
 +
    width:98px;
 +
    display:block;
 +
    text-align:center;
 +
    font-family:arial;
 +
    font-size:14px;
 +
    border-bottom:thin solid #FFB7AA;
 +
}
 +
#menu{
 +
    margin-left:auto;
 +
    margin-right:auto;
 +
    width:900px;
 +
}
 +
#menu a:hover{
 +
    background:#AA4B39;
 +
}
 +
#menu li ul{
 +
        background:#550D00;
 +
/* display:none; */
 +
position:absolute;
 +
text-align:center;
 +
top:50px;
 +
        right:0px;
 +
}
 +
#menu li:hover ul{
 +
display:block;
 +
}
 +
#dropdown_menu li ul li{
 +
position:relative;
 +
}
 +
</style>
 +
 +
<!--SIDE SPIDER ANIMATION-->
 +
<style type="text/css">
 +
#spider {
 +
    position:relative; //or whatever you need
 +
    display:block;
 +
    top:0px;
 +
    left:500px;
 +
}
 +
#spider img {
 +
    position:absolute;
 +
    opacity:0;
 +
}
 +
#spider #first {
 +
    opacity:1;
 +
}
 +
</style>
 +
 +
 +
 +
<!--SLIDER-->
 +
<style type="text/css">
 +
.slider{
 +
width:800px;
 +
height:350px;
 +
overflow:hidden;
 +
margin:0px auto;
 +
background-image:url("https://2014.igem.org/File:Loader.gif");
 +
background-repeat:no-repeat;
 +
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{
 +
background-image:url("https://2014.igem.org/File:Slider-shadow.jpg");
 +
background-repeat:no-repeat;
 +
background-position:top;
 +
width:864px;
 +
height:144px;
 +
margin:0px auto;
 +
}
 +
 +
#container {
 +
    width: 100px;
 +
    height: 100px;
 +
    position: relative;
 +
}
 +
 +
#navi,
 +
#infoi {
 +
    width: 100%;
 +
    height: 100%;
 +
    position: absolute;
 +
    top: 0;
 +
    left: 0;
 +
}
 +
 +
#infoi {
 +
    z-index: 10;
 +
}
 +
</style>
 +
</html>
</html>

Latest revision as of 22:03, 16 September 2014