making user index look good

This commit is contained in:
Richard Mikloš 2024-01-24 15:32:15 +01:00
parent ab2d156657
commit f841b7e0a0
2 changed files with 23 additions and 4 deletions

@ -1,5 +1,7 @@
<!--PAGENAME=Hello, <template name="username">--> <!--PAGENAME=Hello, <template name="username">-->
<h2>Welcome</h2> <header>
<p>Logged in as: <template name="username"></p> <div class="user-index-header-text">
<h1 class="user-index-h1">Hello, <template name="username">.</h1>
<template name="gravatar image"> <h2 class="user-index-h2">What would you like to watch?</h2>
</div>
</header>

@ -25,3 +25,20 @@ a {
.pfp { .pfp {
border-radius: 50px; border-radius: 50px;
} }
.user-index-header-text {
width: fit-content;
margin: auto;
text-align: left;
padding: 0;
}
.user-index-h1 {
font-size: 2rem;
text-align: left;
}
.user-index-h2 {
font-size: 1.65rem;
text-align: left;
}