css: Move pricing table styles to CSS class

Also add payment-required classes
This commit is contained in:
Noelle Leigh 2024-01-10 20:27:01 -05:00 committed by Drew DeVault
parent 38b633cc3f
commit b578196b52
2 changed files with 8 additions and 4 deletions

View File

@ -176,7 +176,7 @@ nav {
.icon {
display: inline-block;
line-height: .75em;
path {
fill: currentColor;
}
@ -616,3 +616,7 @@ table td {
padding: .5em;
border: 1px solid lightgrey;
}
.pricing-table {
width: 100%;
}

View File

@ -136,7 +136,7 @@ Payment is optional for most most features during the alpha, but some services
require payment to use.
</p>
<table style="width: 100%">
<table class="pricing-table">
<thead>
<tr>
<th>Service</th>
@ -146,11 +146,11 @@ require payment to use.
<tbody>
<tr>
<td>builds.sr.ht</td>
<td>Required</td>
<td><span class="payment-required">Required</span></td>
</tr>
<tr>
<td>chat.sr.ht</td>
<td>Required</td>
<td><span class="payment-required">Required</span></td>
</tr>
<tr>
<td>git.sr.ht</td>