Team:INSA-Lyon/css contenu
From 2014.igem.org
(46 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
} | } | ||
- | /* PAGE | + | /* PAGE SOUS-TITRE*/ |
#igem{ | #igem{ | ||
- | + | padding-top: 15px; | |
- | + | margin-right: 30px; | |
- | + | text-align: right; | |
} | } | ||
- | # | + | #soustitre{ |
- | + | margin-top: -25px; | |
- | + | padding:0; | |
+ | top:0; | ||
+ | background-position: center top; | ||
+ | background-repeat: no-repeat; | ||
+ | text-align: center; | ||
+ | height: 320px; | ||
} | } | ||
- | # | + | |
- | + | ||
+ | #presentation { | ||
+ | margin: auto; | ||
+ | width: 900px; | ||
+ | padding-top: 30px; | ||
+ | padding-bottom: 30px; | ||
+ | padding-left: 50px; | ||
} | } | ||
- | + | .center{ | |
- | + | text-align:center; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
.icon { | .icon { | ||
- | + | color:#285459; | |
- | + | background:#FFF; | |
- | + | width:120px; | |
height:72px; | height:72px; | ||
padding-top: 48px; | padding-top: 48px; | ||
Line 43: | Line 46: | ||
margin-right: 20px; | margin-right: 20px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
+ | margin-top: 15px; | ||
overflow: hidden; | overflow: hidden; | ||
display: inline-block; | display: inline-block; | ||
+ | -moz-transition: all 0.3s ease-out; | ||
+ | -webkit-transition: all 0.3s ease-out; | ||
+ | transition: all 0.3s ease-out; | ||
} | } | ||
.iconmulti { | .iconmulti { | ||
- | + | color:#285459; | |
- | + | background:#FFF; | |
- | height: | + | width:120px; |
- | padding-top: | + | height:72px; |
+ | padding-top: 48px; | ||
text-align:center; | text-align:center; | ||
border-radius:50%; | border-radius:50%; | ||
Line 57: | Line 65: | ||
margin-right: 20px; | margin-right: 20px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
+ | margin-top: 15px; | ||
overflow: hidden; | overflow: hidden; | ||
display: inline-block; | display: inline-block; | ||
+ | -moz-transition: all 0.3s ease-out; | ||
+ | -webkit-transition: all 0.3s ease-out; | ||
+ | transition: all 0.3s ease-out; | ||
} | } | ||
- | + | /*--------------------- CSS DU FOOTER ---------------------------------------------*/ | |
- | + | ||
- | + | ||
- | + | ||
+ | |||
+ | #footer | ||
+ | { | ||
+ | padding-top: 15px; | ||
+ | background-color: #285459; | ||
+ | margin-bottom: -50px; | ||
+ | height: 200px; | ||
} | } | ||
- | . | + | #footer p{ |
- | + | color:#fff; | |
- | + | font-family: "Roboto", sans-serif; | |
+ | font-size: 0.9em; | ||
+ | overflow:hidden; | ||
+ | } | ||
+ | |||
+ | #footer a:visited { | ||
+ | color:#ffffff; | ||
+ | } | ||
+ | |||
+ | #footer a { | ||
+ | color:#ffffff; | ||
+ | } | ||
+ | |||
+ | |||
+ | #contact{ | ||
+ | display: inline-block; | ||
+ | background-color: #285459; | ||
+ | padding-left: 30px; | ||
+ | margin-left: 50px; | ||
+ | } | ||
+ | |||
+ | #footer1{ | ||
+ | float: left; | ||
+ | width: 250px; | ||
+ | margin-right: 50px; | ||
+ | display: inline-block; | ||
+ | } | ||
+ | #footer2{ | ||
+ | float: left; | ||
+ | width: 250px; | ||
+ | } | ||
+ | |||
+ | #footer3{ | ||
+ | width: 250px; | ||
+ | margin-left: 50px; | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | |||
+ | #copyright { | ||
+ | font-size: 0.8em !important; | ||
+ | background-color: #285459; | ||
+ | padding-bottom: 2px; | ||
+ | padding-top: 16px; | ||
} | } | ||
- | + | #fb { | |
- | + | float: right; | |
- | + | margin-right: 10px; | |
} | } |
Latest revision as of 17:57, 16 October 2014
html, body { padding:0; margin-top: 0;
background-color: #ffffff;
}
/* PAGE SOUS-TITRE*/
- igem{
padding-top: 15px; margin-right: 30px; text-align: right; }
- soustitre{
margin-top: -25px; padding:0; top:0; background-position: center top; background-repeat: no-repeat; text-align: center; height: 320px; }
- presentation {
margin: auto; width: 900px; padding-top: 30px; padding-bottom: 30px; padding-left: 50px; }
.center{ text-align:center; }
.icon { color:#285459; background:#FFF; width:120px;
height:72px; padding-top: 48px; text-align:center; border-radius:50%; margin-left: 20px; margin-right: 20px; margin-bottom: 20px;
margin-top: 15px;
overflow: hidden; display: inline-block; -moz-transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; transition: all 0.3s ease-out;
}
.iconmulti { color:#285459; background:#FFF; width:120px;
height:72px; padding-top: 48px; text-align:center; border-radius:50%; margin-left: 20px; margin-right: 20px; margin-bottom: 20px;
margin-top: 15px;
overflow: hidden; display: inline-block; -moz-transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; transition: all 0.3s ease-out;
}
/*--------------------- CSS DU FOOTER ---------------------------------------------*/
- footer
{ padding-top: 15px; background-color: #285459; margin-bottom: -50px; height: 200px; }
- footer p{
color:#fff; font-family: "Roboto", sans-serif; font-size: 0.9em; overflow:hidden; }
- footer a:visited {
color:#ffffff; }
- footer a {
color:#ffffff; }
- contact{
display: inline-block; background-color: #285459; padding-left: 30px; margin-left: 50px; }
- footer1{
float: left; width: 250px; margin-right: 50px; display: inline-block; }
- footer2{
float: left; width: 250px; }
- footer3{
width: 250px; margin-left: 50px; display: inline-block; }
- copyright {
font-size: 0.8em !important; background-color: #285459; padding-bottom: 2px; padding-top: 16px; }
- fb {
float: right; margin-right: 10px; }