You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
2.0 KiB

5 years ago
@import "../../assets/scss/variables";
.component-detail {
z-index: 0;
.content {
position: relative;
margin: 150px auto 80px auto;
padding: 40px 50px;
background: $white-alpha;
color: $black;
box-shadow: 0px 0px 25px $white-alpha;
border-radius: 10px;
.title {
margin: 0;
5 years ago
font-size: $font-34;
font-weight: bold;
text-transform: uppercase;
}
.text {
font-size: $font-18;
text-align: justify;
padding: 40px 0;
}
.date-container {
display: inline-flex;
position: absolute;
top: 40px;
right: 40px;
.date {
display: inline-flex;
margin: auto;
font-size: $font-20;
}
.date-indication {
margin: 2px 5px auto 5px;
font-size: $font-12;
}
5 years ago
}
5 years ago
.videos {
.video-title {
font-size: $font-18;
font-weight: bold;
padding-bottom: 5px;
}
.youtube {
position: relative;
padding-bottom: 56.25%;
.iframe{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
}
.tags,
.links {
5 years ago
display: block;
font-size: $font-12;
text-transform: uppercase;
padding: 5px 0;
.link {
display: inline-block;
font-size: $font-12;
text-transform: uppercase;
padding: 0 5px;
cursor: pointer;
}
5 years ago
}
.back {
position: absolute;
top: -40px;
left: 0px;
height: 40px;
width: 60px;
appearance: none;
border: none;
padding: 0;
font-size: $font-40;
color: $black-alpha;
5 years ago
background: transparent;
cursor: pointer;
transition: transform .3s;
-webkit-backface-visibility: hidden;
&:hover {
transform: scale(1.1) translateX(-10px);
}
}
}
}
@media (min-width: map-get($grid-breakpoints, 'md')) {
.component-detail {
.content {
transform: rotate(2deg) skew(0deg, -6deg);
}
}
}