From eecf7b47ad522303a145be010f08fc4e05146aa2 Mon Sep 17 00:00:00 2001 From: Rei Date: Thu, 22 Aug 2024 14:25:25 +1000 Subject: [PATCH] Update and rename style.css to styles.css --- style.css | 24 ------------------------ styles.css | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 24 deletions(-) delete mode 100644 style.css create mode 100644 styles.css diff --git a/style.css b/style.css deleted file mode 100644 index f46bee6..0000000 --- a/style.css +++ /dev/null @@ -1,24 +0,0 @@ -ul { - list-style-type: none; - margin: 0; - padding: 0; - overflow: hidden; - background-color: #333; - } - - li { - float: left; - } - - li a { - display: block; - color: white; - text-align: center; - padding: 14px 16px; - text-decoration: none; - } - - /* Change the link color to #111 (black) on hover */ - li a:hover { - background-color: #111; - } \ No newline at end of file diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..c7eb4ee --- /dev/null +++ b/styles.css @@ -0,0 +1,19 @@ +body { + margin: 0; + padding: 0; + display: flex; + height: 100vh; + justify-content: center; + align-items: center; + background-color: #f0f0f0; + font-family: Arial, sans-serif; +} + +.centered-content { + text-align: center; +} + +h1 { + font-size: 4em; + color: #333; +}