Team:Valencia-CIPF/style.css
From 2013.igem.org
(370 intermediate revisions not shown) | |||
Line 7: | Line 7: | ||
} | } | ||
body { | body { | ||
- | line-height: | + | line-height: 0; |
- | + | margin-top: 0; | |
- | + | margin-bottom: 0; | |
- | + | margin-left: 0; | |
- | + | margin-right: 0; | |
+ | |||
} | } | ||
body,html,#content,#globalWrapper { | body,html,#content,#globalWrapper { | ||
padding:0 !important; | padding:0 !important; | ||
- | + | width:100% !important; | |
- | + | min-width: 1220px !important; | |
font-size:12px; | font-size:12px; | ||
line-height:1.3em; | line-height:1.3em; | ||
- | color:# | + | color:#FFF; |
font-family: "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif; | font-family: "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif; | ||
} | } | ||
Line 31: | Line 32: | ||
div.menu, | div.menu, | ||
.wrapper { | .wrapper { | ||
- | margin: 0 | + | margin: 0; |
- | max-width: | + | max-width: 1220px; |
- | position: | + | position: absolute; |
} | } | ||
Line 42: | Line 43: | ||
background: #ffa67c; /*fondo*/ | background: #ffa67c; /*fondo*/ | ||
border-bottom: 10px solid #d64729; /*borde inferior*/ | border-bottom: 10px solid #d64729; /*borde inferior*/ | ||
- | + | width:100%; | |
- | + | padding-top:0px; | |
+ | margin: 0; | ||
+ | position:relative; | ||
+ | top:-105px; | ||
} | } | ||
#header .wrapper { | #header .wrapper { | ||
- | + | width:1220px; | |
- | + | overflow:hidden; | |
- | + | display:table; | |
- | + | background: none transparent 0 0; /*Scroll no-repeat*/ | |
+ | position:relative; | ||
+ | padding-top:0px; | ||
} | } | ||
#project-image { | #project-image { | ||
Line 59: | Line 65: | ||
vertical-align:middle; | vertical-align:middle; | ||
position:absolute; | position:absolute; | ||
- | left: | + | left:715px; /*Desplazar logo iGEM*/ |
} | } | ||
Line 72: | Line 78: | ||
#list-updates { | #list-updates { | ||
- | list-style:none; margin:0; | + | list-style:none; |
+ | margin:0; | ||
} | } | ||
Line 86: | Line 93: | ||
} | } | ||
.space_item-A { | .space_item-A { | ||
- | /*background:transparent url('https://static.igem.org/mediawiki/ | + | /*background:transparent url('https://static.igem.org/mediawiki/2013/3/35/Flor1.jpg') 0 0 scroll no-repeat; |
} | } | ||
.space_item-B { | .space_item-B { | ||
- | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/e/e6/Flor2.jpg') 0 0 scroll no-repeat; | + | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/e/e6/Flor2.jpg') 0 0 scroll no-repeat; |
} | } | ||
.space_item-C { | .space_item-C { | ||
- | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/b/ba/Flor3.jpg') 0 0 scroll no-repeat; | + | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/b/ba/Flor3.jpg') 0 0 scroll no-repeat; |
} | } | ||
.space_item-D { | .space_item-D { | ||
- | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/b/b3/Flor4.jpg') 0 0 scroll no-repeat; | + | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/b/b3/Flor4.jpg') 0 0 scroll no-repeat; |
} | } | ||
.space_item-E { | .space_item-E { | ||
- | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/b/b7/Flor5.jpg') 0 0 scroll no-repeat; | + | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/b/b7/Flor5.jpg') 0 0 scroll no-repeat; |
} | } | ||
.space_item-F { | .space_item-F { | ||
- | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/d/d0/Flor6.jpg') 0 0 scroll no-repeat; | + | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/d/d0/Flor6.jpg') 0 0 scroll no-repeat; |
} | } | ||
.space_item-G { | .space_item-G { | ||
- | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/a/ab/Flor7.jpg') 0 0 scroll no-repeat; | + | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/a/ab/Flor7.jpg') 0 0 scroll no-repeat; |
} | } | ||
.space_item-H { | .space_item-H { | ||
- | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/4/4e/Flor8.jpg') 0 0 scroll no-repeat; | + | /*background:transparent url('https://static.igem.org/mediawiki/igem.org/4/4e/Flor8.jpg') 0 0 scroll no-repeat; |
} | } | ||
#access { | #access { | ||
background: #d64729; /*Color barra menú*/ | background: #d64729; /*Color barra menú*/ | ||
- | color: #fff; | + | /* color: #fff; */ |
display: block; | display: block; | ||
width: 100%; | width: 100%; | ||
- | height: | + | height: 37px; |
- | position: | + | position: relative; |
- | + | left:0; | |
+ | top:0px; | ||
} | } | ||
#access .menu-header, | #access .menu-header, | ||
div.menu { | div.menu { | ||
- | margin: 0 auto; | + | margin: 0 auto; |
font-size: 13px; | font-size: 13px; | ||
} | } | ||
Line 127: | Line 135: | ||
list-style: none; | list-style: none; | ||
margin: 0; | margin: 0; | ||
- | position: | + | position: fixed; |
- | + | right: 0; | |
+ | top:-52px; | ||
+ | z-index:999; | ||
+ | background: #d64729; /*Aparece barra menú*/ | ||
} | } | ||
#access .menu-header li, | #access .menu-header li, | ||
div.menu li{ | div.menu li{ | ||
float: left; | float: left; | ||
- | position: relative; | + | position: relative; |
- | left: - | + | left: -350px; /*Desplazar barra menú*/ |
} | } | ||
.menu a, .menu a:visited { | .menu a, .menu a:visited { | ||
Line 145: | Line 156: | ||
} | } | ||
#access table a { | #access table a { | ||
- | line-height: 18px; | + | line-height: 18px; |
} | } | ||
#access ul ul { | #access ul ul { | ||
- | box-shadow: | + | /*box-shadow: 0.7px 3px 3px rgba(0,0,0,0.1); |
- | -webkit-box-shadow: | + | -webkit-box-shadow: 0.7px 3px 3px rgba(0,0,0,0.1); |
+ | -webkit-box-shadow: 0.7px 3px 3px rgba(0,0,0,0.1);*/ | ||
display: none; | display: none; | ||
- | position: | + | position: absolute; |
top: 40px; | top: 40px; | ||
float: left; | float: left; | ||
left: 0px; /*Posición caja desplegable*/ | left: 0px; /*Posición caja desplegable*/ | ||
- | width: | + | width: 120; |
- | } | + | } |
#access ul ul li { | #access ul ul li { | ||
- | min-width: | + | min-width: 120px; |
float: left; | float: left; | ||
left: 0px; | left: 0px; | ||
Line 170: | Line 182: | ||
line-height: 1em; | line-height: 1em; | ||
padding: 10px; | padding: 10px; | ||
- | width: | + | width: 120px; |
height: auto; | height: auto; | ||
} | } | ||
Line 188: | Line 200: | ||
/* Fin Menú */ | /* Fin Menú */ | ||
+ | |||
/* Pie */ | /* Pie */ | ||
- | #footer { | + | #footer-box { |
background: #ffa67c; /*fondo*/ | background: #ffa67c; /*fondo*/ | ||
border-top: 10px solid #d64729; /*borde superior*/ | border-top: 10px solid #d64729; /*borde superior*/ | ||
- | + | width:100% !important; | |
- | + | padding:10px !important! | |
+ | margin: 0; | ||
+ | position:relative; | ||
} | } | ||
- | #footer .wrapper { | + | #footer-box .wrapper { |
- | + | margin: 0 auto; | |
- | + | width:1220px; | |
- | + | overflow:hidden; | |
+ | display:table; | ||
+ | background: none transparent 0 0; /*Scroll no repeat*/ | ||
+ | position:relative; | ||
+ | padding-top:0px; | ||
} | } | ||
#sponsors{ | #sponsors{ | ||
Line 208: | Line 227: | ||
#e-mail{ | #e-mail{ | ||
- | font: sans-serif ; | + | color: #000; |
- | font-size: 15px; | + | font: sans-serif; |
- | position: absolute; | + | font-size: 15px; |
- | left: | + | position: absolute; |
- | top:300px; | + | left: 690px; |
+ | top:300px; | ||
} | } | ||
#FacebookandTwitter{ | #FacebookandTwitter{ | ||
- | + | position:relative; | |
- | + | top:130px; | |
- | + | left:1040px; | |
} | } | ||
#VisitorMaps{ | #VisitorMaps{ | ||
- | + | position:relative; | |
- | + | top:-240px; | |
- | + | left:10px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } |
Latest revision as of 09:39, 5 August 2013
- {
background: transparent; border: 0; margin: 0; padding: 0; vertical-align: baseline; } body { line-height: 0;
margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0;
} body,html,#content,#globalWrapper {
padding:0 !important;
width:100% !important; min-width: 1220px !important;
font-size:12px; line-height:1.3em; color:#FFF; font-family: "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif;
} body,html { height:100% !important; }
/* Estructura */
div.menu, .wrapper { margin: 0; max-width: 1220px; position: absolute; }
/* Cabecera */
- header {
background: #ffa67c; /*fondo*/ border-bottom: 10px solid #d64729; /*borde inferior*/ width:100%; padding-top:0px; margin: 0; position:relative; top:-105px;
}
- header .wrapper {
width:1220px; overflow:hidden; display:table; background: none transparent 0 0; /*Scroll no-repeat*/ position:relative; padding-top:0px;
}
- project-image {
background: url('https://static.igem.org/mediawiki/2013/e/e0/Valencia-CIPF_logo.png') transparent center center scroll no-repeat; display:table-cell; width:480px; height:360px; text-align:center; vertical-align:middle; position:absolute; left:715px; /*Desplazar logo iGEM*/ }
- Home {
background:transparent; /*url('https://static.igem.org/mediawiki/2011/e/e6/UNITS-welcome.png') center top no-repeat scroll*/ height:151px; width:600px; }
/* Empieza Menú */
- list-updates {
list-style:none;
margin:0; }
- list-updates .space_item-A,#list-updates .space_item-B,#list-updates .space_item-C,#list-updates .space_item-D ,#list-updates .space_item-E,#list-updates .space_item-F,#list-updates .space_item-G,#list-updates .space_item-H{
width:auto; height:60px; padding-left:100px; } .space_item-A, .space_item-B, .space_item-C, .space_item-D, .space_item-E, .space_item-F, .space_item-G, .space_item-H { width:28px; height:31px; margin:7px 0; } .space_item-A { /*background:transparent url('https://static.igem.org/mediawiki/2013/3/35/Flor1.jpg') 0 0 scroll no-repeat; } .space_item-B { /*background:transparent url('https://static.igem.org/mediawiki/igem.org/e/e6/Flor2.jpg') 0 0 scroll no-repeat; } .space_item-C { /*background:transparent url('https://static.igem.org/mediawiki/igem.org/b/ba/Flor3.jpg') 0 0 scroll no-repeat; } .space_item-D { /*background:transparent url('https://static.igem.org/mediawiki/igem.org/b/b3/Flor4.jpg') 0 0 scroll no-repeat; } .space_item-E { /*background:transparent url('https://static.igem.org/mediawiki/igem.org/b/b7/Flor5.jpg') 0 0 scroll no-repeat; } .space_item-F { /*background:transparent url('https://static.igem.org/mediawiki/igem.org/d/d0/Flor6.jpg') 0 0 scroll no-repeat; } .space_item-G { /*background:transparent url('https://static.igem.org/mediawiki/igem.org/a/ab/Flor7.jpg') 0 0 scroll no-repeat; } .space_item-H { /*background:transparent url('https://static.igem.org/mediawiki/igem.org/4/4e/Flor8.jpg') 0 0 scroll no-repeat; }
- access {
background: #d64729; /*Color barra menú*/ /* color: #fff; */ display: block; width: 100%; height: 37px; position: relative;
left:0; top:0px;
}
- access .menu-header,
div.menu { margin: 0 auto; font-size: 13px; }
- access .menu-header ul,
div.menu ul{ list-style: none; margin: 0; position: fixed;
right: 0;
top:-52px;
z-index:999; background: #d64729; /*Aparece barra menú*/
}
- access .menu-header li,
div.menu li{ float: left; position: relative; left: -350px; /*Desplazar barra menú*/ } .menu a, .menu a:visited { color: #fff; display: block; line-height: 40px; padding: 0 10px; text-decoration: none; font-weight:bold; }
- access table a {
line-height: 18px; }
- access ul ul {
/*box-shadow: 0.7px 3px 3px rgba(0,0,0,0.1); -webkit-box-shadow: 0.7px 3px 3px rgba(0,0,0,0.1); -webkit-box-shadow: 0.7px 3px 3px rgba(0,0,0,0.1);*/ display: none; position: absolute; top: 40px; float: left; left: 0px; /*Posición caja desplegable*/ width: 120; }
- access ul ul li {
min-width: 120px; float: left; left: 0px; }
- access ul ul ul {
left: 100%; top: 0; }
- access ul ul a {
background: #ffa67c; /*Color desplegable*/ line-height: 1em; padding: 10px; width: 120px; height: auto; }
- access li:hover > a,
- access ul ul :hover > a {
background: #d64729; /*Color menú sin desplegable*/ }
- access ul li:hover > ul {
display: block; }
- access ul li a.current_page_item ,
- access ul li a.current-menu-ancestor ,
- access ul li a.current-menu-item ,
- access ul li a.current-menu-parent {
background: #d64729; /*Color menú sin desplegable*/ }
/* Fin Menú */
/* Pie */
- footer-box {
background: #ffa67c; /*fondo*/ border-top: 10px solid #d64729; /*borde superior*/ width:100% !important; padding:10px !important! margin: 0; position:relative;
}
- footer-box .wrapper {
margin: 0 auto; width:1220px; overflow:hidden; display:table; background: none transparent 0 0; /*Scroll no repeat*/ position:relative; padding-top:0px;
}
- sponsors{
}
- e-mail{
color: #000; font: sans-serif; font-size: 15px; position: absolute; left: 690px; top:300px;
}
- FacebookandTwitter{
position:relative; top:130px; left:1040px;
}
- VisitorMaps{
position:relative; top:-240px; left:10px;
}