more php changes!

This commit is contained in:
Richard Mikloš 2024-01-25 12:58:01 +01:00
parent 11d04499ba
commit d6c22c45d2
3 changed files with 23 additions and 23 deletions

@ -76,6 +76,7 @@ if (isset($_SESSION['user_id'])) {
$gravatarUrl = "https://www.gravatar.com/avatar/$hash?s=100"; $gravatarUrl = "https://www.gravatar.com/avatar/$hash?s=100";
$gravatarTag = "<img src='$gravatarUrl' alt='Gravatar Profile Picture'>"; $gravatarTag = "<img src='$gravatarUrl' alt='Gravatar Profile Picture'>";
$page_data = str_replace('<template name="gravatar image">', $gravatarTag, $page_data); $page_data = str_replace('<template name="gravatar image">', $gravatarTag, $page_data);
$nav = str_replace('<template name="gravatar image">', $gravatarTag, $nav);
$page_data = str_replace('<template name="username">', $_SESSION['user_username'], $page_data); $page_data = str_replace('<template name="username">', $_SESSION['user_username'], $page_data);
} }

@ -25,26 +25,3 @@ a {
.pfp { .pfp {
border-radius: 50px; border-radius: 50px;
} }
.user-index-header-text {
width: 80%;
margin: auto;
text-align: left;
padding: 0;
}
.user-index-h1 {
font-size: 4rem;
text-align: left;
}
.user-index-h2 {
font-size: 3.3rem;
text-align: left;
}
.outlined-text {
-webkit-text-fill-color: transparent;
-webkit-text-stroke: 2.2px #8c00ff;
}

@ -0,0 +1,22 @@
.user-index-header-text {
width: 80%;
margin: auto;
text-align: left;
padding: 0;
}
.user-index-h1 {
font-size: 4rem;
text-align: left;
}
.user-index-h2 {
font-size: 3.3rem;
text-align: left;
}
.outlined-text {
-webkit-text-fill-color: transparent;
-webkit-text-stroke: 2.2px #8c00ff;
}