feat(hell-bullet): add touch controls and optimize game canvas styling
This commit is contained in:
3 files changed
+75
-16
No files matched your search
+6
-4
@@ -1,6 +1,8 @@
|
||||
#canvas {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-self: center;
|
||||
align-self: center;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
max-width: 1000px;
|
||||
height: auto;
|
||||
touch-action: none;
|
||||
}
|
||||
@@ -25,6 +25,7 @@ body #div-content {
|
||||
|
||||
.grid-item p{
|
||||
text-align: justify;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.grid-item:hover {
|
||||
@@ -54,8 +55,13 @@ body #div-content {
|
||||
border-radius: .40rem;
|
||||
}
|
||||
|
||||
.grid .two p {
|
||||
max-width: 44.5rem;
|
||||
}
|
||||
|
||||
.grid, .two img {
|
||||
float: right;
|
||||
/* padding-left: 2rem; */
|
||||
}
|
||||
|
||||
.right-text {
|
||||
@@ -69,10 +75,6 @@ body #div-content {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.grid-item p {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1280px) {
|
||||
.grid {
|
||||
grid-template-columns: 90%;
|
||||
|
||||
Reference in new issue
Block a user