From 97bff9ea8fb6461cf9fde207b011dee7e43d0b42 Mon Sep 17 00:00:00 2001 From: Steppy Date: Fri, 14 Feb 2025 18:20:04 +0100 Subject: [PATCH] Increase text size on mobile devices --- README.md | 5 +++++ styles.css | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index aa101fe..1c6b785 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,11 @@ Alternatively you can serve it locally with trunk serve ``` +To also access the local hosted page from other devices, use +```bash +trunk serve -a 0.0.0.0 +``` + ## Deployment Just use pythons webserver and point it to the dist folder diff --git a/styles.css b/styles.css index 3621b11..7af0b66 100644 --- a/styles.css +++ b/styles.css @@ -3,4 +3,12 @@ } ul { list-style-position: inside; +} +body { + font-size: 1rem; +} +@media (max-width: 1000px) { + body { + font-size: 1.5rem; + } } \ No newline at end of file