From 48ebad5b45b8b4045bc5d3d3af6eac1415950aec Mon Sep 17 00:00:00 2001
From: Ronan
Date: Fri, 31 Jan 2025 09:04:28 +0000
Subject: [PATCH 01/24] Add text styles
---
starter/03-CSS-Fundamentals/index.html | 1 +
starter/03-CSS-Fundamentals/styles.css | 32 ++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
create mode 100644 starter/03-CSS-Fundamentals/styles.css
diff --git a/starter/03-CSS-Fundamentals/index.html b/starter/03-CSS-Fundamentals/index.html
index df8a623a8..12e86624c 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
+
diff --git a/starter/03-CSS-Fundamentals/styles.css b/starter/03-CSS-Fundamentals/styles.css
new file mode 100644
index 000000000..e25f21980
--- /dev/null
+++ b/starter/03-CSS-Fundamentals/styles.css
@@ -0,0 +1,32 @@
+h1 {
+ font-family: sans-serif;
+ font-size: 26px;
+}
+
+h2 {
+ font-family: sans-serif;
+ font-size: 40px;
+}
+
+h3 {
+ font-family: sans-serif;
+ font-size: 30px;
+}
+
+h4 {
+ font-family: sans-serif;
+ font-size: 20px;
+ text-align: center;
+ text-transform:uppercase;
+}
+
+p {
+ font-family: sans-serif;
+ font-size: 22px;
+ line-height: 1.5;
+}
+
+li {
+ font-family: sans-serif;
+ font-size: 20px;
+}
\ No newline at end of file
From ec53f50191027a31f16865605bbe3c5988627d6a Mon Sep 17 00:00:00 2001
From: Ronan
Date: Fri, 31 Jan 2025 21:06:11 +0000
Subject: [PATCH 02/24] Refactor to group selectors using same font-family and
add nested selectors
---
starter/03-CSS-Fundamentals/index.html | 4 +++-
starter/03-CSS-Fundamentals/styles.css | 18 ++++++++++++------
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/starter/03-CSS-Fundamentals/index.html b/starter/03-CSS-Fundamentals/index.html
index 12e86624c..b4ad46c8f 100644
--- a/starter/03-CSS-Fundamentals/index.html
+++ b/starter/03-CSS-Fundamentals/index.html
@@ -25,6 +25,8 @@ 📘 The Code Magazine
Flexbox
CSS Grid
+
+ Test Paragraph
@@ -142,6 +144,6 @@ Related posts
-
+