Skip to content
Merged
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
79 changes: 71 additions & 8 deletions assets/css/section2.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.section__2 {
display: flex;
justify-content: center;
background: -moz-linear-gradient(90deg, #8e2610 0%, #481502 100%);
background: linear-gradient(90deg, #8e2610 0%, #481502 100%);
background-repeat: no-repeat;
background-size: 100% 72px;
Expand All @@ -13,10 +14,6 @@
box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;
box-sizing: border-box;
}
.section__2-container-shopping {
max-width: 900px;
height: 200px;
}
.section__2-container-shopping:nth-child(1) {
flex: 1;
background-color: var(--primary-color);
Expand Down Expand Up @@ -78,12 +75,13 @@
border-radius: 10px;
}
.section__2-carousel {
max-width: 200px;
max-height: 500px;
max-width: 250px;
max-height: 250px;
}
.section__2-carousel-item {
height: 100%;
width: 100%;
width: 150px;
height: 150px;
margin-right: 10px;
}
/* right sight carousel */
.section__2-title-button {
Expand Down Expand Up @@ -136,3 +134,68 @@
color: white;
font-weight: bold;
}
.section__2-container-shopping {
max-width: 900px;
height: 200px;
}

@media screen and (max-width: 1280px) {
.section__2-container {
width: 100%;
margin: 0 2rem;
}
.section__2-container-shopping {
max-width: 100%;
}
.section__2-container {
width: 100%;
flex-direction: column;
}
.section__2-shopping-caption {
text-align: center;
}
.section__2-carousel {
max-width: 400px;
max-height: 400px;
}
}

@media screen and (max-width: 600px) {
.section__2-container {
margin: 0;
}
.section__2-container {
height: fit-content;
}
.section__2-carousel-item {
width: 200px;
height: 200px;
}
.section__2-container-shopping:nth-child(1) {
flex-direction: column;
flex: 0;
padding-top: 2rem;
}
.section__2-container-shopping:nth-child(2) {
flex: 0;
}
.section__2-container-shopping-right {
order: -10;
flex: 0;
}
.section__2-container-shopping-left {
flex: 0;
}
.section__2-shopping-caption {
font-size: 16px;
line-height: 20px;
text-align: center;
}
.section__2-list-store {
flex-wrap: wrap;
}
.section__2-title-description {
font-size: 16px;
margin-top: 5px;
}
}
1 change: 0 additions & 1 deletion assets/css/section3.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
width: 72%;
max-width: 1280px;
margin: 0 auto;
min-width: 50vw;
}
.section__3 {
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
@import "./section10.css";
@import "./section7.css";
@import "./section8.css";
@import "./section9.css";
@import "./section9.css";
15 changes: 5 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,37 +149,32 @@
<img
src="https://kyou.id/static/img/store/1-sm.jpg"
style="object-fit: cover"
class="section__2-carousel-item"
alt=""
width="200px"
height="200px"
/>
<img
src="https://kyou.id/static/img/store/2-sm.jpg"
style="object-fit: cover"
alt=""
width="200px"
height="200px"
class="section__2-carousel-item"
/>
<img
src="https://kyou.id/static/img/store/3-sm.jpg"
style="object-fit: cover"
alt=""
width="200px"
height="200px"
class="section__2-carousel-item"
/>
<img
src="https://kyou.id/static/img/store/4-sm.jpg"
style="object-fit: cover"
alt=""
width="200px"
height="200px"
class="section__2-carousel-item"
/>
<img
src="https://kyou.id/static/img/store/4-sm.jpg"
style="object-fit: cover"
alt=""
width="200px"
height="200px"
class="section__2-carousel-item"
/>
</div>
</div>
Expand Down