Team:UCLA/Template/CSS test

From 2014.igem.org

(Difference between revisions)
 
(189 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 16: Line 17:
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
-
background-color: black;
+
background-color: #383838;
border: 0 none;
border: 0 none;
height: 14px;
height: 14px;
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;
 +
}
 +
<!--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>
-
 
+
<!--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>
<style>
-
#menu li{
+
<!--CONTENT DIV-->
-
position:relative;
+
<!--SUMMARY TITLES-->
-
float:left;
+
<style type="text/css">
-
list-style:none;
+
.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;
}
}
-
#menu a{
+
.content_div_text{
-
color:white;
+
position: absolute;
-
background:black;
+
padding: 10 10 10 10;
-
 
+
top: 300px;
-
text-decoration:none;
+
left: 0;
-
width:98px;
+
background-color:black;
-
display:block;
+
opacity: 0.5;
-
text-align:center;
+
-
font-family:arial;
+
-
font-size:14px;
+
}
}
-
#menu{
+
.content_div_text h3 {
-
margin-left:auto;
+
font-family: Verdana;
-
margin-right:auto;
+
margin: 10px 10px 10px 10px;
-
width:900px;
+
color: white;
 +
opacity: 1;
}
}
-
#menu a:hover{
+
.content_div_text p {
-
background:deepskyblue;
+
font-family: Verdana;
 +
margin: 10px 10px 10px 10px;
 +
color: white;
}
}
 +
</style>
-
#menu li ul{
+
<!--SIDE MENU BAR-->
-
background:black;
+
<style type="text/css">
-
/* display:none; */
+
#side_menu{
-
position:absolute;
+
    position:fixed;
-
text-align:center;
+
    background-color:#550000;
-
top:25px;
+
    left:-110px;
-
        right:0px;
+
    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;
}
}
-
#menu li:hover ul{
+
#side_menu h3{
-
display:block;
+
    text-align:center;
-
}
+
    font-family:Verdana;
-
#dropdown_menu li ul li{
+
-
position:relative;
+
}
}
</style>
</style>
Line 258: Line 390:
-
 
-
<style type="text/css">
 
<!--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 318: Line 457:
}
}
</style>
</style>
 +
 +
<!--SLIDER-->
<!--SLIDER-->
Line 326: 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 338: Line 492:
margin:0px auto;
margin:0px auto;
}
}
-
.slider img{
 
-
width:800px;
 
-
height:350px;
 
-
display:none;
 
-
}
 
-
</style>
 
-
<!-- SAM'S NAVBAR EDIT SORRY -->
+
#container {
-
<style type = "text/css">
+
    width: 100px;
-
.sidebar-nav {
+
    height: 100px;
-
     padding: 9px 0;
+
     position: relative;
}
}
-
.dropdown-menu .sub-menu {
+
#navi,
-
     left: 100%;
+
#infoi {
 +
     width: 100%;
 +
    height: 100%;
     position: absolute;
     position: absolute;
     top: 0;
     top: 0;
-
     visibility: hidden;
+
     left: 0;
-
    margin-top: -1px;
+
}
}
-
.dropdown-menu li:hover .sub-menu {
+
#infoi {
-
     visibility: visible;
+
     z-index: 10;
}
}
 +
</style>
-
.dropdown:hover .dropdown-menu {
 
-
    display: block;
 
-
}
 
-
 
-
.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
 
-
    margin-top: 0;
 
-
}
 
-
 
-
.navbar .sub-menu:before {
 
-
    border-bottom: 7px solid transparent;
 
-
    border-left: none;
 
-
    border-right: 7px solid rgba(0, 0, 0, 0.2);
 
-
    border-top: 7px solid transparent;
 
-
    left: -7px;
 
-
    top: 10px;
 
-
}
 
-
.navbar .sub-menu:after {
 
-
    border-top: 6px solid transparent;
 
-
    border-left: none;
 
-
    border-right: 6px solid #fff;
 
-
    border-bottom: 6px solid transparent;
 
-
    left: 10px;
 
-
    top: 11px;
 
-
    left: -6px;
 
-
}
 
-
</style>
 
</html>
</html>

Latest revision as of 22:03, 16 September 2014