From 47fd5c7458746d7e05af59a9e917d80e378c0645 Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Mon, 25 Nov 2024 14:37:17 -0600 Subject: [PATCH] core: rearrange navigation and put main projects in a single row --- default.css | 11 +++++++++++ index.html | 24 ++++++++++++++---------- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/default.css b/default.css index 90107a7..cf6e7eb 100644 --- a/default.css +++ b/default.css @@ -22,6 +22,7 @@ body { padding: 8px; line-height: 21px; display: inline-block; + text-align: right; } #top { @@ -34,9 +35,19 @@ body { } #main { + margin: 0px 120px; + display: flex; /*background: #1e2030;*/ } +.canvas { + width: 780px; + height: 600px; + align-items: center; + justify-content: center; + display: flex; +} + .cardStats { font-size: 18px; } diff --git a/index.html b/index.html index a399945..b1eb112 100644 --- a/index.html +++ b/index.html @@ -7,20 +7,22 @@

Pong

- - - -

Left Paddle Height:

Right Paddle Height:

@@ -28,8 +30,10 @@

Snake

- - +
+ + +

Snake Head Location:

Food Location:

View Code