Nicolas Bally 8a08ee35c8 initial
2015-02-22 14:36:30 +01:00

656 lines
7.1 KiB
SCSS

@import "fontawesome/font-awesome";
@import "shared/superfish";
@import "css3-mixins.scss";
a{
img{
border:0;
}
color: #428bca;
text-decoration: none;
&:hover{
cursor:pointer;
color: #2a6496;
text-decoration: underline;
}
}
img{
max-width:100%;
}
.map_content_map{
img{
max-width:none;
max-height:none;
}
}
.row{
margin:auto;
//max-width:1100px;
display:block;
&:after{
content: "";
display: table;
clear: both;
}
.columns{
display:block;
box-sizing: border-box;
float:left;
display:inline-block;
padding:0 5px;
&:first-child{
padding-left:0px;
}
&:last-child{
padding-right:0px;
}
&.span_12{
width:100%;
}
&.span_11{
width:100/12*11;
}
&.span_10{
width:percentage(1/12*10);
}
&.span_9{
width:percentage(1/12*9);
}
&.span_8{
width:percentage(1/12*8);
}
&.span_7{
width:percentage(1/12*7);
}
&.span_6{
width:percentage(1/12*6);
}
&.span_5{
width:percentage(1/12*5);
}
&.span_4{
width:percentage(1/12*4);
}
&.span_3{
width:percentage(1/12*3);
}
&.span_2{
width:percentage(1/12*2);
}
&.span_1{
width:percentage(1/12*1);
}
}
}
body
{
width:100%;
margin : 0px;
padding : 0px;
font-family:Helvetica, Arial, sans-serif;
font-size:13px;
background:url('/fond.jpg') fixed top center;
background-size:100%;
background-size:cover;
color:#696969;
line-height:1.5em;
h1, h2, h3, h4{
color:#3E3E3E;
font-weight:normal;
// text-transform:uppercase;
}
h1{
margin:1.4em 0em 0.8em 0;
font-size:1.8em;
}
h2{
font-size:1.83em;
}
h3{
font-size:1.52em;
}
}
#logo{
width:350px;
display:block;
position:absolute;
top:0;
left:-55px;
max-height:none;
height:auto;
}
.center{
max-width:1020px;
margin:auto;
}
#top{
.center{
position:relative;
}
.contact{
position:absolute;
top:10px;
right:0px;
color:white;
a{
color:white;
text-decoration:none;
}
font-size:0.9em;
}
min-height:200px;
}
#slider{
height:600px;
}
.slider{
.next{
position:absolute;
top:260px;
right:-32px;
width:24px;
height:43px;
display:block;
z-index:110;
padding-left:5px;
}
.prev{
position:absolute;
top:260px;
left:-32px;
width:24px;
height:43px;
display:block;
z-index:110;
text-align:right;
padding-right:5px;
}
height:660px;
position:relative;
margin-bottom:20px;
.slides {
margin:0px;
position:absolute;
top:0px;
left:0px;
.slides_container {
width:990px;
height:660px;
overflow:hidden;
position:relative;
display:none;
margin:0px;
div.slide {
display:block;
margin:0px;
img{
}
}
}
.hover{
display:block;
}
.photos_link{
position:absolute;
top:400px;
padding:10px;
background:rgba(0,0,0, 0.5);
width:980px;
color:white;
z-index:120;
font-size:20px;
a{
color:white;
text-decoration:none;
}
}
.pagination {
display:none;
margin:10px auto 0;
text-align:center;
padding:0px;
li {
display:inline;
margin:0 1px;
list-style:none;
a {
display:inline-block;
width:12px;
height:0;
padding-top:12px;
background-image:url(/pagination.png);
background-position:0 0;
overflow:hidden;
margin-right:2px;
}
&.current a {
background-position:0 -12px;
}
}
}
}
}
.menu{
display:block;
float:right;
margin:0;
padding:0;
text-align:left;
background:white;
background:rgba(250,250,250,0.9);
margin-top:30px;
padding:10px;
padding-right:370px;
a{
display:inline-block;
text-transform:uppercase;
text-align:center;
text-decoration:none;
min-width:70px;
color : #5F5A5A;
padding:0.3em 1em;
border-left:1px solid #CFCDCC;
&:first-child{
border:0;
}
&:hover, &.active{
font-weight:600;
//border-bottom:1px solid #CFCDCC;
}
}
}
.rslides {
position: relative;
list-style: none;
overflow: hidden;
width: 100%;
padding: 0;
margin: 0;
}
.rslides li {
-webkit-backface-visibility: hidden;
position: absolute;
display: block;
text-align:center;
width: 100%;
left: 0;
top: 0;
}
.rslides li:first-child {
position: relative;
display: block;
float: left;
}
.rslides img {
height: auto;
max-height: auto;
max-width: 100%;
width:100%;
border: 0;
max-height:auto;
}
.rslides_container{
position:relative;
.prev,.next{
position:absolute;top:45%;
z-index:10;
img{
height:40px;
}
}
.prev{
left:1em;
}
.next{
right:1em;
}
}
img{
max-height:90%;
}
.big{
.prev,.next{
position:absolute;top:45%;
z-index:10;
img{
height:40px;
}
}
.prev{
left:1em;
}
.next{
right:1em;
}
position:fixed;
display:block;
top:0px;
left:0px;
right:0px;
bottom:0px;
background:url("/fond.png");
z-index:11;
text-align:center;
.prev,.next{
z-index:12;
}
.rslides{
height:100%;
}
li{
height:100%;
img{
position: absolute;
top: 50%;
left: 50%;
width:auto;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
}
.img{
max-height:90%;
max-width:90%;
width:auto;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
}
.gallery_images{
.open{
width:180px;
float:left;
height:180px;
margin:0.5em;
border:1px solid #d3d3d3;
position:relative;
img{
position: absolute;
top: 50%;
left: 50%;
max-width:90%;
max-height:90%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
&:hover{
max-width:110%;
max-height:110%;
}
}
}
}
.orange_background{
padding:0.5em 0;
background:#F29337;
background:rgba(242,147,55,1);
color:white;
*{
color:white;
}
}
.gradient_background{
padding:0.5em 0;
@include background-gradient(rgba(255,255,255,0.9) ,rgba(255,255,255,0.4));
background-color:transparent;
}
.large{
background:rgba(250,250,250,0.5);
}
.clear{
clear:both;
}
#large{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.8);
z-index:10;
h3{
color:white;
text-align:center;
margin-top:5px;
margin-bottom:0;
font-weight:300;
font-size:0.95em;
}
.next, .prev{
width:20px;
position:absolute;
top:50%;
transform:translateY(-50%);
cursor:pointer;
}
.prev{
left:15px;
}
.next{
right:15px;
}
.close_link{
position:absolute;
top:10px;
left:10px;
width:40px;
}
.img_container{
height:100%;
width:100%;
box-sizing: border-box;
.large-img{
cursor:pointer;
padding:10px;
background:rgba(250, 250, 250, 0.9);
display:block;
margin:auto;
}
}
}
.rea-gal{
padding-left:0px;
margin-right:-5px;
margin-bottom:-5px;
img{
padding-right:5px;
padding-bottom:5px;
width:200px;
float:left;
box-sizing: border-box;
&:hover{
opacity:0.8;
}
}
}
#bottom{
margin:2em auto;
color:white;
position:relative;
padding:1em 0;
text-align:center;
a{
color:white;
}
}