Template:PI/styles.css: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
LVL (talk | contribs)
Created page with ".pi-wrapper { z-index: 1; position: relative; bottom: 6px; left: 16px; font-family: 'Retail Demo Regular', 'PT Serif', 'Palatino', serif; color: #FFEFD7; } .pi-text { color: #FFEFD7; text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.6); font-weight: bold; background-color: rgba(33, 33, 29, 0.6); border-radius: 5px; padding: 2px 2px 0px 2px; margin-left: -17px; } .pi-icon { z-index: -1; opacity: 0.7; position: relat..."
 
LVL (talk | contribs)
No edit summary
Line 28: Line 28:
.pi-compact {
.pi-compact {
     cursor: help;
     cursor: help;
     display: inline-block;
     display: inline-flex;
    align-items: baseline;
    gap: 2px;
     vertical-align: middle;
     vertical-align: middle;
    line-height: 1;
}
.pi-value {
    color: #aaa;
    font-size: 0.75em;
    font-variant-numeric: tabular-nums;
    font-family: inherit;
    text-shadow: none;
    white-space: nowrap;
}
.pi-compact:hover .pi-value {
    color: #ccc;
    transition: color 0.15s ease;
}
}

Revision as of 15:16, 16 April 2026

.pi-wrapper {
    z-index: 1;
    position: relative;
    bottom: 6px;
    left: 16px;
    font-family: 'Retail Demo Regular', 'PT Serif', 'Palatino', serif;
    color: #FFEFD7;
}

.pi-text {
    color: #FFEFD7;
    text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.6);
    font-weight: bold;
    background-color: rgba(33, 33, 29, 0.6);
    border-radius: 5px;
    padding: 2px 2px 0px 2px;
    margin-left: -17px;
}

.pi-icon {
    z-index: -1;
    opacity: 0.7;
    position: relative;
    bottom: 5px;
    left: -6px;
}

.pi-compact {
    cursor: help;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    vertical-align: middle;
    line-height: 1;
}

.pi-value {
    color: #aaa;
    font-size: 0.75em;
    font-variant-numeric: tabular-nums;
    font-family: inherit;
    text-shadow: none;
    white-space: nowrap;
}

.pi-compact:hover .pi-value {
    color: #ccc;
    transition: color 0.15s ease;
}