From c3c991e8a5c63527c6e623d6ac6228c2bf184a72 Mon Sep 17 00:00:00 2001 From: thaitransky15112007-creator Date: Mon, 22 Jun 2026 10:53:31 +0700 Subject: [PATCH] Refactor CSS styles for body, header, nav, main, and footer --- CSS-week1-HW1/css/style.css | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/CSS-week1-HW1/css/style.css b/CSS-week1-HW1/css/style.css index 40239a90..c3b2c395 100644 --- a/CSS-week1-HW1/css/style.css +++ b/CSS-week1-HW1/css/style.css @@ -1,4 +1,39 @@ body{ font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 150%; -} \ No newline at end of file +}body{ + font-family: Arial, sans-serif; + font-size: 18px; +} + +header{ + background-color: lightblue; +} + +nav{ + background-color: lightgray; +} + +main{ + background-color: white; + font-size: 20px; +} + +footer{ + background-color: lightgreen; +} + +li{ + display: inline-block; + width: 150px; +} + +h1{ + text-align: center; + font-family: Georgia, serif; + color: darkblue; +} + +p{ + line-height: 1.6; +}