Merge pull request #15 from IDeathByte/main
Fix user icon/fonts scaling
This commit is contained in:
@@ -576,8 +576,8 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rpg-user-portrait {
|
.rpg-user-portrait {
|
||||||
width: clamp(24px, 4vh, 32px);
|
width: clamp(1.7vw, 1.8vw, 1.9vw);
|
||||||
height: clamp(24px, 4vh, 32px);
|
height: clamp(1.7vw, 1.8vw, 1.9vw);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 2px solid var(--rpg-highlight);
|
border: 2px solid var(--rpg-highlight);
|
||||||
box-shadow: 0 0 8px var(--rpg-highlight);
|
box-shadow: 0 0 8px var(--rpg-highlight);
|
||||||
@@ -726,7 +726,7 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
|
|||||||
/* User name and level - inline with portrait */
|
/* User name and level - inline with portrait */
|
||||||
.rpg-user-name {
|
.rpg-user-name {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 1em;
|
font-size: 0.7vw;
|
||||||
color: var(--rpg-text-color);
|
color: var(--rpg-text-color);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -734,14 +734,14 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rpg-level-label {
|
.rpg-level-label {
|
||||||
font-size: 1em;
|
font-size: 0.7vw;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--rpg-text-color);
|
color: var(--rpg-text-color);
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rpg-level-value {
|
.rpg-level-value {
|
||||||
font-size: 1em;
|
font-size: 0.7vw;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: var(--rpg-highlight-color);
|
color: var(--rpg-highlight-color);
|
||||||
padding: clamp(1px, 0.2vh, 2px) 0.375em;
|
padding: clamp(1px, 0.2vh, 2px) 0.375em;
|
||||||
|
|||||||
Reference in New Issue
Block a user