Skip to content

Commit

Permalink
Responsive landingpage
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstyl committed Oct 7, 2024
1 parent d04653f commit ae930d6
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ Simpler API, and it actually works. I like it a lot, after continuously having s
</div>
</div>


<div class="testimonial-container">
<div class="testimonial-image">
<img src="/testimonials/alexstyl.jpg" alt="Alex Styl">
Expand All @@ -155,6 +154,7 @@ Plus, I needed high-quality, non-Material looking components for my Compose Mult
font-family: Arial, sans-serif;
padding-top: 8px;
padding-bottom: 8px;
flex-wrap: wrap;
}
.testimonial-image {
flex: 0 0 192px;
Expand Down Expand Up @@ -188,7 +188,30 @@ Plus, I needed high-quality, non-Material looking components for my Compose Mult
opacity: 0.8;
}

/* These variables should be defined in your global CSS for light/dark mode */
@media (max-width: 768px) {
.testimonial-container {
flex-direction: column;
align-items: center;
}
.testimonial-image {
max-width: 100px;
height: 100px;
flex: 0 0 100px;
}
.testimonial-content {
padding: 10px;
}
.testimonial-text {
font-size: 16px;
}
.testimonial-author h3 {
font-size: 18px;
}
.testimonial-author p {
font-size: 14px;
}
}

:root {
--background-color: #ffffff;
--text-color: #000000;
Expand Down

0 comments on commit ae930d6

Please sign in to comment.