From 7e382ffd70a7785386d5789dd7942fac4891c804 Mon Sep 17 00:00:00 2001 From: vista-man <524715@vistacollege.nl> Date: Sat, 25 Jan 2025 21:28:13 +0100 Subject: [PATCH] s --- index.html | 32 +++++++++++++++++--------------- style.css | 19 +++++++++++++++++++ 2 files changed, 36 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index bfa42e7..566ce56 100644 --- a/index.html +++ b/index.html @@ -6,28 +6,30 @@ -

Welcome to My Simple Wikipedia

+
+

Welcome to My Simple Wikipedia

-

This is a basic example of a simple Wikipedia-like page. - It demonstrates how to structure information using HTML.

+

This is a basic example of a simple Wikipedia-like page. + It demonstrates how to structure information using HTML.

-

Article 1: The History of the Internet

+

Article 1: The History of the Internet

-

The Internet began as a project funded by the United States Department of Defense - in the 1960s. Its initial purpose was to create a decentralized network that could - withstand a nuclear attack.

+

The Internet began as a project funded by the United States Department of Defense + in the 1960s. Its initial purpose was to create a decentralized network that could + withstand a nuclear attack.

-

Over time, the Internet evolved into the global network we know today, connecting - billions of devices and people worldwide.

+

Over time, the Internet evolved into the global network we know today, connecting + billions of devices and people worldwide.

-

Article 2: The Life Cycle of a Butterfly

+

Article 2: The Life Cycle of a Butterfly

-

Butterflies undergo a fascinating transformation known as metamorphosis. - It begins with an egg, which hatches into a larva (caterpillar).

+

Butterflies undergo a fascinating transformation known as metamorphosis. + It begins with an egg, which hatches into a larva (caterpillar).

-

The larva grows and molts several times, eventually forming a chrysalis. - Inside the chrysalis, the larva undergoes a remarkable transformation, - emerging as a beautiful butterfly.

+

The larva grows and molts several times, eventually forming a chrysalis. + Inside the chrysalis, the larva undergoes a remarkable transformation, + emerging as a beautiful butterfly.

+
diff --git a/style.css b/style.css index 8c16d1b..5d3c514 100644 --- a/style.css +++ b/style.css @@ -1,15 +1,33 @@ body { font-family: sans-serif; margin: 20px; + background-color: #f0f0f0; +} + +.container { + max-width: 800px; + margin: 0 auto; + padding: 20px; + background-color: #fff; + border-radius: 5px; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } h1 { color: #333; + text-align: center; + margin-bottom: 30px; +} + +h2 { + color: #007bff; + margin-top: 40px; } p { color: #555; line-height: 1.6; + text-indent: 20px; } a { @@ -19,4 +37,5 @@ a { a:hover { text-decoration: underline; + color: #0056b3; } \ No newline at end of file