adjust medal and rainbow ID style

This commit is contained in:
xiaomlove
2022-08-11 00:20:04 +08:00
parent b539eff587
commit 19b5809af3
5 changed files with 17 additions and 3 deletions

View File

@@ -25,6 +25,13 @@ Complete PT website building solution. Based on NexusPHP + Laravel + Filament.
- Backend management system
- Json API
- ....
#### The following functions are provided by the plugin
- Post like
- Post reward
- Sticky promotion
- Custom menu
- Lucky draw
## System Requirements
- PHP: 8.0, must have extensions: bcmath, ctype, curl, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix, gmp

View File

@@ -25,6 +25,13 @@
- Json API
- ....
#### 以下功能由插件提供
- 帖子点赞
- 帖子奖励
- 置顶促销
- 自定义菜单
- 幸运大转盘
## 系统要求
- PHP: 8.0必须扩展bcmath, ctype, curl, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix, gmp
- Mysql: 5.7 最新版或以上版本

View File

@@ -1,6 +1,6 @@
<?php
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.21');
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-08-10');
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-08-11');
defined('IN_TRACKER') || define('IN_TRACKER', false);
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");

View File

@@ -3736,7 +3736,7 @@ function get_username($id, $big = false, $link = true, $bold = true, $target = f
//medal
$medalHtml = '';
foreach ($arr['wearing_medals'] as $medal) {
$medalHtml .= sprintf('<img src="%s" title="%s" class="preview" style="vertical-align: middle;max-height: 16px;max-width: 16px;margin-right: 2px"/>', $medal['image_large'], $medal['name']);
$medalHtml .= sprintf('<img src="%s" title="%s" class="preview" style="vertical-align: sub;max-height: 16px;max-width: 16px;margin-right: 2px"/>', $medal['image_large'], $medal['name']);
}
$href = getSchemeAndHttpHost() . "/userdetails.php?id=$id";

View File

@@ -511,7 +511,7 @@ img.hitandrun {
text-align: center;
text-decoration: underline;
/*font-size: 32px;*/
font-family: monospace;
/*font-family: monospace;*/
/*letter-spacing: 5px;*/
background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
-webkit-background-clip: text;