CSS: border instead of hr, default margin

This commit is contained in:
DarkCat09 2023-08-23 15:43:57 +04:00
parent 2f9032ba5f
commit bfc871f395
No known key found for this signature in database
GPG Key ID: 0A26CD5B3345D6E3
2 changed files with 4 additions and 4 deletions

View File

@ -5,9 +5,10 @@
font-size: 0.9rem;
}
.title {
border-bottom: 0.125rem solid var(--bg2);
font-weight: 600;
margin: 1rem;
}
a {

View File

@ -15,10 +15,9 @@
<a class="button secondary" href="/">Home</a>
<a class="button secondary" href="<%= remoteUrl %>">Original page</a>
</div>
<div class="title">
<p class="title">
<%= parsed.title %>
</div>
<hr>
</p>
<%- parsed.content %>
</main>
</body>