aboutsummaryrefslogtreecommitdiffstats
path: root/code/ui/character/LookingAtInfo.razor
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-07-31 03:08:23 +0100
committerLeonardo Bishop <me@leonardobishop.com>2023-07-31 03:08:23 +0100
commited8a0b8c6dd98d4edaec5d2a7d5c658b4f7898ef (patch)
tree32e96019aae4e85849d46b5d457f6c9289e27023 /code/ui/character/LookingAtInfo.razor
parent8f2481f8fb66ed519cb7d39dbe59bc4bada1d696 (diff)
Adjust style for looking at info
Diffstat (limited to 'code/ui/character/LookingAtInfo.razor')
-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
{