aboutsummaryrefslogtreecommitdiffstats
path: root/code/ui
diff options
context:
space:
mode:
Diffstat (limited to 'code/ui')
-rw-r--r--code/ui/character/LookingAtInfo.razor17
1 files changed, 10 insertions, 7 deletions
diff --git a/code/ui/character/LookingAtInfo.razor b/code/ui/character/LookingAtInfo.razor
index 098feb4..dceb627 100644
--- a/code/ui/character/LookingAtInfo.razor
+++ b/code/ui/character/LookingAtInfo.razor
@@ -18,23 +18,26 @@ lookingatinfo {
flex-direction: column;
}
.box {
- /* backdrop-filter-blur: 8px;
- background-color: rgba(0, 0, 0, 0.20);
- padding: 10px;
- color: white; */
+ backdrop-filter-blur: 8px;
+ background-color: rgba(0, 0, 0, 0.10);
+ padding: 5px;
+ color: white;
font-weight: 700;
- font-size: 25px;
+ font-size: 20px;
font-family: "Roboto";
- margin-top: 60px;
+ margin-top: 100px;
}
.text {
- text-shadow: 1px 1px 0px 0px rgba(0,0,0,0.75);
+ /* text-shadow: 1px 1px 0px 0px rgba(0,0,0,0.75); */
}
</style>
+@if (GetLookingAtName() != "")
+{
<div class="box" style="color: @GetLookingAtColour()">
<span class="text">@GetLookingAtName()</span>
</div>
+}
@code
{