Team:Groningen/style.css

From 2012.igem.org

(Difference between revisions)
 
(33 intermediate revisions not shown)
Line 15: Line 15:
.expand-down  
.expand-down  
{
{
-
    background-position: center center;
+
 
     font-family: Arial,Helvetica,sans-serif;
     font-family: Arial,Helvetica,sans-serif;
     line-height: normal;
     line-height: normal;
     margin-bottom: 30px;
     margin-bottom: 30px;
-
    margin-left: 50px;
+
 
-
     margin-top: 10px;
+
     margin-top: 0px;
-
    width: 900px;
+
z-index:1;
}
}
.expand-down * {
.expand-down * {
-
   margin: 5;
+
   margin: 0px;
   padding: 0;
   padding: 0;
 +
z-index:1;
 +
}
}
.expand-down ul {
.expand-down ul {
   padding-top:60px;
   padding-top:60px;
-
  margin-left:10px;
+
z-index:1;
 +
 
}
}
.expand-down ul li {
.expand-down ul li {
-
  float:left;
+
 
   list-style-type:none;
   list-style-type:none;
 +
z-index:1;
}
}
.expand-down ul li a {
.expand-down ul li a {
text-decoration:none;
text-decoration:none;
 +
z-index:1;
}
}
.expand-down ul li a img {
.expand-down ul li a img {
Line 42: Line 47:
   height:80px;
   height:80px;
   border:none;
   border:none;
 +
z-index:1;
}
}
.expand-down ul li a span {
.expand-down ul li a span {
   display:none;
   display:none;
 +
z-index:1;
}
}
.expand-down ul li:hover a span {
.expand-down ul li:hover a span {
Line 51: Line 58:
   text-align:center;
   text-align:center;
   color:#fff;
   color:#fff;
 +
z-index:1;
}
}
.expand-down ul li:hover a img {
.expand-down ul li:hover a img {
-
   width:90px;
+
   width:80px;
-
   height:90px;
+
   height:82px;
 +
z-index:1;
}
}
.expand-down ul li:hover + li a img {
.expand-down ul li:hover + li a img {
-
   width:60px;
+
   width:80px;
-
   height:60px;
+
   height:82px;
 +
z-index:1;
}
}
.expand-down ul li:hover + li + li a img {
.expand-down ul li:hover + li + li a img {
-
   width:55px;
+
   width:80px;
-
   height:55px;
+
   height:82px;
 +
z-index:1;
 +
 
}
}
#image{
#image{
-
   margin:90px 90px;
+
   margin:80px 82px;
}
}
-
<head>
 
-
<style>
 
-
#navigation {
 
-
margin: 0;
 
-
padding: 0 0em;
 
-
height: 2em;
 
-
list-style: none;
 
-
}
 
-
 
-
#navigation > li {
 
-
float: left;
 
-
height: 100%;
 
-
margin-right: 0.3em;
 
-
padding: 0 0em;
 
-
}
 
-
 
-
#navigation > li > a {
 
-
float: left;
 
-
height: 100%;
 
-
color: #00;
 
-
text-decoration: none;
 
-
line-height: 3;
 
-
font-weight: bold;
 
-
text-transform: uppercase;
 
-
}
 
-
 
-
#navigation > li > a:hover {
 
-
color: Black;
 
-
text-decoration: underline;
 
-
}
 
-
 
-
#navigation > li.sub {
 
-
position: relative;
 
-
}
 
-
 
-
#navigation > li.sub ul {
 
-
width: 12em;
 
-
margin: 0;
 
-
padding: 0.1em 0;
 
-
list-style: none;
 
-
background: #000;
 
-
position: absolute;
 
-
top: -1000em;
 
-
}
 
-
 
-
#navigation > li.sub ul li {
 
-
width: 90%;
 
-
 
-
}
 
-
 
-
#navigation > li.sub ul li a {
 
-
height: 100%;
 
-
display: block;
 
-
padding: 0.4em;
 
-
color: #fff;
 
-
font-weight: bold;
 
-
text-decoration: none;
 
-
}
 
-
 
-
#navigation > li.sub ul li a:hover {
 
-
background: #c60;
 
-
text-decoration: underline;
 
-
}
 
-
 
-
#navigation > li.sub:hover ul {
 
-
top: 2em;
 
-
}
 
-
</style>
 
-
</head>
 
-
 
-
.bigcog
 
-
{
 
-
    background-image:url(https://static.igem.org/mediawiki/2012/b/b6/Groningen2012_AD_20120802_BigCog.png);
 
-
    height: 100px;
 
-
    width: 100px;
 
-
    opacity: 40%;
 
-
    top: 25%;
 
-
    border: none;
 
-
    z-index: 0;
 
-
}
 
-
.smallcog
 
-
{
 
-
    background-image:url(https://static.igem.org/mediawiki/2012/a/ad/Groningen2012_AD_20120802_SmallCog.png);
 
-
    height: 37px;
 
-
    width: 36px;
 
-
    opacity: 40%;
 
-
    top: 37.5%;
 
-
    border: none;
 
-
    z-index: 0;
 
-
}
 
#windmillarms
#windmillarms
{
{

Latest revision as of 13:21, 14 August 2012

/* Ismael-

Don't worry, the previous style.css has been moved to Team:Groningen/styletest.css. I wanted to play around with the menu elements for a bit. You're right, the menu image is too narrow. The options need to be spaced further apart. There isn't enough space in between for the little cogs.

-Jon

  • /

/*Header*/

/*test the menubar ID_8-8-2012-16:08*/

  1. expand

.expand-down {

   font-family: Arial,Helvetica,sans-serif;
   line-height: normal;
   margin-bottom: 30px;
   margin-top: 0px;

z-index:1; } .expand-down * {

 margin: 0px;
 padding: 0;

z-index:1;

} .expand-down ul {

 padding-top:60px;

z-index:1;

} .expand-down ul li {

 list-style-type:none;

z-index:1; } .expand-down ul li a { text-decoration:none; z-index:1; } .expand-down ul li a img {

 width:82px;
 height:80px;
 border:none;

z-index:1; } .expand-down ul li a span {

 display:none;

z-index:1; } .expand-down ul li:hover a span {

 display:block;
 font-size:14px;
 text-align:center;
 color:#fff;

z-index:1; } .expand-down ul li:hover a img {

 width:80px;
 height:82px;

z-index:1; } .expand-down ul li:hover + li a img {

 width:80px;
 height:82px;

z-index:1; } .expand-down ul li:hover + li + li a img {

 width:80px;
 height:82px;

z-index:1;

}

  1. image{
 margin:80px 82px;

}

  1. windmillarms

{

   background-image:url(Groningen2012_AD_20120802_WindmillArms.png);
   height: 120px;
   width: 104px;
   border: none; 
   z-index: 2;

}

/*Body*/ body {

   background-attachment:fixed;
   background-image:url(Groningen2012_AD_20120802_Background.png);
   text-align: justify;
   border: none;

}

  1. content

{

   position: relative;
   top:-5px;
   width: 1024px;
   padding: 0px 0px 0px 0px;
   background-color:transparent;
   border: none;

}

  1. bodyContent

{

   width: 1024px;
   position: relative;
   padding: 0px 0px 0px 0px;
   background-color:transparent;
   border: none;

}


/*Suppress iGEM defaults*/ a[title="Main Page"]{display: none;} .firstHeading{display: none;}

  1. menubar{display: none;}
  2. search-controls{display: none;}
  3. contentSub{display: none;}
  4. catlinks{display: none;}
  5. footer-box{display: none;}

|}