From 1192399191df4c68b3b6fac5f0828df45bf350c7 Mon Sep 17 00:00:00 2001 From: parshurampatil Date: Mon, 31 Jan 2022 13:38:04 +0530 Subject: [PATCH 1/8] Add .gitignore file --- .gitignore | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..6485c2f48 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ + +# IDEs and editors +/.idea +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace \ No newline at end of file From 680e4688fa2225bd9a751cf7a1928cdc91fa40fc Mon Sep 17 00:00:00 2001 From: parshurampatil Date: Fri, 11 Feb 2022 13:11:19 +0530 Subject: [PATCH 2/8] Use css from style.css file --- starter/03-CSS-Fundamentals/index.html | 2 ++ starter/03-CSS-Fundamentals/style.css | 3 +++ 2 files changed, 5 insertions(+) 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..da7857b03 100644 --- a/starter/03-CSS-Fundamentals/index.html +++ b/starter/03-CSS-Fundamentals/index.html @@ -2,6 +2,8 @@ + + The Basic Language of the Web: HTML diff --git a/starter/03-CSS-Fundamentals/style.css b/starter/03-CSS-Fundamentals/style.css new file mode 100644 index 000000000..ccf22a056 --- /dev/null +++ b/starter/03-CSS-Fundamentals/style.css @@ -0,0 +1,3 @@ +h1 { + color: blue; +} From 559a275302b6a17e98e8a545158f6e1edadcd658 Mon Sep 17 00:00:00 2001 From: parshurampatil Date: Fri, 11 Feb 2022 13:23:29 +0530 Subject: [PATCH 3/8] add basic styles to html elements --- starter/03-CSS-Fundamentals/style.css | 33 ++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/starter/03-CSS-Fundamentals/style.css b/starter/03-CSS-Fundamentals/style.css index ccf22a056..f4a030f35 100644 --- a/starter/03-CSS-Fundamentals/style.css +++ b/starter/03-CSS-Fundamentals/style.css @@ -1,3 +1,34 @@ h1 { - color: blue; + font-size: 26px; + font-family: sans-serif; + text-transform: uppercase; + font-style: italic; +} + +h2 { + font-size: 40px; + font-family: sans-serif; +} + +h3 { + font-size: 30px; + font-family: sans-serif; +} + +h4 { + font-size: 20px; + font-family: sans-serif; + text-transform: uppercase; + text-align: center; +} + +p { + font-size: 22px; + font-family: sans-serif; + line-height: 1.5; +} + +li { + font-family: sans-serif; + font-size: 20px; } From dc95c5a10288d703677184a91ecf93b3473f0e19 Mon Sep 17 00:00:00 2001 From: parshurampatil Date: Tue, 15 Feb 2022 10:35:27 +0530 Subject: [PATCH 4/8] sentence and list selctors --- starter/03-CSS-Fundamentals/index.html | 2 +- starter/03-CSS-Fundamentals/style.css | 23 +++++++++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/starter/03-CSS-Fundamentals/index.html b/starter/03-CSS-Fundamentals/index.html index da7857b03..034ec63de 100644 --- a/starter/03-CSS-Fundamentals/index.html +++ b/starter/03-CSS-Fundamentals/index.html @@ -143,6 +143,6 @@

Related posts

-
Copyright © 2027 by The Code Magazine.
+

Copyright © 2027 by The Code Magazine.

diff --git a/starter/03-CSS-Fundamentals/style.css b/starter/03-CSS-Fundamentals/style.css index f4a030f35..e328dfd84 100644 --- a/starter/03-CSS-Fundamentals/style.css +++ b/starter/03-CSS-Fundamentals/style.css @@ -1,34 +1,45 @@ +h1, +h2, +h3, +h4, +p, +li { + font-family: sans-serif; +} + h1 { font-size: 26px; - font-family: sans-serif; text-transform: uppercase; font-style: italic; } h2 { font-size: 40px; - font-family: sans-serif; } h3 { font-size: 30px; - font-family: sans-serif; } h4 { font-size: 20px; - font-family: sans-serif; text-transform: uppercase; text-align: center; } p { font-size: 22px; - font-family: sans-serif; line-height: 1.5; } li { - font-family: sans-serif; font-size: 20px; } + +footer p { + font-size: 16px; +} + +article header p { + font-style: italic; +} From e57b58187559ccf68c1a05b178a939e9d781df4d Mon Sep 17 00:00:00 2001 From: parshurampatil Date: Tue, 15 Feb 2022 10:50:20 +0530 Subject: [PATCH 5/8] id and class selector --- starter/03-CSS-Fundamentals/index.html | 16 ++++++++++------ starter/03-CSS-Fundamentals/style.css | 24 +++++++++++++++++++++--- 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/starter/03-CSS-Fundamentals/index.html b/starter/03-CSS-Fundamentals/index.html index 034ec63de..7c0d3d20b 100644 --- a/starter/03-CSS-Fundamentals/index.html +++ b/starter/03-CSS-Fundamentals/index.html @@ -39,7 +39,9 @@

The Basic Language of the Web: HTML

width="50" /> -

Posted by Laura Jones on Monday, June 21st 2027

+

+ Posted by Laura Jones on Monday, June 21st 2027 +

Why should you learn HTML?

Related posts

-

Copyright © 2027 by The Code Magazine.

+
+ +
diff --git a/starter/03-CSS-Fundamentals/style.css b/starter/03-CSS-Fundamentals/style.css index e328dfd84..1df7b7c79 100644 --- a/starter/03-CSS-Fundamentals/style.css +++ b/starter/03-CSS-Fundamentals/style.css @@ -36,10 +36,28 @@ li { font-size: 20px; } -footer p { +/* footer p { font-size: 16px; -} +} */ + +/*article header p { + font-style: italic; +}*/ -article header p { +#author { font-style: italic; + font-size: 18px; +} + +#copyright { + font-size: 16px; +} + +.related-author { + font-size: 18px; + font-weight: bold; +} + +.related { + list-style: none; } From 0f318292a286eedfa485a8bafd2939f45f0103d1 Mon Sep 17 00:00:00 2001 From: parshurampatil Date: Tue, 22 Feb 2022 10:13:35 +0530 Subject: [PATCH 6/8] color and border properties --- starter/03-CSS-Fundamentals/index.html | 2 +- starter/03-CSS-Fundamentals/style.css | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/starter/03-CSS-Fundamentals/index.html b/starter/03-CSS-Fundamentals/index.html index 7c0d3d20b..b302d295a 100644 --- a/starter/03-CSS-Fundamentals/index.html +++ b/starter/03-CSS-Fundamentals/index.html @@ -17,7 +17,7 @@
The Basic Language of the Web: HTML
The Basic Language of the Web: HTML
--> -
+

📘 The Code Magazine