Team:UCLA/Template/CSS test

From 2014.igem.org

(Difference between revisions)
 
(63 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
 +
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
<style type="text/css">
<style type="text/css">
<!--WIKI TEMPLATE FORMATTING-->
<!--WIKI TEMPLATE FORMATTING-->
Line 209: Line 210:
.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;
 +
}
-
#menu li{
+
<!--SPLASH PAGE-->
-
position:relative;
+
.contentBorder {
-
float:left;
+
    border: 1px solid #AAAAAA;
-
list-style:none;
+
    -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);
}
}
-
#menu a{
+
.expandedContent {
-
color:white;
+
    margin-left: auto;
-
background:black;
+
    margin-right: auto;
 +
    width: 1400px;
 +
}
 +
.content {
 +
    font-family: Tahoma;
 +
    font-size: 12px;
 +
    color: #3D3D3D;
 +
    margin-bottom:60px;
 +
    background-color:white;
 +
    padding: 15px 60px;
-
text-decoration:none;
+
    border: 1px solid #cccccc;
-
width:98px;
+
    -webkit-border-radius: 10px;
-
display:block;
+
    -moz-border-radius: 10px;
-
text-align:center;
+
    border-radius: 10px;
-
font-family:arial;
+
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
-
font-size:14px;
+
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
 +
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
}
}
-
#menu{
+
.boxgridMedium {
-
margin-left:auto;
+
        width: 298px;
-
margin-right:auto;
+
        height: 450px;
-
width:900px;
+
        float: left;
}
}
-
#menu a:hover{
+
.boxgrid {
-
background:deepskyblue;
+
overflow: hidden;
 +
position: relative;
}
}
-
#menu li ul{
+
.boxgrid img{
-
background:black;
+
position: absolute;
-
/* display:none; */
+
top: 0;
-
position:absolute;
+
left: 0;
-
text-align:center;
+
border: 0;
-
top:25px;
+
-
        right:0px;
+
}
}
-
#menu li:hover ul{
+
.boxcaption{
-
display:block;
+
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)";
}
}
-
#dropdown_menu li ul li{
+
.boxcaption:hover {
-
position:relative;
+
  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>
 +
 +
<!--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-->
<!--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{
#menu li{
-
position:relative;
+
    position:relative;
-
float:left;
+
    float:left;
-
list-style:none;
+
    list-style:none;
}
}
#menu a{
#menu a{
-
color:white;
+
    color:white;
-
background:black;
+
    padding:18px 0 15px 0;
-
padding:5px;
+
    text-decoration:none;
-
text-decoration:none;
+
    width:98px;
-
width:98px;
+
    display:block;
-
display:block;
+
    text-align:center;
-
text-align:center;
+
    font-family:arial;
-
font-family:arial;
+
    font-size:14px;
-
font-size:14px;
+
    border-bottom:thin solid #FFB7AA;
}
}
#menu{
#menu{
-
margin-left:auto;
+
    margin-left:auto;
-
margin-right:auto;
+
    margin-right:auto;
-
width:900px;
+
    width:900px;
}
}
#menu a:hover{
#menu a:hover{
-
background:deepskyblue;
+
    background:#AA4B39;
}
}
-
 
#menu li ul{
#menu li ul{
-
background:black;
+
        background:#550D00;
/* display:none; */
/* display:none; */
position:absolute;
position:absolute;
text-align:center;
text-align:center;
-
top:25px;
+
top:50px;
         right:0px;
         right:0px;
}
}
Line 290: Line 439:
position:relative;
position:relative;
}
}
 +
</style>
<!--SIDE SPIDER ANIMATION-->
<!--SIDE SPIDER ANIMATION-->
 +
<style type="text/css">
#spider {
#spider {
     position:relative; //or whatever you need
     position:relative; //or whatever you need
Line 305: Line 456:
     opacity:1;
     opacity:1;
}
}
 +
</style>
 +
 +
<!--SLIDER-->
<!--SLIDER-->
 +
<style type="text/css">
.slider{
.slider{
width:800px;
width:800px;
Line 312: Line 467:
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 323: Line 491:
height:144px;
height:144px;
margin:0px auto;
margin:0px auto;
-
}
 
-
.slider img{
 
-
width:800px;
 
-
height:350px;
 
-
display:none;
 
}
}
-
 
+
#container {
-
<!--BACK TO TOP BUTTON-->
+
    width: 100px;
-
#bringTop {
+
    height: 100px;
-
position: fixed;
+
    position: relative;
-
right: 0;
+
-
bottom: 0;
+
-
height: 35px;
+
-
margin-bottom: 20px;
+
}
}
-
.scroll-top-wrapper {
+
#navi,
-
    position: fixed;
+
#infoi {
-
    opacity: 0;
+
     width: 100%;
-
    visibility: hidden;
+
    height: 100%;
-
    overflow: hidden;
+
    position: absolute;
-
    text-align: center;
+
    top: 0;
-
    z-index: 99999999;
+
    left: 0;
-
    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;
+
-
}
+
-
 
+
-
.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;
+
}
}
-
<!--HR STYLE-->
+
#infoi {
-
hr { color: #7FA423;
+
    z-index: 10;
-
background-color: #7FA423;
+
-
height: 2px;
+
}
}
</style>
</style>
</html>
</html>

Latest revision as of 22:03, 16 September 2014