From 263aa16c219d556ea8518d5008bf0ee6c72b4d4f Mon Sep 17 00:00:00 2001 From: udontur Date: Tue, 10 Dec 2024 22:51:47 +0800 Subject: [PATCH] Updated homepage and 404 page with better wording --- learn/index.html | 26 ++++++++------------- learn/style.css | 44 +++++++++++++----------------------- src/env/404.html | 14 ++++++++++++ src/env/index.html | 7 +++--- src/{env => page}/error.html | 5 +--- 5 files changed, 44 insertions(+), 52 deletions(-) create mode 100644 src/env/404.html rename src/{env => page}/error.html (98%) diff --git a/learn/index.html b/learn/index.html index 79088fb..565840f 100644 --- a/learn/index.html +++ b/learn/index.html @@ -1,25 +1,17 @@ - - + - Fix the Cascade + Margin and Padding exercise 2 - - - -

I'm just a paragraph with extra bold text!

-

I'm a smaller paragraph, also with extra bold text!

- - - - -
I'm a div with thin text!
-
I'm a div with thin text and a child div! -
I'm a smaller child div with extra bold text.
+ + +
sssssss +

I'm a card

+
I have content inside me..lorem ipsum blah blah blah. Here's some stuff you need to read.
+
and a
- - + \ No newline at end of file diff --git a/learn/style.css b/learn/style.css index 8f2779c..3cdfd54 100644 --- a/learn/style.css +++ b/learn/style.css @@ -1,39 +1,27 @@ body { - font-family: Arial, Helvetica, sans-serif; + background: #eee; + font-family: sans-serif; + /* margin: 0px; */ } -.para { - color: hsl(0, 0%, 0%); - font-weight: 800; - font-size: 22px; +.card { + width: 400px; + background: #fff; } -.small-para { - font-size: 14px; - font-weight: 800; +.title { + background: #e3f4ff; } -#confirm-button { - background: green; - color: white; - font-weight: bold; +.content { + background: #e3f4ff; } -.button { - background-color: rgb(255, 255, 255); - color: rgb(0, 0, 0); - font-size: 20px; +.button-container { + background: #e3f4ff; } -.text { - color: rgb(0, 0, 0); - font-size: 22px; - font-weight: 100; -} - -.child { - color: rgb(0, 0, 0); - font-weight: 800; - font-size: 14px; -} - +button { + background: white; + border: 1px solid #eee; +} \ No newline at end of file diff --git a/src/env/404.html b/src/env/404.html new file mode 100644 index 0000000..3926d1c --- /dev/null +++ b/src/env/404.html @@ -0,0 +1,14 @@ +--- +permalink: /404.html +--- + + + + + + Hadrian Lau + + +

Error: 404 not found

+ + \ No newline at end of file diff --git a/src/env/index.html b/src/env/index.html index f78f19b..68da7ae 100644 --- a/src/env/index.html +++ b/src/env/index.html @@ -9,9 +9,10 @@ Hadrian Lau -

Currently baking the site!

-
Click here to see the old version.
+

Baking the site...

+
GitHub: @udontur
+
Email: 102845@dsc.edu.hk

-
Some links: GitHub, Email: 102845@dsc.edu.hk
+
Click here to see the old version.
\ No newline at end of file diff --git a/src/env/error.html b/src/page/error.html similarity index 98% rename from src/env/error.html rename to src/page/error.html index 02615d6..aa86213 100644 --- a/src/env/error.html +++ b/src/page/error.html @@ -1,9 +1,6 @@ --- -permalink: /404.html +permalink: /old/404.html --- -