feat: Small tweaks

This commit is contained in:
daudix-UFO
2023-12-18 02:47:11 +03:00
parent f9698b68f3
commit 48b2e027d3
2 changed files with 10 additions and 11 deletions

View File

@ -177,7 +177,7 @@ section#comments {
display: flex; display: flex;
gap: 0.4rem; gap: 0.4rem;
grid-area: interactions; grid-area: interactions;
margin-top: 0.925rem; margin-top: 1rem;
.boosts { .boosts {
background-color: var(--orange-bg); background-color: var(--orange-bg);

View File

@ -500,15 +500,7 @@ img {
} }
.scanlines::after { .scanlines::after {
display: block; animation: scanlines 250ms linear infinite;
pointer-events: none;
position: absolute;
content: "";
top: 0;
left: 0;
width: 100%;
height: calc(100% + 8px);
pointer-events: none;
background: repeating-linear-gradient( background: repeating-linear-gradient(
0deg, 0deg,
rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25),
@ -516,7 +508,14 @@ img {
transparent 3px, transparent 3px,
transparent 4px transparent 4px
); );
animation: scanlines 250ms linear infinite; content: "";
display: block;
height: calc(100% + 8px);
left: 0;
pointer-events: none;
position: absolute;
top: 0;
width: 100%;
@keyframes scanlines { @keyframes scanlines {
0% { 0% {