From 3af879d56533264b472a35fb2fd7d641df688724 Mon Sep 17 00:00:00 2001 From: pryazha Date: Thu, 9 Jan 2025 14:30:50 +0500 Subject: change ul and flexbox --- index.html | 31 ++++++++++++++++--------------- links.html | 27 +++++++++++++++------------ style.css | 21 ++++++++++----------- 3 files changed, 41 insertions(+), 38 deletions(-) diff --git a/index.html b/index.html index 2ede705..ea126ac 100644 --- a/index.html +++ b/index.html @@ -7,24 +7,25 @@ -
-
-
-

Hello, this is my website.

- Thanks for stopping by! -
-

Well...

-

nya~

- -
-

This is a footer.

-

-
- +
diff --git a/links.html b/links.html index b83ba1c..c733114 100644 --- a/links.html +++ b/links.html @@ -7,21 +7,24 @@ -
-
-
-

Some useful links

-
-

git

-
-

This is a footer.

-
-
- +
diff --git a/style.css b/style.css index 3f70ca5..43e199e 100644 --- a/style.css +++ b/style.css @@ -3,7 +3,7 @@ body { max-width: 650px; line-height: 1.6; font-size: 18px; - padding: 0 10px; + padding: 0; color: #404040; } @@ -11,14 +11,6 @@ h1, h2, h3 { line-height: 1.2; } -#flex { - display: flex; -} - -main { - order: 1; -} - img { width: 100%; } @@ -28,6 +20,13 @@ footer { padding: 30px 0; } -nav { - order: 2; +ul { + list-style-type: none; + margin: 0; + padding: 0; +} + +.flex-container { + display: flex; + justify-content: space-evenly; } -- cgit v1.2.3-70-g09d2