From 92fc5bc0a943a0d2f6e79c4dcde471c91b797637 Mon Sep 17 00:00:00 2001 From: Know-Thyself <67852769+Know-Thyself@users.noreply.github.com> Date: Fri, 13 Nov 2020 23:21:18 +0000 Subject: [PATCH] My blog page --- .vscode/launch.json | 42 ++++++++++++++++++++ css/style.css | 93 +++++++++++++++++++++++++++++++++++++++++++++ index.html | 69 +++++++++++++++++++++++++++++++++ 3 files changed, 204 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..0da4832f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,42 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Attach to Chrome", + "port": 9222, + "request": "attach", + "type": "pwa-chrome", + "webRoot": "${workspaceFolder}" + }, + { + "name": "Attach to Chrome", + "port": 9222, + "request": "attach", + "type": "pwa-chrome", + "webRoot": "${workspaceFolder}" + }, + { + "name": "Launch Chrome", + "request": "launch", + "type": "pwa-chrome", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + }, + { + "name": "Launch Chrome", + "request": "launch", + "type": "pwa-chrome", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + }, + { + "type": "pwa-chrome", + "request": "launch", + "name": "Open index.html", + "file": "/home/cyf/Documents/HTML-CSS-Coursework-Week1/index.html" + } + ] +} \ No newline at end of file diff --git a/css/style.css b/css/style.css index 75e9841e..732bec84 100644 --- a/css/style.css +++ b/css/style.css @@ -6,3 +6,96 @@ * for example: General styles, Navigation styles, Hero styles, Footer etc. * */ +body { + background-color: rgb(89, 126, 151); + font-family: Roboto, sans-serif; +} +/* Header and Navigation Bar */ +.header { + width: 100%; + height: auto; +} + +h1, h2 { + text-align: center; + color: rgb(238, 238, 125); + font-weight: normal; +} + +.nav-bar { + display: inline-block; + justify-content: space-between; + align-items: center; + width: 100%; + text-decoration: none; + list-style: none; + background-color: khaki; +} + +.nav-link { + display: flex; + justify-content: space-between; + align-items: stretch; + text-align: center; + font-size: 1.25rem; + margin-right: 20px; +} + +.nav-link a { + text-decoration: none; + list-style: none; + color: rgb(89, 126, 151); +} + +.nav-link a:hover { + color: rgb(175, 71, 40); +} + +/* Articles Section */ +.articles h1, .articles h2 { + color: rgb(231, 210, 241); + font-size: 1.25rem; +} + +.articles:first-child { + color: rgb(231, 210, 241); + background-color: navy; +} + +.articles a { + color: mediumspringgreen; + font-size: 1.25rem; +} + +h3, h4, h5, h6 { + color: rgb(231, 210, 241); + font-size: 1.25rem; + text-align: center; + font-weight: normal; +} + +h3 { + background-color: rgb(89, 126, 151); +} + +.article-2 { + background-color: rgb(89, 126, 151); +} + +.article-3 { + background-color: rgb(89, 126, 151); ; +} +/* Footer */ +.footer { + background-color: rgb(75, 68, 112); +} + +.footer li { + list-style: none; + font-size: 1.25rem; + color: linen; + display: inline-block; + justify-content: space-between; + width: 100%; + text-align: center; +} \ No newline at end of file diff --git a/index.html b/index.html index 67dfc7f5..da2e3b38 100644 --- a/index.html +++ b/index.html @@ -17,6 +17,75 @@ + +
+

World Peace Forum

+

Together, we can create a peaceful world!

+ +
+
+ +
+
+

Current Concerns

+

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
+ + The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.

+

Countries that require more attention

+

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

+ Click here for list of countries +
+ +
+

Peace Initiatives

+

What is Lorem Ipsum? + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
+ + Why do we use it? + It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
+ + Where does it come from? + Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

+ +

Ongoing Peace Initiatives

+

The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.

+ Click here to find out ongoing peace initiative works +
+ +
+
Ways to be involved in making the world a peaceful place
+

What is Lorem Ipsum? + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
+ + Why do we use it? + It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
+ + + Where does it come from? + Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

+ +
Taking Part
+ +

The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.

+ Click here for more ways to take part +
+
+
+ +