Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The style for displaying web apps has been changed from a carousel to a card layout #171

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
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
170 changes: 170 additions & 0 deletions assets/css/dias.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
.dias-section-container {
display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto 30px;
max-width: 1152px;
}

.dias-container {
display: flex;
margin-bottom: 30px;

}
.dia-item {
margin: 0 20px;
margin: 0 20px;
width: 25%;
display: flex;
flex-direction: column;
align-items: center;
border: 1px solid #DFDFDF;
border-radius: 6px;
}
.dia-item-image {
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
.dia-under-pics {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
.dia-item-desc {
padding: 10px 20px;
}
.dia-item-desc h3 {
font-size: 18px;
line-height: 21px;
text-transform: none;
transition: color 0.3s ease;
padding: 0 0 10px;
}
.dia-item-desc a:hover h3 {
color: #7A76FF;
}
.dia-under-pics p {
font-size: 14px;
padding: 0;
color: #5B6372;
}
.dia-links {
border-top: 1px solid #DFDFDF;
width: 100%;
padding: 10px 20px;
display: flex;
justify-content: flex-end;
gap: 10px;
}
.dia-links a {
width: 30px;
height: 30px;
border-radius: 30px;
border: 2px solid #fff;
transition: border-color 0.3s ease;
}
.dia-links a:hover {
border: 2px solid #7A76FF;
}
.dia-links img {
border-radius: 30px;
}
/* dia-item 스타일 */
.dia-item {
position: relative;
overflow: hidden;
}

/* Image container styles */
.dia-item .image-wrapper {
position: relative;
overflow: hidden;
}

/* Image styles */
.dia-item-image {
display: block;
width: 100%;
height: auto;
transition: transform 0.3s ease; /* Image zoom effect */
min-height: 200px;
}

/* Zoom image on hover */
.dia-item:hover .image-wrapper .dia-item-image {
transform: scale(1.1); /* Zoom image */
}

/* Overlay styles */
.image-wrapper .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
opacity: 0; /* Hidden by default */
pointer-events: none; /* Prevent the overlay from blocking clicks */
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s ease; /* Smooth transition effect */
}

/* Show overlay on hover */
.dia-item:hover .image-wrapper .overlay {
opacity: 1; /* Display overlay */
}

/* Center icon styles */
.image-wrapper .overlay i {
width: 40px;
height: 40px;
}
.image-wrapper .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
opacity: 0;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s ease;
}

.image-wrapper:hover .overlay {
opacity: 1; /* Show overlay on hover */
}

.overlay svg {
width: 50px;
height: 50px;
fill: #ffffff; /* Icon color */
}

@media (max-width: 1349px) {

}

@media (max-width: 999px) {

}

@media (max-width: 699px) {
.dias-section-container {
padding: 0 20px;
}
.dias-container {
flex-direction: column;
gap: 20px;
}
.dia-item {
width: 100%;
margin: 0;
}

}
170 changes: 170 additions & 0 deletions assets/css/topdowns.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
.topdowns-section-container {
display: flex;
flex-direction: column;
align-items: center;
margin: 0 auto 30px;
max-width: 1152px;
}

.topdowns-container {
display: flex;
margin-bottom: 30px;

}
.topdown-item {
margin: 0 20px;
margin: 0 20px;
width: 25%;
display: flex;
flex-direction: column;
align-items: center;
border: 1px solid #DFDFDF;
border-radius: 6px;
}
.topdown-item-image {
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
.topdown-under-pics {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
.topdown-item-desc {
padding: 10px 20px;
}
.topdown-item-desc h3 {
font-size: 18px;
line-height: 21px;
text-transform: none;
transition: color 0.3s ease;
padding: 0 0 10px;
}
.topdown-item-desc a:hover h3 {
color: #7A76FF;
}
.topdown-under-pics p {
font-size: 14px;
padding: 0;
color: #5B6372;
}
.topdown-links {
border-top: 1px solid #DFDFDF;
width: 100%;
padding: 10px 20px;
display: flex;
justify-content: flex-end;
gap: 10px;
}
.topdown-links a {
width: 30px;
height: 30px;
border-radius: 30px;
border: 2px solid #fff;
transition: border-color 0.3s ease;
}
.topdown-links a:hover {
border: 2px solid #7A76FF;
}
.topdown-links img {
border-radius: 30px;
}
/* topdown-item styles */
.topdown-item {
position: relative;
overflow: hidden;
}

/* Image container styles */
.topdown-item .image-wrapper {
position: relative;
overflow: hidden;
}

/* Image styles */
.topdown-item-image {
display: block;
width: 100%;
height: auto;
transition: transform 0.3s ease; /* Image zoom effect */
min-height: 200px;
}

/* Zoom image on hover */
.topdown-item:hover .image-wrapper .topdown-item-image {
transform: scale(1.1); /* Zoom image */
}

/* Overlay styles */
.image-wrapper .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
opacity: 0; /* Hidden by default */
pointer-events: none; /* Prevent the overlay from blocking clicks */
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s ease; /* Smooth transition effect */
}

/* Show overlay on hover */
.topdown-item:hover .image-wrapper .overlay {
opacity: 1; /* Display overlay */
}

/* Center icon styles */
.image-wrapper .overlay i {
width: 40px;
height: 40px;
}
.image-wrapper .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
opacity: 0;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s ease;
}

.image-wrapper:hover .overlay {
opacity: 1; /* Show overlay on hover */
}

.overlay svg {
width: 50px;
height: 50px;
fill: #ffffff; /* Icon color */
}

@media (max-width: 1349px) {

}

@media (max-width: 999px) {

}

@media (max-width: 699px) {
.topdowns-section-container {
padding: 0 20px;
}
.topdowns-container {
flex-direction: column;
gap: 20px;
}
.topdown-item {
width: 100%;
margin: 0;
}

}
Loading