From 470b78a78ee57bc43414ff260a57789ff0167998 Mon Sep 17 00:00:00 2001 From: KTrain5369 <69028025+KTrain5169@users.noreply.github.com> Date: Thu, 26 Sep 2024 14:51:30 +0700 Subject: [PATCH] Add CSS --- css/styles.css | 21 +++++++++++++++++++++ index.html | 31 ++++++++++++++++++------------- 2 files changed, 39 insertions(+), 13 deletions(-) create mode 100644 css/styles.css diff --git a/css/styles.css b/css/styles.css new file mode 100644 index 0000000..938355d --- /dev/null +++ b/css/styles.css @@ -0,0 +1,21 @@ +/* Set body background and typography */ +body { + font-family: 'Helvetica', sans-serif; + background-color: #181818; + color: #f0f0f0; + margin: 0; + padding: 20px; + text-align: center; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + height: 100vh; + } + + /* Bold title */ + b { + font-size: 28px; + margin-bottom: 15px; + display: block; + } \ No newline at end of file diff --git a/index.html b/index.html index ae0670b..b161251 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,19 @@ -
-