From 2005ea78659e52d4af272008de424a9001764165 Mon Sep 17 00:00:00 2001 From: Appolin Semegni Fotso <108607571+AppolinFotso@users.noreply.github.com> Date: Wed, 25 Jan 2023 11:58:14 +0000 Subject: [PATCH 01/15] Added icon-devices --- index.html | 60 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 49 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index 3e742ef04..abe548351 100755 --- a/index.html +++ b/index.html @@ -1,19 +1,57 @@ - - - + + + Karma - - - - - - + + + + + + +
+ logo + +
+
+
+

Introducing Karma

+

Bring WiFi with you, everywhere you go.

+ +
+
+

Everyone needs a little Karma

+
+ +
+ + + Internet for all devices + +
+
+
+
+
+ - - + From 8892c957a3656cba101366910046b9619598206f Mon Sep 17 00:00:00 2001 From: Appolin Semegni Fotso <108607571+AppolinFotso@users.noreply.github.com> Date: Wed, 25 Jan 2023 12:51:27 +0000 Subject: [PATCH 02/15] Added flex-box I added flex-box to the header and navigator elements. --- css/style.css | 51 +++++++++++++++++++++++++++++++++++++++++++++------ index.html | 21 ++++++++++++++++++++- 2 files changed, 65 insertions(+), 7 deletions(-) diff --git a/css/style.css b/css/style.css index 5cb025cef..d155316f1 100755 --- a/css/style.css +++ b/css/style.css @@ -1,11 +1,52 @@ - - /* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ +/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ body { - font-family: 'Roboto', sans-serif; - -webkit-font-smoothing: antialiased; + font-family: "Roboto", sans-serif; + -webkit-font-smoothing: antialiased; + display: grid; + grid-template-columns: auto; + grid-template-rows: 10vh auto 20vh; +} + +.header { + grid-row: 1 / 2; + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-around; +} + +.main { + grid-row: 2 / 3; +} + +.footer { + grid-row: 3 / -1; +} + +.header img { + width: 10%; + height: 80%; } +.header nav { + display: flex; + flex-direction: row; + gap: 1rem; +} + +.header a { + text-decoration: none; + color: grey; +} + +.header a:hover { + color: orangered; +} + +.section-1 { + background-image: url("img/first-background.jpg"); +} /** * Add your custom styles below * @@ -15,5 +56,3 @@ body { * * - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex' */ - - diff --git a/index.html b/index.html index abe548351..be7484150 100755 --- a/index.html +++ b/index.html @@ -28,12 +28,14 @@ Login +
-
+

Introducing Karma

Bring WiFi with you, everywhere you go.

+

Everyone needs a little Karma

@@ -45,9 +47,26 @@

Everyone needs a little Karma

+ +
+ + + Boost your productivity + +
+
+ +
+ + + Pay as You Go + +
+
+ From b70da12b99a59910ad974e83412d64ddb7aa4e52 Mon Sep 17 00:00:00 2001 From: Appolin Semegni Fotso <108607571+AppolinFotso@users.noreply.github.com> Date: Wed, 25 Jan 2023 13:50:36 +0000 Subject: [PATCH 03/15] Added first-background --- css/style.css | 36 ++++++++++++++++++++++++++++++++---- index.html | 16 +++++----------- 2 files changed, 37 insertions(+), 15 deletions(-) diff --git a/css/style.css b/css/style.css index d155316f1..2db7e74de 100755 --- a/css/style.css +++ b/css/style.css @@ -3,9 +3,10 @@ body { font-family: "Roboto", sans-serif; -webkit-font-smoothing: antialiased; + display: grid; grid-template-columns: auto; - grid-template-rows: 10vh auto 20vh; + grid-template-rows: 10vh 70vh 20vh; } .header { @@ -18,6 +19,8 @@ body { .main { grid-row: 2 / 3; + display: flex; + flex-direction: column; } .footer { @@ -44,9 +47,34 @@ body { color: orangered; } -.section-1 { - background-image: url("img/first-background.jpg"); +#section1 { + height: 100%; + background-image: url("../img/first-background.jpg"); + background-size: contain; + margin: 0px 20px; +} + +#section2 { + display: flex; + flex-direction: column; + justify-content: center; +} +#section2 > h1, +div { + width: 80%; +} + +#section2 div { + display: flex; + flex-direction: row; + align-items: center; } + +#section2 figure img { + width: auto; + height: 10vh; +} + /** * Add your custom styles below * @@ -55,4 +83,4 @@ body { * for example: General styles, Navigation styles, Hero styles, Footer etc. * * - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex' - */ + */ ; diff --git a/index.html b/index.html index be7484150..f9248deab 100755 --- a/index.html +++ b/index.html @@ -30,37 +30,31 @@
-
+

Introducing Karma

Bring WiFi with you, everywhere you go.

-
+

Everyone needs a little Karma

- - Internet for all devices - +
Internet for all devices
- - Boost your productivity - +
Boost your productivity
- - Pay as You Go - +
Pay as You Go
From 9cde1c3f5bd53f8daefcbfe6310e021597d48811 Mon Sep 17 00:00:00 2001 From: Appolin Semegni Fotso <108607571+AppolinFotso@users.noreply.github.com> Date: Wed, 25 Jan 2023 13:58:17 +0000 Subject: [PATCH 04/15] Added background colour Added background colour to the button element. --- css/style.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 2db7e74de..1ad9a9847 100755 --- a/css/style.css +++ b/css/style.css @@ -51,9 +51,16 @@ body { height: 100%; background-image: url("../img/first-background.jpg"); background-size: contain; - margin: 0px 20px; + margin: 0px 2rem; + color: white; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} +#section1 button { + background-color: orangered; } - #section2 { display: flex; flex-direction: column; From bcc2368b9ad24d81039948b39c8b98eb3e5c5138 Mon Sep 17 00:00:00 2001 From: Appolin Semegni Fotso <108607571+AppolinFotso@users.noreply.github.com> Date: Wed, 25 Jan 2023 16:13:30 +0000 Subject: [PATCH 05/15] Added social icons --- css/style.css | 46 ++++++++++++++++++++++++++++++++++------------ index.html | 18 ++++++++++++++++-- 2 files changed, 50 insertions(+), 14 deletions(-) diff --git a/css/style.css b/css/style.css index 1ad9a9847..f63b95927 100755 --- a/css/style.css +++ b/css/style.css @@ -6,7 +6,7 @@ body { display: grid; grid-template-columns: auto; - grid-template-rows: 10vh 70vh 20vh; + grid-template-rows: 10vh auto auto; } .header { @@ -25,6 +25,8 @@ body { .footer { grid-row: 3 / -1; + text-align: center; + margin-bottom: 2rem; } .header img { @@ -48,9 +50,9 @@ body { } #section1 { - height: 100%; background-image: url("../img/first-background.jpg"); - background-size: contain; + background-size: cover; + background-repeat: no-repeat; margin: 0px 2rem; color: white; display: flex; @@ -60,21 +62,26 @@ body { } #section1 button { background-color: orangered; + border: none; + font-size: 0.75rem; + margin: 1rem 1rem; + padding: 0.75rem 1.5rem; + border-radius: 5%; } #section2 { - display: flex; - flex-direction: column; - justify-content: center; + text-align: center; + margin: 5rem 5rem 0px; + border-bottom: 1px solid gray; } -#section2 > h1, -div { - width: 80%; -} - #section2 div { display: flex; flex-direction: row; - align-items: center; + justify-content: center; +} + +#section2 div a { + text-decoration: none; + color: black; } #section2 figure img { @@ -82,6 +89,21 @@ div { height: 10vh; } +#section2 figure figcaption { + margin-top: 1rem; + margin-bottom: 5rem; +} + +.footer div img { + height: 3%; + width: 3%; +} + +.footer div a { + text-decoration: none; + margin: 0 0.5rem; +} + /** * Add your custom styles below * diff --git a/index.html b/index.html index f9248deab..d88e98bbd 100755 --- a/index.html +++ b/index.html @@ -37,7 +37,7 @@

Introducing Karma

-

Everyone needs a little Karma

+

Everyone needs a little Karma.

@@ -61,7 +61,21 @@

Everyone needs a little Karma

- + From e8e9387001c5b0965079ad8db613094c1d4d8d4d Mon Sep 17 00:00:00 2001 From: Appolin Semegni Fotso <108607571+AppolinFotso@users.noreply.github.com> Date: Wed, 25 Jan 2023 16:34:38 +0000 Subject: [PATCH 06/15] Modified background image Te background image of the first section in the main element was modified. --- css/style.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index f63b95927..d6196d82d 100755 --- a/css/style.css +++ b/css/style.css @@ -53,12 +53,14 @@ body { background-image: url("../img/first-background.jpg"); background-size: cover; background-repeat: no-repeat; + background-clip: padding-box; margin: 0px 2rem; color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; + height: 80vh; } #section1 button { background-color: orangered; @@ -95,8 +97,8 @@ body { } .footer div img { - height: 3%; - width: 3%; + height: 2%; + width: 2%; } .footer div a { From 14d087698324d52f173ec70dbf386a3bc47d6971 Mon Sep 17 00:00:00 2001 From: Appolin Semegni Fotso <108607571+AppolinFotso@users.noreply.github.com> Date: Wed, 25 Jan 2023 16:38:48 +0000 Subject: [PATCH 07/15] Added values to Alt attributes --- index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index d88e98bbd..c93c9b5f2 100755 --- a/index.html +++ b/index.html @@ -41,19 +41,19 @@

Everyone needs a little Karma.

- + computer
Internet for all devices
- + coffee mug
Boost your productivity
- + petrol pump
Pay as You Go
@@ -65,13 +65,13 @@

Everyone needs a little Karma.

Join us on

- + twitter icon - + facebook icon - + instagram icon

© Karma Mobility, Inc.

From 880427551b7804d0f51cd9b86a9121137d384f54 Mon Sep 17 00:00:00 2001 From: Appolin Semegni Fotso <108607571+AppolinFotso@users.noreply.github.com> Date: Sat, 28 Jan 2023 12:40:30 +0000 Subject: [PATCH 08/15] Created 2 files Added store.css and store.html --- css/store.css | 0 css/style.css | 2 +- index.html | 2 +- store.html | 0 4 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 css/store.css create mode 100644 store.html diff --git a/css/store.css b/css/store.css new file mode 100644 index 000000000..e69de29bb diff --git a/css/style.css b/css/style.css index d6196d82d..18e383f40 100755 --- a/css/style.css +++ b/css/style.css @@ -78,7 +78,7 @@ body { #section2 div { display: flex; flex-direction: row; - justify-content: center; + justify-content: space-around; } #section2 div a { diff --git a/index.html b/index.html index c93c9b5f2..c60e8cfa4 100755 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@
logo
+ +
+
photo
+
+
+ + Wherever I am, I just don't worry about my connection anymore. + +
+ +
+