add asentus template

This commit is contained in:
2024-05-21 05:13:26 +02:00
parent d902ea6add
commit 2bcf4fe852
114 changed files with 33775 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
/*------------------------------------------------------------------
[Work]
------------------------------------------------------------------*/
.work {
position: relative;
.work-overlay {
position: relative;
&:before {
@include position(absolute, $top: 0, $left: 0);
@include size(100%);
@include bg-opacity(#000, 0);
content: " ";
@include cubic-transition($delay: 0, $duration: 300ms, $property: (all));
}
}
.work-content {
@include position(absolute, $bottom: 0, $left: 0);
opacity: 0;
padding: 25px;
@include translate3d(0,20px,0);
@include cubic-transition($delay: 0, $duration: 300ms, $property: (all));
}
&:hover {
.work-overlay {
&:before {
@include bg-opacity(#000, .5);
@include cubic-transition($delay: 0, $duration: 300ms, $property: (all));
}
}
.work-content {
opacity: 1;
@include translate3d(0,0,0);
@include cubic-transition($delay: 0, $duration: 300ms, $property: (all));
}
}
}