mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-08 02:15:12 -06:00
style: avoid orphan words in short paragraphs
Sponsor, sponsorship, call-to-action, and table-note paragraphs could end on a lone word, unlike their peers. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -728,6 +728,7 @@ kbd {
|
||||
color: var(--ink-soft);
|
||||
font-size: var(--text-lg);
|
||||
line-height: 1.55;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
.sponsor-desc a {
|
||||
@@ -768,12 +769,14 @@ kbd {
|
||||
align-self: start;
|
||||
color: var(--ink-soft);
|
||||
font-size: var(--text-base);
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
.results-note {
|
||||
color: var(--ink-soft);
|
||||
font-size: var(--text-sm);
|
||||
justify-self: end;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
/* Single-project pages drop the order note, so keep the note in the last column */
|
||||
@@ -1399,6 +1402,7 @@ th[data-sort].sort-asc::after {
|
||||
color: var(--ink-muted);
|
||||
font-size: var(--text-sm);
|
||||
line-height: 1.55;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
.sponsorship-body {
|
||||
@@ -1473,6 +1477,7 @@ th[data-sort].sort-asc::after {
|
||||
color: var(--ink-soft);
|
||||
font-size: var(--text-base);
|
||||
line-height: 1.65;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
.tier-list {
|
||||
@@ -1548,6 +1553,7 @@ th[data-sort].sort-asc::after {
|
||||
color: var(--ink-soft);
|
||||
font-size: var(--text-base);
|
||||
line-height: 1.6;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
.tier-includes li::before {
|
||||
@@ -1612,6 +1618,7 @@ th[data-sort].sort-asc::after {
|
||||
.past-sponsor-desc {
|
||||
color: var(--ink-soft);
|
||||
font-size: var(--text-lg);
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
.sponsorship-cta-row {
|
||||
@@ -1649,6 +1656,7 @@ th[data-sort].sort-asc::after {
|
||||
.final-cta p {
|
||||
color: var(--ink-soft);
|
||||
font-size: var(--text-lg);
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
.final-cta .hero-action-primary {
|
||||
|
||||
Reference in New Issue
Block a user