Responsible note as <small>: meta information, dimmer than the description
Deploy / deploy (push) Successful in 1m4s
Deploy / deploy (push) Successful in 1m4s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
ab2b3ec128
commit
f1d835d107
+2
-2
@@ -290,13 +290,13 @@ fn ResponsibleNote(responsible: Responsible) -> impl IntoView {
|
||||
};
|
||||
|
||||
view! {
|
||||
<p class="question-responsible">
|
||||
<small class="question-responsible">
|
||||
"Asked by " {responsible.name.clone()} " — "
|
||||
<a data-user=user data-domain=domain on:mouseover=assemble on:click=assemble>
|
||||
"contact them"
|
||||
</a>
|
||||
" if you get stuck."
|
||||
</p>
|
||||
</small>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+6
-3
@@ -269,12 +269,15 @@ main.not-found {
|
||||
border-bottom-color: var(--accent);
|
||||
}
|
||||
|
||||
/* Same hue and size as the hero description it sits under - one line,
|
||||
reading as part of the question's own text. */
|
||||
/* Meta information under the question - same hue family as the
|
||||
description but dimmer, and smaller: it matters less than what the
|
||||
question itself says. */
|
||||
.question-responsible {
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: var(--ink-dim);
|
||||
font-size: 1.05rem;
|
||||
opacity: 0.7;
|
||||
font-size: 0.85rem;
|
||||
line-height: 1.6;
|
||||
margin: 0.6rem 1rem 1.8rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user