Team:UCLA/Template/CSS test

From 2014.igem.org

(Difference between revisions)
 
(23 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}
-
 
-
 
-
#menu li{
 
-
position:relative;
 
-
float:left;
 
-
list-style:none;
 
-
}
 
-
#menu a{
 
-
color:white;
 
-
background:black;
 
-
 
-
text-decoration:none;
 
-
width:98px;
 
-
display:block;
 
-
text-align:center;
 
-
font-family:arial;
 
-
font-size:14px;
 
-
}
 
-
#menu{
 
-
margin-left:auto;
 
-
margin-right:auto;
 
-
width:900px;
 
-
}
 
-
#menu a:hover{
 
-
background:deepskyblue;
 
-
}
 
-
 
-
#menu li ul{
 
-
background:black;
 
-
/* display:none; */
 
-
position:absolute;
 
-
text-align:center;
 
-
top:25px;
 
-
        right:0px;
 
-
}
 
-
#menu li:hover ul{
 
-
display:block;
 
-
}
 
-
#dropdown_menu li ul li{
 
-
position:relative;
 
-
}
 
-
 
-
<!--TOP MENU BAR-->
 
-
#menu li{
 
-
position:relative;
 
-
float:left;
 
-
list-style:none;
 
-
}
 
-
#menu a{
 
-
color:white;
 
-
background:black;
 
-
padding:5px;
 
-
text-decoration:none;
 
-
width:98px;
 
-
display:block;
 
-
text-align:center;
 
-
font-family:arial;
 
-
font-size:14px;
 
-
}
 
-
#menu{
 
-
margin-left:auto;
 
-
margin-right:auto;
 
-
width:900px;
 
-
}
 
-
#menu a:hover{
 
-
background:deepskyblue;
 
-
}
 
-
 
-
#menu li ul{
 
-
background:black;
 
-
/* display:none; */
 
-
position:absolute;
 
-
text-align:center;
 
-
top:25px;
 
-
        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;
 
-
}
 
-
 
-
 
-
<!--BACK TO TOP BUTTON-->
 
-
#bringTop {
 
-
position: fixed;
 
-
right: 0;
 
-
bottom: 0;
 
-
height: 35px;
 
-
margin-bottom: 20px;
 
-
}
 
-
 
-
.scroll-top-wrapper {
 
-
    position: fixed;
 
-
    opacity: 0;
 
-
    visibility: hidden;
 
-
    overflow: hidden;
 
-
    text-align: center;
 
-
    z-index: 99999999;
 
-
    background-color: transparent;
 
-
    color: #555555;
 
-
opacity: 0.4;
 
-
    width: 40px;
 
-
    height: 40px;
 
-
    line-height: 37.5px;
 
-
    right: 30px;
 
-
    bottom: 30px;
 
-
    padding-top: 2px;
 
-
border: 1px solid gray;
 
-
    border-top-left-radius:8px;
 
-
    border-top-right-radius: 8px;
 
-
    border-bottom-right-radius: 8px;
 
-
    border-bottom-left-radius: 8px;
 
-
    -webkit-transition: all 0.4s ease-in-out;
 
-
    -moz-transition: all 0.4s ease-in-out;
 
-
    -ms-transition: all 0.4s ease-in-out;
 
-
    -o-transition: all 0.4s ease-in-out;
 
-
    transition: all 0.4s ease-in-out;
 
-
}
 
-
 
-
.scroll-top-wrapper:hover {
 
-
    background-color: #333333;
 
-
color: #eeeeee;
 
-
border:none;
 
-
opacity: 0.8;
 
-
line-height: 37.5px;
 
-
    right: 27.05px;
 
-
    bottom: 27.5px;
 
-
    padding-top: 2.5px;
 
-
width: 45px;
 
-
    height: 43px;
 
-
}
 
-
 
-
.scroll-top-wrapper.show {
 
-
    visibility:visible;
 
-
    cursor:pointer;
 
-
 
-
}
 
-
 
-
.scroll-top-wrapper i.fa {
 
-
    line-height: inherit;
 
-
}
 
-
 
-
#wrap {
 
-
  min-height: 100%;
 
-
  height: auto !important;
 
-
  height: 100%;
 
-
  margin: 0 auto -50px;
 
-
  padding: 0 0 50px;
 
-
}
 
-
</style>
 
-
 
-
 
-
<!--SLIDING SIDE BAR-->
 
-
<style>
 
-
#wrapper {
 
-
  padding-left: 0px;
 
-
  transition: all 0.4s ease 0s;
 
-
}
 
-
 
-
#sidebar-wrapper {
 
-
  margin-left: -250px;
 
-
  left: 0px;
 
-
  width: 250px;
 
-
  background: #000;
 
-
  position: fixed;
 
-
  height: 100%;
 
-
  overflow-y: auto;
 
-
  z-index: 1000;
 
-
  transition: all 0.4s ease 0s;
 
-
}
 
-
 
-
#wrapper.active {
 
-
  padding-left: 250px;
 
-
}
 
-
 
-
#wrapper.active #sidebar-wrapper {
 
-
  left: 250px;
 
-
}
 
-
 
-
#page-content-wrapper {
 
-
  width: 100%;
 
-
}
 
-
 
-
 
-
 
-
.sidebar-nav {
 
-
  position: absolute;
 
-
  top: 0;
 
-
  width: 250px;
 
-
  list-style: none;
 
-
  margin: 0;
 
-
  padding: 0;
 
-
}
 
-
 
-
.sidebar-nav li {
 
-
  line-height: 40px;
 
-
  text-indent: 20px;
 
-
}
 
-
 
-
.sidebar-nav li a {
 
-
  color: #999999;
 
-
  display: block;
 
-
  text-decoration: none;
 
-
  padding-left: 60px;
 
-
}
 
-
 
-
.sidebar-nav li a span:before {
 
-
  position: absolute;
 
-
  left: 0;
 
-
  color: #41484c;
 
-
  text-align: center;
 
-
  width: 20px;
 
-
  line-height: 18px;
 
-
}
 
-
 
-
.sidebar-nav li a:hover,
 
-
.sidebar-nav li.active {
 
-
  color: #fff;
 
-
  background: rgba(255,255,255,0.2);
 
-
  text-decoration: none;
 
-
}
 
-
 
-
.sidebar-nav li a:active,
 
-
.sidebar-nav li a:focus {
 
-
  text-decoration: none;
 
-
}
 
-
 
-
.sidebar-nav > .sidebar-brand {
 
-
  height: 65px;
 
-
  line-height: 60px;
 
-
  font-size: 18px;
 
-
}
 
-
 
-
.sidebar-nav > .sidebar-brand a {
 
-
  color: #999999;
 
-
}
 
-
 
-
.sidebar-nav > .sidebar-brand a:hover {
 
-
  color: #fff;
 
-
  background: none;
 
-
}
 
-
 
-
 
-
 
-
.content-header {
 
-
  height: 65px;
 
-
  line-height: 65px;
 
-
  position: fixed;
 
-
  z-index: 999999;
 
-
}
 
-
 
-
.content-header h1 {
 
-
  margin: 0;
 
-
  margin-left: 20px;
 
-
  line-height: 65px;
 
-
  display: inline-block;
 
-
}
 
-
 
-
#menu-toggle {
 
-
    text-decoration: none;
 
-
}
 
-
 
-
.btn-menu {
 
-
  color: #000;
 
-
}
 
-
 
-
.inset {
 
-
  padding: 20px;
 
-
}
 
-
</style>
 
-
 
-
<!--BLURB BOX STYLING-->
 
-
<style>
 
-
section {
 
-
  position: relative;
 
-
  margin-top: 20px;
 
-
  margin-bottom: 20px;
 
-
  background-color: #96a5be;
 
-
  height:90px;
 
-
  width:950px;
 
-
  margin-left:auto;
 
-
  margin-right:auto;
 
-
  padding-right:10px;
 
-
  font-family: 'Open Sans Condensed', sans-serif;
 
-
}
 
-
section:last-child {
 
-
  margin-bottom: 0;
 
-
}
 
-
section:before, section:after {
 
-
  display: block;
 
-
  position: absolute;
 
-
  width: 40px;
 
-
  height: 40px;
 
-
  top: 0;
 
-
  right: 0;
 
-
  content: "";
 
-
}
 
-
section:before {
 
-
  border-top: solid 20px #fff;
 
-
  border-right: solid 20px #fff;
 
-
  border-left: solid 20px transparent;
 
-
  border-bottom: solid 20px transparent;
 
-
}
 
-
section:after {
 
-
 
-
  border-bottom: solid 20px #5b7093;
 
-
  border-left: solid 20px #5b7093;
 
-
  border-right: solid 20px transparent;
 
-
  border-top: solid 20px transparent;
 
-
}
 
-
</style>
 
<!--TEXT STYLING-->
<!--TEXT STYLING-->
-
<style>
 
hr.style-one {
hr.style-one {
     border: 0;
     border: 0;
Line 577: Line 224:
     font-family: 'Pacifico', cursive;
     font-family: 'Pacifico', cursive;
}
}
-
</style>
 
<!--SPLASH PAGE-->
<!--SPLASH PAGE-->
-
<style>
 
.contentBorder {
.contentBorder {
     border: 1px solid #AAAAAA;
     border: 1px solid #AAAAAA;
Line 664: Line 309:
}
}
</style>
</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-->
 +
<!--SUMMARY TITLES-->
 +
<style type="text/css">
 +
.content_div_container{
 +
        background-color:blue;
 +
position: fixed;
 +
display:inline-block;
 +
border: 2px solid #CCCCB2;
 +
border-radius: 10px;
 +
margin: 20px 20px 20px 20px;
 +
overflow:hidden;
 +
height: 400px;
 +
        width: 400px;
 +
}
 +
.content_div_text{
 +
position: absolute;
 +
padding: 10 10 10 10;
 +
top: 300px;
 +
left: 0;
 +
background-color:black;
 +
opacity: 0.5;
 +
}
 +
.content_div_text h3 {
 +
font-family: Verdana;
 +
margin: 10px 10px 10px 10px;
 +
color: white;
 +
opacity: 1;
 +
}
 +
.content_div_text p {
 +
font-family: Verdana;
 +
margin: 10px 10px 10px 10px;
 +
color: white;
 +
}
 +
</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