From 8d5549cef26eae6553869cb77b620ad699d0037f Mon Sep 17 00:00:00 2001 From: lolabird Date: Sat, 11 Nov 2023 21:00:49 -0700 Subject: [PATCH] Adjust positioning and labels --- index.html | 18 ++++++++++-------- style.css | 11 +++++++++-- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 6208254..8b2dbe9 100644 --- a/index.html +++ b/index.html @@ -12,30 +12,32 @@
+

Pen Colors

- +
- -
- + +

Pen Tools

- - - - + + + + +
+

Grid Tools

diff --git a/style.css b/style.css index 3fff6ba..c0807ce 100644 --- a/style.css +++ b/style.css @@ -8,13 +8,12 @@ body{ justify-content: center; align-items: center; height: 90vh; + flex-wrap: wrap; } .pen-input, .grid-input { display: flex; flex-direction: column; - justify-content: center; - align-items: center; margin: 20px; } @@ -25,6 +24,14 @@ body{ align-items: center; } +@media screen and (max-width: 900px) { + .pen-color, .pen-tools, .grid-tools { + flex-direction: row; /* Switch to a row layout when wrapping occurs */ + align-items: flex-end; + justify-content: center; + } + } + .col-picker, .background-col-picker { margin: 5px; width: 100px;