fermedubosluguet.fr/css/galerie.css
2018-10-21 20:07:38 +02:00

405 lines
4.9 KiB
CSS

/** PAGE */
html, body {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
}
.header img{
width : 100%;
}
body {
margin: 0px;
padding: 0px;
background:#EEE8AA ;
font-family:Trebuchet ms,Lucida Sans Unicode,Comic Sans ms,sans-serif;
font-size: 1.0rem;
color: #ffffff;
}
h1, h2, h3 {
margin: 0;
padding: 0;
}
h1
{
font-weight: 400;
font-family:Trebuchet ms,Lucida Sans Unicode,Comic Sans ms,sans-serif;
font-size: 2.50rem;
}
p, ol, ul {
margin-top: 0px;
}
p {
line-height: 180%;
}
strong {
}
a {
color: #1492C4;
}
a:hover {
text-decoration: none;
}
a img {
border: none;
}
hr {
display: none;
}
#wrapper {
position: relative;
width: 100%;
min-height: 40px;
margin: -6px auto;
}
.container {
width: 1000px;
margin: 0px auto;
}
#page {
overflow: hidden;
}
article{
height : 100%;
position: relative;
margin: 75px 0 55px 175px;
}
section {
height : 94%;
width:70%;
text-align : center ;
}
/** HEADER */
#header-wrapper
{
overflow: hidden;
height: 40px;
width: 100%;
margin-bottom: 20px;
background-color: #391505;
}
#header {
overflow: hidden;
width: 651px;
}
/** MENU */
#menu {
float: right;
height:50px;
}
#menu ul {
margin: 0px;
padding: 0px;
list-style: none;
line-height: normal;
}
#menu li {
float: left;
margin-right: 1px;
}
#menu a {
display: block;
height: 40px;
padding: 0px 30px;
line-height: 40px;
text-decoration: none;
font-size : 1rem;
color: #FFFFFF;
}
#menu a:hover {
text-decoration: none;
background: rgba(0,0,0,0.70);
z-index:2;
}
#menu .active
{
background: rgba(0,0,0,0.70);
font-weight: bold;
}
/* Footer */
#footer {
width : 100%;
overflow: hidden;
padding: 20px 0px;
background: #391505;
padding-top : 8px ;
padding-bottom:0;
}
#footer p {
text-align: center;
font-size: 1.0rem;
}
#footer img {
height : 90px;
margin-left : 20px;
}
#footer figure {
width : 100%;
text-align : center;
height : 100%;
margin-top: 0px;
margin-bottom : 5px
}
#menu a:hover , #menu a:focus{
text-decoration: none;
background: rgba(0,0,0,0.70);
transition-duration: 0.7s;
}
/*MENU FIXE*/
#fixe{
font-family:Trebuchet ms,Lucida Sans Unicode,Comic Sans ms,sans-serif;
width : 18%;
height: 100%;
background: #391505;
position : absolute;
float : left;
width : 215px;
height: 300px;
left:2%;
top: 270%;
border-radius:15px;
z-index : 2;
}
#fixe ul {
margin: 0px;
padding: 0px;
list-style: none;
line-height: normal;
}
#fixe li {
width : 100%;
height : 75px;
text-align : center;
margin: 0px auto 0px auto;
font-size :0.8rem;
}
#menu #fixe a {
height: 75px;
line-height: 75px;
}
/** CONTENT */
.content {
padding: 40px;
background: rgb(102, 51, 0);
width :85%;
height:15%;
margin: 0 auto 30px auto;
border-radius:15px;
}
figure {
margin-left: 2%;
width: 105%;
}
.content h2 a
{
display: block;
padding: 0px 0px 20px 0px;
text-decoration: none;
color: #FFFFFF;
}
article#photo{
margin-left:17rem;
}
#diaporama{
width:100%;
height:75%;
margin-left:2.5%;
}
#diaporama img{
float:left;
width:8%;
margin-top:2%;
}
#diaporama .centre{
float:left;
width:200px;
}
#diaporama div img + .grande{
display:none;
}
#diaporama div img:hover + .grande{
display:inline;
position:absolute;
width: 81%;
left:8.5%;
top:9%;
z-index:2;
}
#legend{
width:42%;
text-align:center;
padding-left:25%;
padding-top:25%;
}
#legend2{
width:42%;
text-align:center;
padding-left:25%;
padding-top:25%;
}
#legend3{
width:42%;
text-align:center;
padding-left:25%;
padding-top:25%;
}
.photo
{
text-align:center;
}
#diaporama2{
width:100%;
height:75%;
margin-left:2.5%;
}
#diaporama2 img{
float:left;
width:8%;
margin-top:2%;
}
#diaporama2 .centre{
float:left;
width:200px;
}
#diaporama2 div img + .grande{
display:none;
}
#diaporama2 div img:hover + .grande{
display:inline;
position:absolute;
width: 81%;
left:8.5%;
top:9%;
z-index:2;
}
#diaporama3{
width:100%;
height:75%;
margin-left:2.5%;
}
#diaporama3 img{
float:left;
width:8%;
margin-top:2%;
}
#diaporama3 .centre{
float:left;
width:200px;
}
#diaporama3 div img + .grande{
display:none;
}
#diaporama3 div img:hover + .grande{
display:inline;
position:absolute;
width: 81%;
left:8.5%;
top:9%;
z-index:2;
}
.boite{
background: rgb(57,21,5);
width :75%;
height: 100%;
margin-left:22%;
border-radius: 15px 15px 15px 15px;
}
.haut{
height: 50px;
width: 100%;
left: 50%;
margin-left: -250px;
margin-top: -250px;
position: absolute;
top: 50%;
}
.haut img {
float: left;
height: 50px;
width: 75px;
}
.haut div img:hover + .grande {
display: inline;
height: 400px;
left: 50%;
margin-left: -200px;
margin-top: -200px;
position: absolute;
top: 50%;
width: 400px;
}
.haut img + .grande {
display: none;
}
#picture_align_fen{
padding-left:17.5%;
}
#picture_align_veau{
padding-left:27.5%;
}
#picture_align_vel{
padding-left:7%;
}