From c2ce03bd0fc598c12a9b7a1f2990b185f65db541 Mon Sep 17 00:00:00 2001 From: hydenw Date: Mon, 31 Jul 2023 21:42:28 -0400 Subject: [PATCH 1/2] Initial CSS --- starter/03-CSS-Fundamentals/index.html | 6 +++- starter/03-CSS-Fundamentals/style.css | 50 ++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 starter/03-CSS-Fundamentals/style.css diff --git a/starter/03-CSS-Fundamentals/index.html b/starter/03-CSS-Fundamentals/index.html index df8a623a8..bd8f745af 100644 --- a/starter/03-CSS-Fundamentals/index.html +++ b/starter/03-CSS-Fundamentals/index.html @@ -3,6 +3,7 @@ The Basic Language of the Web: HTML + @@ -141,6 +142,9 @@

Related posts

- + diff --git a/starter/03-CSS-Fundamentals/style.css b/starter/03-CSS-Fundamentals/style.css new file mode 100644 index 000000000..4ecd32ba5 --- /dev/null +++ b/starter/03-CSS-Fundamentals/style.css @@ -0,0 +1,50 @@ +h1, +h2, +h3, +h4, +p, +li { + font-family: sans-serif; +} + +h1 { + font-size: 32px; + line-height: 1.5; + text-transform: uppercase; + font-style: italic; +} + +h2 { + font-size: 28px; + + line-height: 1.5; + text-transform: uppercase; +} + +h3 { + font-size: 24px; + + line-height: 1.5; + text-transform: uppercase; +} + +h4 { + font-size: 18px; + line-height: 1.5; + text-transform: uppercase; +} + +li { + font-size: 18px; + line-height: 1.5; +} + +p { + font-size: 22px; + line-height: 1.5; +} + +/* descendent selector, select paragraphs in footers and set it's font size to 16px */ +footer p { + font-size: 16px; +} From dd28f4aa83b7f02548a6cb8b1e94dd5763908c9b Mon Sep 17 00:00:00 2001 From: hydenw Date: Mon, 31 Jul 2023 21:43:33 -0400 Subject: [PATCH 2/2] Removed spaces --- starter/03-CSS-Fundamentals/style.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/starter/03-CSS-Fundamentals/style.css b/starter/03-CSS-Fundamentals/style.css index 4ecd32ba5..8bae2e8a4 100644 --- a/starter/03-CSS-Fundamentals/style.css +++ b/starter/03-CSS-Fundamentals/style.css @@ -16,14 +16,12 @@ h1 { h2 { font-size: 28px; - line-height: 1.5; text-transform: uppercase; } h3 { font-size: 24px; - line-height: 1.5; text-transform: uppercase; }