feat: user_info page ac_problems hover bg
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-09-29 10:20:12 +08:00
parent 4d002d776e
commit d2e4f799b8
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
2 changed files with 6 additions and 1 deletions

View File

@ -131,7 +131,7 @@
<ul class="nav uoj-ac-problems-list">
<?php foreach ($ac_problems as $problem): ?>
<li class="nav-item">
<a class="nav-link" href="/problem/<?= $problem['problem_id'] ?>" role="button">
<a class="nav-link rounded uoj-ac-problems-list-item" href="/problem/<?= $problem['problem_id'] ?>" role="button">
#<?= $problem['problem_id'] ?>. <?= $problem['title'] ?>
</a>
</li>

View File

@ -233,3 +233,8 @@ form.uoj-form-compressed button {
.uoj-ac-problems-list a {
min-height: 60px;
}
.uoj-ac-problems-list-item:hover {
color: var(--bs-nav-link-color) !important;
background-color: #eeeeee70;
}