Changed styling

This commit is contained in:
Henry Hiles 2022-02-28 10:06:29 -05:00
parent bb3a048d15
commit 00b9bca8bb
5 changed files with 45 additions and 45 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7 KiB

BIN
images/flappyComputer1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
images/pipe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -58,18 +58,18 @@ body {
.pipe > .segment {
position: absolute;
width: 100%;
background-size: 100% 600px;
background-size: 100% 1200px;
}
.pipe > .top {
top: 0;
bottom: calc(var(--hole-top) * 1px);
background-image: url(images/topPipe.png);
background-position: bottom;
background-image: url(images/pipe.png);
transform: scaleY(-1);
}
.pipe > .bottom {
bottom: 0;
top: calc(100vh - (var(--hole-top) * 1px) + calc(var(--hole-height) * 1px));
background-image: url(images/bottomPipe.png);
background-image: url(images/pipe.png);
}