Template:PI/styles.css: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
changed color to match new icon
adjusted for icon on the left
Line 3: Line 3:
     position: relative;
     position: relative;
     bottom: 6px;
     bottom: 6px;
     left: 16px;
     left: -6px;
     font-family: 'Retail Demo Regular', 'PT Serif', 'Palatino', serif;
     font-family: 'Retail Demo Regular', 'PT Serif', 'Palatino', serif;
     color: #99ffd6;
     color: #99ffd6;
Line 15: Line 15:
     border-radius: 5px;
     border-radius: 5px;
     padding: 2px 2px 0px 2px;
     padding: 2px 2px 0px 2px;
     margin-left: -17px;
     margin-left: 0px;
}
}


Line 23: Line 23:
     position: relative;
     position: relative;
     bottom: 5px;
     bottom: 5px;
     left: -6px;
     left: 5px;
}
}



Revision as of 16:21, 11 May 2026

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

.pi-text {
    color: #99ffd6;
    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: 0px;
}

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

.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;
}