Editing Template:PI/styles.css

Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
/* Colors come from the scaling tokens defined in [[MediaWiki:Gadget-brownTheme.css]].
  The literal fallbacks keep the dark-mode appearance if that gadget is disabled. */
.pi-wrapper {
.pi-wrapper {
     z-index: 1;
     z-index: 1;
     position: relative;
     position: relative;
     bottom: 6px;
     bottom: 6px;
     left: -6px;
     left: 16px;
     font-family: 'Retail Demo Regular', 'PT Serif', 'Palatino', serif;
     font-family: 'Retail Demo Regular', 'PT Serif', 'Palatino', serif;
     color: var(--color-scaling-boon, #99ffd6);
     color: #FFEFD7;
}
}


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


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


.pi-compact {
.pi-compact {
     cursor: help;
     cursor: help;
     display: inline-flex;
     display: inline-block;
    align-items: baseline;
    gap: 2px;
     vertical-align: middle;
     vertical-align: middle;
    line-height: 1;
}
.pi-value {
    color: var(--color-scaling-boon-value, #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: var(--color-scaling-boon-value--hover, #ccc);
    transition: color 0.15s ease;
}
}
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Deadlock:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template