mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-01-11 19:57:35 +00:00
Fix bottom margin in admonitions and card text + fix card margin on 'Donating to Codeberg' page (#668)
**Before:**    **After:**    Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/668 Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org> Co-authored-by: mst <oivan2401@gmail.com> Co-committed-by: mst <oivan2401@gmail.com>
This commit is contained in:
parent
b48564bd4a
commit
224d96e4a7
2 changed files with 16 additions and 2 deletions
|
|
@ -242,3 +242,17 @@ a.show-on-focus:focus {
|
|||
[data-bs-theme='light'] .navbar-brand img {
|
||||
content: url(https://design.codeberg.org/logo-kit/icon.svg);
|
||||
}
|
||||
|
||||
.alert-heading {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
/* fix bottom margin in admonitions and cards */
|
||||
|
||||
.alert p:not(ul p):nth-last-child(2),
|
||||
.alert p:not(ul p):last-child,
|
||||
.alert li:last-child p,
|
||||
.alert ul:last-child,
|
||||
.card-text p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ develop new features and sustain the Free Software ecosystem around.
|
|||
|
||||
## How to Donate
|
||||
|
||||
<div class="card">
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Liberapay</h5>
|
||||
<p class="card-text">
|
||||
|
|
@ -23,7 +23,7 @@ develop new features and sustain the Free Software ecosystem around.
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card mb-2">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">SEPA wire transfer</h5>
|
||||
<p class="card-text">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue