Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Minor fixes
  • Loading branch information
saundefined committed Oct 25, 2024
commit b37ad35c8e3c059e0d24cdf8d7ba8e4f40227e70
45 changes: 36 additions & 9 deletions styles/why-use-php.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,26 @@
margin: 2rem auto 4.5rem;
}

.block img {
max-width: 100%;
max-height: 100%;
}


.block p {
margin-bottom: 0.5rem;
}

.block--grid {
display: grid;
grid-template-columns: 1fr 3fr;
grid-gap: 4rem;
grid-template-columns: 2fr 3fr;
grid-gap: 2rem;
}

.title {
font-size: 2.5rem;
font-weight: 500;
white-space: nowrap;
margin-bottom: 1rem;
margin-bottom: 1.5rem;
color: #000;
line-height: 1;
}
Expand All @@ -26,6 +35,12 @@
margin-bottom: 0.5rem;
}

.block__intro {
display: flex;
flex-direction: column;
justify-content: center;
}

.hero__body {
font-size: 1rem;
line-height: 1.75rem;
Expand Down Expand Up @@ -60,10 +75,11 @@
margin: 4rem auto 0;
}

.logo {
.logos {
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-columns: repeat(8, 1fr);
grid-gap: 1rem;
margin: 2rem auto;
}

.logo__item {
Expand Down Expand Up @@ -118,9 +134,16 @@
margin-bottom: 1rem;
}

.card__image img {
max-width: 100%;
max-height: 100%;
@media (max-width: 1280px) {
.logos {
grid-template-columns: repeat(6, 1fr);
}
}

@media (max-width: 1024px) {
.logos {
grid-template-columns: repeat(4, 1fr);
}
}

@media (max-width: 768px) {
Expand All @@ -134,4 +157,8 @@
flex-direction: column;
gap: 1rem;
}

.logos {
grid-template-columns: repeat(2, 1fr);
}
}
19 changes: 12 additions & 7 deletions why-use-php.php

Large diffs are not rendered by default.