mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 12:15:50 +00:00
Style: don't bottom-align homepage intro
This commit is contained in:
8
assets/vendor/bootstrap.css
vendored
8
assets/vendor/bootstrap.css
vendored
@@ -7170,9 +7170,9 @@ h1, h2, h3, h4, h5 {
|
|||||||
background-color: #dedede;
|
background-color: #dedede;
|
||||||
padding: 0; }
|
padding: 0; }
|
||||||
.card-grid.card-grid-2x2 {
|
.card-grid.card-grid-2x2 {
|
||||||
/* left half is a hero area; right half is a 2x2 grid. Total grid is 4x2 */
|
/* left half is a hero area; right half is a 2x2 grid. */
|
||||||
grid-template-columns: 2fr 1fr 1fr;
|
grid-template-columns: 2fr 1fr 1fr;
|
||||||
grid-template-rows: 1fr 1fr; }
|
grid-template-rows: auto auto; }
|
||||||
.card-grid.card-grid-2x2 .section-hero {
|
.card-grid.card-grid-2x2 .section-hero {
|
||||||
grid-row-end: span 2; }
|
grid-row-end: span 2; }
|
||||||
@media (max-width: 991.98px) {
|
@media (max-width: 991.98px) {
|
||||||
@@ -7181,7 +7181,7 @@ h1, h2, h3, h4, h5 {
|
|||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-template-rows: repeat(5, auto); } }
|
grid-template-rows: repeat(5, auto); } }
|
||||||
.card-grid.card-grid-2x1 {
|
.card-grid.card-grid-2x1 {
|
||||||
/* left half is a hero area; right half is a 2x1 grid. Total grid is 4x1 */
|
/* left half is a hero area; right half is a 2x1 grid. */
|
||||||
grid-template-columns: 2fr 1fr 1fr;
|
grid-template-columns: 2fr 1fr 1fr;
|
||||||
grid-template-rows: 1fr; }
|
grid-template-rows: 1fr; }
|
||||||
.card-grid.card-grid-2x1 .section-hero {
|
.card-grid.card-grid-2x1 .section-hero {
|
||||||
@@ -7222,8 +7222,6 @@ h1, h2, h3, h4, h5 {
|
|||||||
.card-grid.card-grid-3xN {
|
.card-grid.card-grid-3xN {
|
||||||
/* Switch to 1-column layout on smaller widths */
|
/* Switch to 1-column layout on smaller widths */
|
||||||
grid-template-columns: 1fr; } }
|
grid-template-columns: 1fr; } }
|
||||||
.card-grid .align-bottom {
|
|
||||||
justify-content: flex-end; }
|
|
||||||
.card-grid .card {
|
.card-grid .card {
|
||||||
padding: 40px;
|
padding: 40px;
|
||||||
border: 0; }
|
border: 0; }
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<section class="container-fluid card-grid card-grid-2x2">
|
<section class="container-fluid card-grid card-grid-2x2">
|
||||||
<div class="section-hero card align-bottom">
|
<div class="section-hero card">
|
||||||
<div>
|
<div>
|
||||||
<h1 class="display-4">Powering the Internet of Value.</h1>
|
<h1 class="display-4">Powering the Internet of Value.</h1>
|
||||||
<div class="blurb">
|
<div class="blurb">
|
||||||
|
|||||||
@@ -152,10 +152,6 @@ h1, h2, h3, h4, h5 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.align-bottom {
|
|
||||||
justify-content: flex-end;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
padding: 40px;
|
padding: 40px;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user