@import "00-constants";
-.case{
- margin:50px 0 0 0;
- h1{
+.case {
+ margin: 50px 0 0 0;
+ h1 {
font-size: 32px;
}
- h2{
- margin:0 0 15px 0;
+ h2 {
+ margin: 0 0 15px 0;
}
/* Case studies detail visuel */
.casestudies-detail-visuel {
- padding-bottom:50px;
- overflow: hidden;
-
- a {
- background-color: @yellow;
- border-radius: 2px;
- padding: 5px 20px;
- color:#fff;
- }
-
- a:hover, a:active {
- background-color: #65a8f6;
- color:#fff;
- }
+ padding-bottom: 50px;
+ overflow: hidden;
.visuel-holder {
-// min-width: 980px;
-// max-width: 980px;
-// width:100%;
-// margin: 0 auto;
-// overflow:hidden;
+ // min-width: 980px;
+ // max-width: 980px;
+ // width:100%;
+ // margin: 0 auto;
+ // overflow:hidden;
}
.visuel-holder .visuel {
-// width:980px;
-// height:400px;
+ // width:980px;
+ // height:400px;
padding-bottom: 20px;
}
.visuel-holder .legende {
font-size: 18px;
- float:left;
- padding-bottom: 10px; // When there is a long legend and a "view site" button, they may wrap, so provide space between them.
+ float: left;
+ padding-bottom: 10px; // When there is a long legend and a "view site" button, they may wrap, so provide space between them.
}
+ a{
+ float:right;
+ }
}
-
-
.casestudies-detail-content {
text-align: center;
background-color: #0194d5;
.detail-text {
color: #fff;
- max-width:708px; // 640 + 34*2
- margin:auto;
+ max-width: 708px; // 640 + 34*2
+ margin: auto;
position: relative;
z-index: 10;
+
+ a {
+ color: @yellow;
+ text-decoration: none;
+ &:hover {
+ color: @yellow;
+ }
+ }
}
.detail-text .titre {
- font-size:32px;
+ font-size: 32px;
padding-bottom: 10px;
}
.detail-text .dotclear {
- font-size:18px;
- p{
- margin:10px 0 0 0;
+ font-size: 18px;
+ p {
+ margin: 10px 0 0 0;
}
}
.detail-visuel {
-// padding: 0px 0 50px 0;
-// z-index: 1;
- padding-left: 34px;
- padding-right: 34px;
- max-width: 1268px; // Max image width + horizontal padding (this must be set so % margins scale properly on images
- margin: 0 auto;
-
- img {
- min-width: 462px; // 530 - 34*2
- vertical-align: bottom; // Stops gap under image when right at the bottom
- // (caused by images being inline elements and having space for character descenders).
- // This is a better solution than setting it to display:block because images can still be aligned this way.
- }
+ // padding: 0px 0 50px 0;
+ // z-index: 1;
+ padding-left: 34px;
+ padding-right: 34px;
+ max-width: 1268px; // Max image width + horizontal padding (this must be set so % margins scale properly on images
+ margin: 0 auto;
+
+ img {
+ min-width: 462px; // 530 - 34*2
+ vertical-align: bottom; // Stops gap under image when right at the bottom
+ // (caused by images being inline elements and having space for character descenders).
+ // This is a better solution than setting it to display:block because images can still be aligned this way.
+ }
}
.detail-video-background {
position: absolute;
top: -325px;
//left: 110px;
- width:1280px;
- height:1280px;
+ width: 1280px;
+ height: 1280px;
z-index: 2;
}
.detail-video {
padding: 0 34px 50px 34px;
- margin: 0 auto;
+ margin: 0 auto;
position: relative;
z-index: 5;
text-align: center;
/* vertical-align: middle;
display: table-cell; */
- max-width: 1048px; /* 980px + left padding + right padding */
- min-width: 530px;
+ max-width: 1048px; /* 980px + left padding + right padding */
+ min-width: 530px;
}
.detail-visuel {
- width:100%;
+ width: 100%;
background-position: 50%;
position: relative;
}
}
#closeButton {
- display: inline-block;
- position: absolute;
- right: 34px;
- top: 50%;
- margin-top: -13px; // Half of line-height to position vertically in the centre
- background-image: url(../images/close-portfolio.png);
- background-repeat: no-repeat;
- background-position: right center;
- padding-right: 33px;
- color: #545454;
- font-size: 14px;
- line-height: 26px;
-
- &:hover {
- color: #000;
- }
+ display: inline-block;
+ position: absolute;
+ right: 34px;
+ top: 50%;
+ margin-top: -13px; // Half of line-height to position vertically in the centre
+ background-image: url(../images/close-portfolio.png);
+ background-repeat: no-repeat;
+ background-position: right center;
+ padding-right: 33px;
+ color: #545454;
+ font-size: 14px;
+ line-height: 26px;
+
+ &:hover {
+ color: #000;
+ }
}
.casestudies-list {
- padding-top: 60px;
+ padding-top: 60px;
}
\ No newline at end of file