From 2a23946eedc3bab1d185240005000b1a54a9ee95 Mon Sep 17 00:00:00 2001 From: Diego Marcos Segura Date: Mon, 2 Jun 2025 05:17:05 -0700 Subject: [PATCH] Tweak mobile CSS --- examples.html | 1 + examples/dynamic-lighting/index.html | 24 ++++++++++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/examples.html b/examples.html index cd7ff86..3ec6390 100644 --- a/examples.html +++ b/examples.html @@ -361,6 +361,7 @@ Raycasting Dynamic Lighting Particle Simulation + Editor
diff --git a/examples/dynamic-lighting/index.html b/examples/dynamic-lighting/index.html index 7e0626e..1ea1adf 100644 --- a/examples/dynamic-lighting/index.html +++ b/examples/dynamic-lighting/index.html @@ -32,14 +32,34 @@ cursor: pointer; margin-right: 2rem; margin-bottom: 0.5rem; - display: inline-block; + background-color: black; + border-radius: 10px; } + + header { + width: 100%; + padding: 0; + margin-left: 0; + padding-top: 20px; + text-align: center; + } + + @media screen and (max-width: 60em) { + label { + font-size: 18px; + } + + header { + margin-left: 1.2rem; + } + } +
- +