2017-03-31 23:05:07 +02:00
|
|
|
// Styling for the portfolio section
|
|
|
|
#portfolio {
|
2017-08-11 21:12:34 +02:00
|
|
|
.portfolio-item {
|
|
|
|
right: 0;
|
|
|
|
margin: 0 0 15px;
|
|
|
|
.portfolio-link {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
max-width: 400px;
|
|
|
|
margin: 0 auto;
|
|
|
|
cursor: pointer;
|
|
|
|
.portfolio-hover {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
-webkit-transition: all ease 0.5s;
|
|
|
|
-moz-transition: all ease 0.5s;
|
|
|
|
transition: all ease 0.5s;
|
|
|
|
opacity: 0;
|
2017-10-21 00:22:10 +02:00
|
|
|
background: fade-out($primary, .1);
|
2017-08-11 21:12:34 +02:00
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
2017-08-11 21:12:34 +02:00
|
|
|
.portfolio-hover-content {
|
|
|
|
font-size: 20px;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
width: 100%;
|
|
|
|
height: 20px;
|
|
|
|
margin-top: -12px;
|
|
|
|
text-align: center;
|
|
|
|
color: white;
|
|
|
|
i {
|
|
|
|
margin-top: -12px;
|
|
|
|
}
|
|
|
|
h3,
|
|
|
|
h4 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
2017-08-11 21:12:34 +02:00
|
|
|
}
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
2017-08-11 21:12:34 +02:00
|
|
|
.portfolio-caption {
|
|
|
|
max-width: 400px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 25px;
|
|
|
|
text-align: center;
|
2017-10-21 00:22:10 +02:00
|
|
|
background-color: $white;
|
2017-08-11 21:12:34 +02:00
|
|
|
h4 {
|
|
|
|
margin: 0;
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
font-size: 16px;
|
|
|
|
font-style: italic;
|
|
|
|
margin: 0;
|
|
|
|
@include serif-font;
|
|
|
|
}
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
2017-08-11 21:12:34 +02:00
|
|
|
}
|
|
|
|
* {
|
|
|
|
z-index: 2;
|
|
|
|
}
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
@media(min-width:767px) {
|
2017-08-11 21:12:34 +02:00
|
|
|
#portfolio {
|
|
|
|
.portfolio-item {
|
|
|
|
margin: 0 0 30px;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
2017-08-11 21:12:34 +02:00
|
|
|
}
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.portfolio-modal {
|
2017-08-11 21:12:34 +02:00
|
|
|
.modal-dialog {
|
2017-11-02 22:28:12 +01:00
|
|
|
margin: 1rem;
|
|
|
|
max-width: 100vw;
|
2017-08-11 21:12:34 +02:00
|
|
|
}
|
|
|
|
.modal-content {
|
|
|
|
padding: 100px 0;
|
|
|
|
text-align: center;
|
|
|
|
h2 {
|
|
|
|
font-size: 3em;
|
|
|
|
margin-bottom: 15px;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
2017-08-11 21:12:34 +02:00
|
|
|
p {
|
|
|
|
margin-bottom: 30px;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
2017-08-11 21:12:34 +02:00
|
|
|
p.item-intro {
|
|
|
|
font-size: 16px;
|
|
|
|
font-style: italic;
|
|
|
|
margin: 20px 0 30px;
|
|
|
|
@include serif-font;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
2017-08-11 21:12:34 +02:00
|
|
|
ul.list-inline {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.close-modal {
|
|
|
|
position: absolute;
|
|
|
|
top: 25px;
|
|
|
|
right: 25px;
|
|
|
|
width: 75px;
|
|
|
|
height: 75px;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: transparent;
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
.lr {
|
|
|
|
/* Safari and Chrome */
|
|
|
|
z-index: 1051;
|
|
|
|
width: 1px;
|
|
|
|
height: 75px;
|
|
|
|
margin-left: 35px;
|
|
|
|
/* IE 9 */
|
|
|
|
-webkit-transform: rotate(45deg);
|
|
|
|
-ms-transform: rotate(45deg);
|
|
|
|
transform: rotate(45deg);
|
2017-10-21 00:22:10 +02:00
|
|
|
background-color: $gray-900;
|
2017-08-11 21:12:34 +02:00
|
|
|
.rl {
|
|
|
|
/* Safari and Chrome */
|
|
|
|
z-index: 1052;
|
|
|
|
width: 1px;
|
|
|
|
height: 75px;
|
|
|
|
/* IE 9 */
|
|
|
|
-webkit-transform: rotate(90deg);
|
|
|
|
-ms-transform: rotate(90deg);
|
|
|
|
transform: rotate(90deg);
|
2017-10-21 00:22:10 +02:00
|
|
|
background-color: $gray-900;
|
2017-08-11 21:12:34 +02:00
|
|
|
}
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
2017-08-11 21:12:34 +02:00
|
|
|
}
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|