Styled victory and defeat

This commit is contained in:
2021-10-14 01:23:04 -03:00
parent cb6e728a3e
commit f56746bf68
9 changed files with 82 additions and 8 deletions

View File

@@ -0,0 +1,32 @@
.defeat, .victory {
position: absolute;
left: 0;
top: 0;
height: 100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
font-size: 80pt;
background-color: rgba(0, 0, 0, 0.775);
user-select: none;
h1 {
padding: 5%;
background-color: rgba(0, 0, 0, 0.775);
}
}
.defeat {
color: rgb(255, 99, 99);
}
.victory {
color: rgb(88, 255, 107);
}

View File

@@ -21,4 +21,5 @@ html, body {
}
@import 'header';
@import 'app';
@import 'app';
@import 'defeat-victory';