Use modern RGB format (fixes #54)
This commit is contained in:
@ -1,8 +1,13 @@
|
||||
.crt {
|
||||
margin: 1rem 0 1rem;
|
||||
box-shadow: var(--edge-highlight), 0 0 0 0.0625rem var(--primary-color-alpha), 0 0.125rem 0.375rem 0.125rem var(--primary-color-alpha), 0 0.25rem 1.5rem 0.25rem var(--primary-color-alpha);
|
||||
box-shadow:
|
||||
var(--edge-highlight),
|
||||
0 0 0 0.0625rem var(--primary-color-alpha),
|
||||
0 0.125rem 0.375rem 0.125rem var(--primary-color-alpha),
|
||||
0 0.25rem 1.5rem 0.25rem var(--primary-color-alpha);
|
||||
border-radius: var(--rounded-corner);
|
||||
background: radial-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)), var(--primary-color);
|
||||
background: radial-gradient(rgb(0 0 0 / 0.7), rgb(0 0 0 / 0.85)),
|
||||
var(--primary-color);
|
||||
|
||||
pre {
|
||||
animation: flicker 0.25s alternate infinite;
|
||||
@ -11,7 +16,9 @@
|
||||
background-color: transparent !important;
|
||||
padding: 1rem 1rem;
|
||||
color: var(--primary-color) !important;
|
||||
text-shadow: var(--primary-color-alpha) 0 0 0.25rem, var(--primary-color) 0 0 0.75rem;
|
||||
text-shadow:
|
||||
var(--primary-color-alpha) 0 0 0.25rem,
|
||||
var(--primary-color) 0 0 0.75rem;
|
||||
|
||||
@keyframes flicker {
|
||||
25% {
|
||||
@ -43,7 +50,13 @@
|
||||
z-index: 1;
|
||||
animation: scanlines 0.1s linear infinite;
|
||||
inset: 0;
|
||||
background-image: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25) 0.125rem, transparent 0.125rem, transparent 0.25rem);
|
||||
background-image: repeating-linear-gradient(
|
||||
to bottom,
|
||||
rgb(0 0 0 / 0.25),
|
||||
rgb(0 0 0 / 0.25) 0.125rem,
|
||||
transparent 0.125rem,
|
||||
transparent 0.25rem
|
||||
);
|
||||
pointer-events: none;
|
||||
content: "";
|
||||
|
||||
@ -59,7 +72,12 @@
|
||||
position: absolute;
|
||||
animation: scanline 5s linear infinite;
|
||||
inset: 0;
|
||||
background-image: linear-gradient(to bottom, transparent, var(--primary-color-alpha) 7rem, transparent 8rem);
|
||||
background-image: linear-gradient(
|
||||
to bottom,
|
||||
transparent,
|
||||
var(--primary-color-alpha) 7rem,
|
||||
transparent 8rem
|
||||
);
|
||||
background-size: auto 8rem;
|
||||
background-repeat: no-repeat;
|
||||
background-position-y: -8rem;
|
||||
|
Reference in New Issue
Block a user