From 12659cf1ad01bcad3fe91e4833e49f29bd51a09a Mon Sep 17 00:00:00 2001 From: Craig Felton Date: Mon, 8 Jul 2024 23:59:30 -0400 Subject: [PATCH] Made a bit more mobile friendly --- index.html | 7 ++++--- styles.css | 12 +++++++++++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index c0ac01e..b5ac7f1 100644 --- a/index.html +++ b/index.html @@ -3,14 +3,15 @@ - Craig And Jess + CraigAndJess.com
Jax -

Coming Soon...

+

Coming Soon

+
- \ No newline at end of file + diff --git a/styles.css b/styles.css index ce91cc2..29324ac 100644 --- a/styles.css +++ b/styles.css @@ -11,14 +11,18 @@ body, html { display: flex; justify-content: center; align-items: center; + padding: 10px; } .content { text-align: center; + max-width: 100%; } .spin { animation: spin 4s linear infinite; + width: 100%; + max-width: 300px; /* Limit the max width for larger screens */ } .coming-soon { @@ -29,8 +33,14 @@ body, html { margin-top: 20px; text-align: center; } - @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } + +/* Responsive Design */ +@media (max-width: 600px) { + .coming-soon { + font-size: 30pt; + } +}