Make name stand out
This commit is contained in:
@ -140,6 +140,13 @@ def main():
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.name-value {
|
||||
font-size: 1.5rem; /* Make the text large */
|
||||
font-weight: bold; /* Bold the text */
|
||||
color: #2a73cc; /* Use a nice blue color */
|
||||
background-color: #e6f0ff; /* Optional: light background for emphasis */
|
||||
}
|
||||
|
||||
.comments-label {
|
||||
font-weight: 500;
|
||||
margin-top: 1em;
|
||||
@ -232,10 +239,14 @@ def main():
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
{% if "Name" in entry.label %}
|
||||
<p class="name-value">{{ entry.label }}<span class="name-value"> {{ entry.value }}</span></p>
|
||||
{% else %}
|
||||
<p class="block-label">{{ entry.label }}</p>
|
||||
<p class="comments-value block-value">{{ entry.value }}</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user