Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-slate
324 changes: 324 additions & 0 deletions assets/css/root.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,324 @@
.card {
color: var(--bs-light);
cursor: pointer;
}

.modal-body2 {
position: relative;
flex: 1 1 auto;
padding: 1rem;
display: flex;
flex-direction: column;
margin-bottom: 2rem;
}

.col:hover {
shadow-lg;
bg-white;
rounded;
}

.hover {
overflow: hidden;
position: relative;
padding-bottom: 60%;
}

.hover-overlay {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 90;
transition: all 0.4s;
}

.hover img {
width: 100%;
position: absolute;
top: 0;
left: 0;
transition: all 0.3s;
}

.hover-content {
position: relative;
z-index: 99;
}


/* DEMO 1 ============================== */

.hover-1 img {
width: 105%;
position: absolute;
top: 0;
left: -5%;
transition: all 0.3s;
}

.hover-1-content {
position: absolute;
bottom: 0;
left: 0;
z-index: 99;
transition: all 0.4s;
}

.hover-1 .hover-overlay {
background: rgba(0, 0, 0, 0.5);
}

.hover-1-description {
transform: translateY(0.5rem);
transition: all 0.4s;
opacity: 0;
}

.hover-1:hover .hover-1-content {
bottom: 2rem;
}

.hover-1:hover .hover-1-description {
opacity: 1;
transform: none;
}

.hover-1:hover img {
left: 0;
}

.hover-1:hover .hover-overlay {
opacity: 0;
}


/* DEMO 2 ============================== */

.hover-2 .hover-overlay {
background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

.hover-2-title {
position: absolute;
top: 50%;
left: 0;
text-align: center;
width: 100%;
z-index: 99;
transition: all 0.3s;
}

.hover-2-description {
width: 100%;
position: absolute;
bottom: 0;
opacity: 0;
left: 0;
text-align: center;
z-index: 99;
transition: all 0.3s;
}

.hover-2:hover .hover-2-title {
transform: translateY(-1.5rem);
}

.hover-2:hover .hover-2-description {
bottom: 0.5rem;
opacity: 1;
}

.hover-2:hover .hover-overlay {
background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
}


/* DEMO 3 ============================== */

.hover-3::after {
content: '';
width: calc(100% - 3rem);
height: calc(100% - 3rem);
border: 1px solid #fff;
position: absolute;
top: 1.5rem;
left: 1.5rem;
z-index: 90;
transition: all 0.3s;
transform: scale(1.1);
opacity: 0;
display: block;
opacity: 0;
}

.hover-3-content {
position: absolute;
top: 50%;
left: 0;
width: 100%;
transform: translateY(-50%);
text-align: center;
z-index: 99;
}

.hover-3-description {
opacity: 0;
transform: scale(1.3);
transition: all 0.3s;
}

.hover-3 img {
width: 110%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.hover-3 .hover-overlay {
background: rgba(0, 0, 0, 0.2);
}

.hover-3:hover img {
width: 100%;
}

.hover-3:hover::after {
opacity: 1;
transform: none;
}

.hover-3:hover .hover-3-description {
opacity: 1;
transform: none;
}

.hover-3:hover .hover-overlay {
background: rgba(0, 0, 0, 0.8);
}


/* DEMO 4 ============================== */

.hover-4 img {
width: 110%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.hover-4 .hover-overlay {
background: rgba(0, 0, 0, 0.4);
z-index: 90;
}

.hover-4-title {
position: absolute;
bottom: 0;
right: 0;
padding: 3rem;
z-index: 99;
}

.hover-4-description {
position: absolute;
top: 2rem;
left: 2rem;
text-align: right;
border-right: 3px solid #fff;
padding: 0 1rem;
z-index: 99;
transform: translateX(-1.5rem);
opacity: 0;
transition: all 0.3s;
}

@media (min-width: 992px) {
.hover-4-description {
width: 50%;
}
}

.hover-4:hover img {
width: 100%;
}

.hover-4:hover::after {
opacity: 1;
transform: none;
}

.hover-4:hover .hover-4-description {
opacity: 1;
transform: none;
}

.hover-4:hover .hover-overlay {
background: rgba(0, 0, 0, 0.8);
}


/* DEMO 5 ============================== */

.hover-5::after {
content: '';
width: 100%;
height: 10px;
background: #47c650;
position: absolute;
bottom: -10px;
left: 0;
display: block;
transition: all 0.3s;
z-index: 999;
}

.hover-5 .hover-overlay {
background: rgba(0, 0, 0, 0.4);
}

.hover-5-title {
position: absolute;
bottom: 1rem;
left: 0;
transition: all 0.3s;
padding: 2rem 3rem;
z-index: 99;
}

.hover-5-title span {
transition: all 0.4s;
opacity: 0;
color: #47c650;
}

.hover-5:hover .hover-overlay {
background: rgba(0, 0, 0, 0.8);
}

.hover-5:hover .hover-5-title {
bottom: 0;
}

.hover-5:hover .hover-5-title span {
opacity: 1;
}

.hover-5:hover::after {
bottom: 0;
}


/*
*
* ==========================================
* FOR DEMO PURPOSES
* ==========================================
*
*/

body {
min-height: 100vh;
background-color: #fafafa;
}
Binary file added assets/img/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/100.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/101.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/102.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/103.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/104.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/105.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/106.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/107.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/108.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/109.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/110.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/111.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/112.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/113.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/114.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/115.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/116.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/117.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/118.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/119.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/120.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/121.jpg
Binary file added assets/img/122.jpg
Binary file added assets/img/123.jpg
Binary file added assets/img/124.jpg
Binary file added assets/img/125.jpg
Binary file added assets/img/126.jpg
Binary file added assets/img/127.jpg
Binary file added assets/img/128.jpg
Binary file added assets/img/129.jpg
Binary file added assets/img/13.jpg
Binary file added assets/img/130.jpg
Binary file added assets/img/131.jpg
Binary file added assets/img/132.jpg
Binary file added assets/img/133.jpg
Binary file added assets/img/134.jpg
Binary file added assets/img/135.jpg
Binary file added assets/img/136.jpg
Binary file added assets/img/137.jpg
Binary file added assets/img/138.jpg
Binary file added assets/img/139.jpg
Binary file added assets/img/14.jpg
Binary file added assets/img/140.jpg
Binary file added assets/img/141.jpg
Binary file added assets/img/142.jpg
Binary file added assets/img/143.jpg
Binary file added assets/img/144.jpg
Binary file added assets/img/145.jpg
Binary file added assets/img/15.jpg
Binary file added assets/img/16.jpg
Binary file added assets/img/17.jpg
Binary file added assets/img/18.jpg
Binary file added assets/img/19.jpg
Binary file added assets/img/2.jpg
Binary file added assets/img/20.jpg
Binary file added assets/img/21.jpg
Binary file added assets/img/22.jpg
Binary file added assets/img/23.jpg
Binary file added assets/img/24.jpg
Binary file added assets/img/25.jpg
Binary file added assets/img/26.jpg
Binary file added assets/img/27.jpg
Binary file added assets/img/28.jpg
Binary file added assets/img/29.jpg
Binary file added assets/img/3.jpg
Binary file added assets/img/30.jpg
Binary file added assets/img/31.jpg
Binary file added assets/img/32.jpg
Binary file added assets/img/33.jpg
Binary file added assets/img/34.jpg
Binary file added assets/img/35.jpg
Binary file added assets/img/36.jpg
Binary file added assets/img/37.jpg
Binary file added assets/img/38.jpg
Binary file added assets/img/39.jpg
Binary file added assets/img/4.jpg
Binary file added assets/img/40.jpg
Binary file added assets/img/41.jpg
Binary file added assets/img/42.jpg
Binary file added assets/img/43.jpg
Binary file added assets/img/44.jpg
Binary file added assets/img/45.jpg
Binary file added assets/img/46.jpg
Binary file added assets/img/47.jpg
Binary file added assets/img/48.jpg
Binary file added assets/img/49.jpg
Binary file added assets/img/5.jpg
Binary file added assets/img/50.jpg
Binary file added assets/img/51.jpg
Binary file added assets/img/52.jpg
Binary file added assets/img/53.jpg
Binary file added assets/img/54.jpg
Binary file added assets/img/55.jpg
Binary file added assets/img/56.jpg
Binary file added assets/img/57.jpg
Binary file added assets/img/58.jpg
Binary file added assets/img/59.jpg
Binary file added assets/img/6.jpg
Binary file added assets/img/60.jpg
Binary file added assets/img/61.jpg
Binary file added assets/img/62.jpg
Binary file added assets/img/63.jpg
Binary file added assets/img/64.jpg
Binary file added assets/img/65.jpg
Binary file added assets/img/66.jpg
Binary file added assets/img/67.jpg
Binary file added assets/img/68.jpg
Binary file added assets/img/69.jpg
Binary file added assets/img/7.jpg
Binary file added assets/img/70.jpg
Binary file added assets/img/71.jpg
Binary file added assets/img/72.jpg
Binary file added assets/img/73.jpg
Binary file added assets/img/74.jpg
Binary file added assets/img/75.jpg
Binary file added assets/img/76.jpg
Binary file added assets/img/77.jpg
Binary file added assets/img/78.jpg
Binary file added assets/img/79.jpg
Binary file added assets/img/8.jpg
Binary file added assets/img/80.jpg
Binary file added assets/img/81.jpg
Binary file added assets/img/82.jpg
Binary file added assets/img/83.jpg
Binary file added assets/img/84.jpg
Binary file added assets/img/85.jpg
Binary file added assets/img/86.jpg
Binary file added assets/img/87.jpg
Binary file added assets/img/88.jpg
Binary file added assets/img/89.jpg
Binary file added assets/img/9.jpg
Binary file added assets/img/90.jpg
Binary file added assets/img/91.jpg
Binary file added assets/img/92.jpg
Binary file added assets/img/93.jpg
Binary file added assets/img/94.jpg
Binary file added assets/img/95.jpg
Binary file added assets/img/96.jpg
Binary file added assets/img/97.jpg
Binary file added assets/img/98.jpg
Binary file added assets/img/99.jpg
Binary file added assets/img/car1.jpg
Binary file added assets/img/car2.jpg
Binary file added assets/img/car3.jpg
Loading