Skip to content
Open
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
74 changes: 73 additions & 1 deletion assets/scss/_demo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

.demo-container {
max-width: 1000px;
width: 100%;
margin: 0 auto;
// background: rgba(49, 54, 36, 0.8);
backdrop-filter: blur(8px);
border-radius: 24px;
overflow: hidden;
Expand Down Expand Up @@ -74,6 +74,7 @@
.demo-card {
padding: 40px;
text-align: left;
word-break: break-word;

.card-badges {
display: flex;
Expand Down Expand Up @@ -205,3 +206,74 @@
}
}
}

@media (max-width: 992px) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charan2717 Please set to 768px then test

.demo-section {
.demo-card {
padding: 30px;

.card-meta {
grid-template-columns: repeat(2, 1fr);
}
}

.demo-personas {
grid-template-columns: repeat(2, 1fr);
}
}
}

@media (max-width: 768px) {
.demo-section {
padding: 60px 15px;

.demo-header {
.demo-title {
font-size: 1.5rem;
}
}

.demo-card {
padding: 25px;

.card-meta {
grid-template-columns: 1fr;
gap: 15px;
}

.card-actions {
flex-direction: column;

.demo-btn-primary,
.btn-outline {
width: 100%;
text-align: center;
}
}
}

.demo-personas {
grid-template-columns: 1fr;
gap: 1.5rem;
}
}
}

@media (max-width: 480px) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charan2717 same

.demo-section {

.demo-card {
padding: 20px;

h3 {
font-size: 1.4rem;
}
}

.demo-header {
.demo-subtitle {
font-size: 0.9rem;
}
}
}
}