mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
Fix alignment of button and spacing of sections
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -102,9 +102,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.page-docs {
|
.page-docs {
|
||||||
|
|
||||||
|
.h4::before {
|
||||||
|
margin-top: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row {
|
||||||
|
margin-right: 0;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
margin-top: 64px;
|
margin-top: 128px;
|
||||||
margin-bottom: 64px;
|
margin-bottom: 128px;
|
||||||
margin-right: 8%;
|
margin-right: 8%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -128,17 +139,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row {
|
.flat-card-padding {
|
||||||
margin-right: 0;
|
margin-bottom: 75px;
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.col {
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
.btn-primary {
|
|
||||||
align-self: flex-end;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@@ -149,3 +151,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.align-button-on-bottom {
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.quickstart-card {
|
||||||
|
padding: 32px;
|
||||||
|
|
||||||
|
.quickstart-image {
|
||||||
|
margin-left: -32px;
|
||||||
|
margin-right: -32px;
|
||||||
|
margin-bottom: -32px;
|
||||||
|
width: calc(100% + 64px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -32,10 +32,10 @@
|
|||||||
alt={{title}}
|
alt={{title}}
|
||||||
/>
|
/>
|
||||||
<h5 class="row">{{ title }}</h5>
|
<h5 class="row">{{ title }}</h5>
|
||||||
<p class="row faded-text">
|
<p class="row faded-text flat-card-padding">
|
||||||
{{ description }}
|
{{ description }}
|
||||||
</p>
|
</p>
|
||||||
<div class="col">
|
<div class="col align-button-on-bottom">
|
||||||
{{ primaryButton(href, linkText, false) }}
|
{{ primaryButton(href, linkText, false) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -288,14 +288,14 @@
|
|||||||
<div class="mx-auto mb-10">
|
<div class="mx-auto mb-10">
|
||||||
<h4>Getting Started with XRP Ledger</h4>
|
<h4>Getting Started with XRP Ledger</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-grid card-grid-2xN">
|
<div class="card-grid card-grid-2xN quickstart-card">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card video-image">
|
<div class="card video-image">
|
||||||
<h5 class="mt-7"> Quickstart to XRP Ledger </h5>
|
<h5 class="mt-7"> Quickstart to XRP Ledger </h5>
|
||||||
<p class="mb-8 mt-4">
|
<p class="mb-8 mt-4">
|
||||||
An introduction to fundamental aspects of the XRP Ledger.
|
An introduction to fundamental aspects of the XRP Ledger.
|
||||||
</p>
|
</p>
|
||||||
<div class="dg-lg-block mb-5">
|
<div class="dg-lg-block mb-3">
|
||||||
<a
|
<a
|
||||||
class="btn btn-primary btn-arrow get-started-button"
|
class="btn btn-primary btn-arrow get-started-button"
|
||||||
href="./tutorials/quickstart/"
|
href="./tutorials/quickstart/"
|
||||||
@@ -307,7 +307,7 @@
|
|||||||
src="/assets/img/backgrounds/docs-quick-start.svg"
|
src="/assets/img/backgrounds/docs-quick-start.svg"
|
||||||
alt="quick-start"
|
alt="quick-start"
|
||||||
id="quick-start-img"
|
id="quick-start-img"
|
||||||
class="img-fluid"
|
class="quickstart-image"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -318,12 +318,15 @@
|
|||||||
{{ videoCard(video.url, video.title, video.src) }}
|
{{ videoCard(video.url, video.title, video.src) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{{ primaryButton("https://www.youtube.com/playlist?list=PLJQ55Tj1hIVZtJ_JdTvSum2qMTsedWkNi", "Watch Full Series", true) }}
|
<div class="align-button-on-bottom">
|
||||||
|
{{ primaryButton("https://www.youtube.com/playlist?list=PLJQ55Tj1hIVZtJ_JdTvSum2qMTsedWkNi", "Watch Full Series", true) }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="py-26 text-left">
|
<section class="text-left">
|
||||||
<h4 class="pb-4">Intermediate Learning Sources</h4>
|
<h4 class="pb-4">Intermediate Learning Sources</h4>
|
||||||
<div class="card-grid card-grid-3xN">
|
<div class="card-grid card-grid-3xN">
|
||||||
{% for video in intermediateVideos %}
|
{% for video in intermediateVideos %}
|
||||||
@@ -332,7 +335,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="py-26 text-left">
|
<section class="text-left">
|
||||||
<div class="card-grid card-grid-2xN">
|
<div class="card-grid card-grid-2xN">
|
||||||
<div class="col d-flex align-items-center justify-content-center">
|
<div class="col d-flex align-items-center justify-content-center">
|
||||||
<img
|
<img
|
||||||
|
|||||||
Reference in New Issue
Block a user