Update 2 files

- /html/src/css/style.css
- /html/user.php
This commit is contained in:
Jan BELLON 2024-03-11 21:10:02 +00:00
parent 6983178f6f
commit a8be239f9e
2 changed files with 19 additions and 1 deletions

View File

@ -162,6 +162,20 @@ a {
max-height: 10em; max-height: 10em;
} }
.user-profile .user-banner {
width: 100%;
height: 20em;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.user-profile .user-pp-image {
width: 10em;
height: 10em;
border-radius: 10em;
}
.row { .row {
display: inline-block; display: inline-block;
background-color: var(--banner-background); background-color: var(--banner-background);

View File

@ -67,6 +67,10 @@ if($resultat) {
padding: 0; padding: 0;
} }
.user-banner {
background-image: url('<?=$user_banner?>');
}
</style> </style>
<link rel="icon" href="./src/img/favicon.ico"> <link rel="icon" href="./src/img/favicon.ico">
<title><?=$title?></title> <title><?=$title?></title>
@ -99,7 +103,7 @@ if($resultat) {
<div> <div>
<div class="user-profile"> <div class="user-profile">
<div class="user-header"> <div class="user-header">
<div class="user-banner"><img src="<?=$user_banner?>" class="user-banner-image"></div> <div class="user-banner"></div>
<div class="user-pp"><img src="<?=$user_pp?>" class="user-pp-image"></div> <div class="user-pp"><img src="<?=$user_pp?>" class="user-pp-image"></div>
<div class="userinfo"> <div class="userinfo">
<div class="names"> <div class="names">