mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
adjust breakpoint logic for section
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1835,14 +1835,6 @@ html.light {
|
|||||||
color: #e0e0e1;
|
color: #e0e0e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature-grid {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 40px;
|
|
||||||
justify-content: center;
|
|
||||||
margin-bottom: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cta-container {
|
.cta-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -1884,12 +1876,28 @@ html.light {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.feature-grid {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 40px;
|
||||||
|
justify-content: center;
|
||||||
|
margin-bottom: 20px;
|
||||||
.feature-card {
|
.feature-card {
|
||||||
flex: 1 1 240px;
|
flex: 1 0 100%;
|
||||||
max-width: 300px;
|
max-width: 100%;
|
||||||
cursor: pointer;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
flex: 1 0 calc(50% - 40px);
|
||||||
|
max-width: calc(50% - 40px);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1200px) {
|
||||||
|
flex: 1 0 calc(25% - 30px);
|
||||||
|
max-width: calc(25% - 30px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.feature-card:hover .right-arrow-item::after {
|
.feature-card:hover .right-arrow-item::after {
|
||||||
transform: translateX(4px);
|
transform: translateX(4px);
|
||||||
|
|||||||
Reference in New Issue
Block a user