From bb946cfb73e22e66b5c2a86a8ab167110aa4d903 Mon Sep 17 00:00:00 2001 From: Ashley Parvin Date: Sun, 24 May 2020 18:46:58 -0400 Subject: [PATCH 1/2] I modified index.html, index.less and navigation.less --- css/index.css | 272 ++++++++++++++++++++++++++++++++++++++++++- index.html | 121 ++++++++++--------- less/index.less | 7 ++ less/navigation.less | 12 +- 4 files changed, 354 insertions(+), 58 deletions(-) diff --git a/css/index.css b/css/index.css index e764f2b01f..385601a57a 100644 --- a/css/index.css +++ b/css/index.css @@ -1 +1,271 @@ -/* LESS needs to be processed */ \ No newline at end of file +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} + + +/* HTML5 display-role reset for older browsers */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; +} + +body { + line-height: 1; +} + +ol, +ul { + list-style: none; +} + +blockquote, +q { + quotes: none; +} + +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ''; + content: none; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +* { + box-sizing: border-box; +} + +html { + font-size: 62.5%; +} + +html, +body { + font-family: 'Roboto', sans-serif; +} + +h1, +h2, +h3, +h4, +h5 { + font-family: 'Indie Flower', cursive; +} + +h1 { + font-size: 4rem; +} + +h2 { + font-size: 3.2rem; + padding-bottom: 10px; +} + +h4 { + font-size: 2.5rem; + padding-bottom: 10px; +} + +p { + line-height: 1.5; + font-size: 1.6rem; + padding-bottom: 10px; +} + +img { + max-width: 100%; + height: auto; +} + +.container { + max-width: 800px; + width: 100%; + margin: 0 auto; +} + +.footer { + width: 100%; + border-top: 2px dashed silver; + background: #FFEBCD; +} + +.footer p { + text-align: center; + color: #212529; + font-size: 1.6rem; + padding: 20px; +} + +.home .content-section { + margin: 30px 0; + display: flex; + flex-wrap: wrap; + justify-content: space-between; +} + +.home .content-section .text-content { + width: 48%; + padding-right: 1%; +} + +.home .content-section .img-content { + width: 48%; + padding-left: 1%; +} + +.home .content-section .img-content img { + border-radius: 10px; +} + +.home .inverse-content { + padding-bottom: 30px; + border-bottom: 2px dashed #C0C0C0; +} + +.home .inverse-content .text-content { + padding-left: 1%; + padding-right: 0; +} + +.home .inverse-content .img-content { + padding-right: 1%; + padding-left: 0; +} + +.home .content-destination { + width: 75%; + margin: 0 auto 30px; +} + +.home .content-destination img { + border-radius: 10px; +} + +.home .content-pick { + padding-top: 30px; + border-top: 2px dashed #C0C0C0; + display: flex; + justify-content: space-between; +} + +.home .content-pick .destination { + width: 30%; + margin-bottom: 30px; +} + +.Nav { + display: flex; + width: 90%; + margin: auto; +} + +.Nav nav { + color: black; + text-decoration: none; + display: flex; +} \ No newline at end of file diff --git a/index.html b/index.html index bb8663b768..3283c7e0fc 100644 --- a/index.html +++ b/index.html @@ -1,74 +1,83 @@ + - + - Fun Bus Travel Agency - Solution + Fun Bus Travel Agency - Solution - - + + - + +
+ +
+
+

Let's Go!

+

Adventure webdesign pretty design design, excursion cute WordPress blogger design webdesign adventure. Pretty simple traveling fun WordPress wanderlust darn simple organized.

+

Expedition colorful design simple excursion blogger blogger design WordPress design, design organized website theme.

+
+
+ Let 's go on an adventure! +
+
+
+
+ Lets have fun! +
+
+

Adventure Awaits

+

Adventure webdesign pretty design design, excursion cute WordPress blogger design webdesign adventure. Pretty simple traveling fun WordPress wanderlust darn simple organized.

+

Expedition colorful design simple excursion blogger blogger design WordPress design, design organized website theme.

+
- - -
- -
-
-

Let's Go!

-

Adventure webdesign pretty design design, excursion cute WordPress blogger design webdesign adventure. Pretty simple traveling fun WordPress wanderlust darn simple organized.

-

Expedition colorful design simple excursion blogger blogger design WordPress design, design organized website theme.

-
-
- Let's go on an adventure! -
-
-
-
- Lets have fun! -
-
-

Adventure Awaits

-

Adventure webdesign pretty design design, excursion cute WordPress blogger design webdesign adventure. Pretty simple traveling fun WordPress wanderlust darn simple organized.

-

Expedition colorful design simple excursion blogger blogger design WordPress design, design organized website theme.

-
- -
-
-

Pick Your Destination

-

Expedition excursion design darn excursion fun, clean simple organized WordPress Travel colorful webdesign. Traveler blogger website design expedition clean excursion traveling.

- Second slide -
-
+
+
+

Pick Your Destination

+

Expedition excursion design darn excursion fun, clean simple organized WordPress Travel colorful webdesign. Traveler blogger website design expedition clean excursion traveling.

+ Second slide +
+
-
-

Fun In The Sun

-

Expedition excursion design excursion fun, clean simple organized WordPress Travel colorful webdesign. Traveler blogger website design expedition clean excursion traveling.

-
Sign Me Up!
-
-
-

Mountain Excursion

-

Expedition excursion design excursion fun, clean simple organized WordPress Travel colorful webdesign. Traveler blogger website design expedition clean excursion traveling.

-
Sign Me Up!
-
-
-

Island Getaway

-

Expedition excursion design excursion fun, clean simple organized WordPress Travel colorful webdesign. Traveler blogger website design expedition clean excursion traveling.

-
Sign Me Up!
-
-
-
+
+

Fun In The Sun

+

Expedition excursion design excursion fun, clean simple organized WordPress Travel colorful webdesign. Traveler blogger website design expedition clean excursion traveling.

+
Sign Me Up!
+
+
+

Mountain Excursion

+

Expedition excursion design excursion fun, clean simple organized WordPress Travel colorful webdesign. Traveler blogger website design expedition clean excursion traveling.

+
Sign Me Up!
+
+
+

Island Getaway

+

Expedition excursion design excursion fun, clean simple organized WordPress Travel colorful webdesign. Traveler blogger website design expedition clean excursion traveling.

+
Sign Me Up!
+
+
+
+ - + + \ No newline at end of file diff --git a/less/index.less b/less/index.less index c113ca2c46..dc0111390e 100644 --- a/less/index.less +++ b/less/index.less @@ -1 +1,8 @@ // Follow the order in the readme +@import "variables.less"; +@import "mixins.less"; +@import "reset.less"; +@import "global.less"; +@import "navigation.less"; +@import "footer.less"; +@import "home-page.less"; diff --git a/less/navigation.less b/less/navigation.less index f89120a0f1..ffa07f0434 100644 --- a/less/navigation.less +++ b/less/navigation.less @@ -1 +1,11 @@ -// Navigation Styles here \ No newline at end of file +// Navigation Styles here +.Nav{ + nav{ + color: black; + text-decoration: none; + display: flex; + } + display: flex; + width: 90%; + margin: auto; +} From 346f91ceb9878602ca7012fcb27947cecb229da9 Mon Sep 17 00:00:00 2001 From: Ashley Parvin Date: Tue, 26 May 2020 20:23:30 -0400 Subject: [PATCH 2/2] I modified the index.html and the less files. --- css/index.css | 28 ++++++++++++++++------------ index.html | 18 +++++++++--------- less/footer.less | 4 ++-- less/home-page.less | 12 ++++++++++-- less/navigation.less | 2 ++ less/variables.less | 11 ++++++++++- 6 files changed, 49 insertions(+), 26 deletions(-) diff --git a/css/index.css b/css/index.css index 385601a57a..abca2170fa 100644 --- a/css/index.css +++ b/css/index.css @@ -188,6 +188,22 @@ img { margin: 0 auto; } +.Nav { + display: flex; + width: 90%; + margin: auto; + font-size: large; + justify-content: space-between; + text-decoration: none; + color: #000; +} + +.Nav nav { + color: #000; + text-decoration: none; + display: flex; +} + .footer { width: 100%; border-top: 2px dashed silver; @@ -256,16 +272,4 @@ img { .home .content-pick .destination { width: 30%; margin-bottom: 30px; -} - -.Nav { - display: flex; - width: 90%; - margin: auto; -} - -.Nav nav { - color: black; - text-decoration: none; - display: flex; } \ No newline at end of file diff --git a/index.html b/index.html index 3283c7e0fc..e8ac818ba5 100644 --- a/index.html +++ b/index.html @@ -4,25 +4,25 @@ - + Fun Bus Travel Agency - Solution - - + + -