diff --git a/css/global.css b/css/global.css new file mode 100644 index 0000000000..cc69fe3165 --- /dev/null +++ b/css/global.css @@ -0,0 +1,42 @@ +* { + 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; +} diff --git a/css/index.css b/css/index.css index e764f2b01f..1c6af5fb2c 100644 --- a/css/index.css +++ b/css/index.css @@ -1 +1,313 @@ -/* 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; +} +.upper-content { + width: 100%; + display: flex; + border-bottom: 2px dashed #C0C0C0; + padding: 30px 0; +} +.title { + width: 90%; + flex-direction: row; +} +.nav-items { + width: 100%; + flex-direction: row; + display: inline-flex; + justify-content: flex-end; + font-size: 2rem; +} +.nav-items .item { + color: #212529; + text-decoration: none; + margin-left: 20px; +} +@media (max-width: 500px) { + .upper-content { + width: 100%; + display: block; + border-bottom: 2px dashed #C0C0C0; + padding: 30px 0; + } + .upper-content .title { + text-align: center; + margin-bottom: 4%; + } + .upper-content .nav-items { + width: 100%; + flex-direction: row; + justify-content: center; + justify-content: space-between; + font-size: 2rem; + } +} +.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 .content-section .txt-content-one { + border-bottom: 2px dashed #C0C0C0; + padding-bottom: 15px; + margin: 0 auto 30px; +} +.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; +} +.home .content-pick .destination .btn { + color: white; + background-color: #17A2B8; + border-radius: 10px; + padding: 10px; + text-align: center; + font-size: 20px; +} +/* start of mobile first media query */ +@media (max-width: 500px) { + .home .content-pick { + flex-direction: column; + } + .home .content-pick .destination { + width: 100%; + margin-bottom: 30px; + } + .home .content-pick .destination .btn { + border-radius: 15px; + background-color: teal; + padding: 1rem; + text-align: center; + font-size: 1.6rem; + margin-right: 20px; + border: 2px solid black; + color: white; + } +} +@media (max-width: 500px) { + .home .content-section .img-content { + width: 100%; + padding-right: 0; + margin-bottom: 40px; + } + .home .content-section .text-content { + padding-top: 0; + padding-left: 0; + width: 100%; + } +} diff --git a/css/mixins.css b/css/mixins.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/css/navigation.css b/css/navigation.css new file mode 100644 index 0000000000..a47a1876a7 --- /dev/null +++ b/css/navigation.css @@ -0,0 +1,16 @@ +.title h1 { + position: absolute; + top: 15px; +} +.nav-items { + width: 100%; + display: flex; + justify-content: flex-end; + font-size: 2rem; + padding: 20px; +} +.nav-items .item { + color: black; + text-decoration: none; + margin-left: 20px; +} diff --git a/css/reset.css b/css/reset.css new file mode 100644 index 0000000000..55c1f5cdfb --- /dev/null +++ b/css/reset.css @@ -0,0 +1,128 @@ +/* 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; +} diff --git a/css/variables.css b/css/variables.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/index.html b/index.html index bb8663b768..5347d2c78f 100644 --- a/index.html +++ b/index.html @@ -15,12 +15,30 @@ + + - -
- +
+

Fun bus

+ +
+ +
+ This is funbus-img +
+
+
+

Welcome to Fun Bus!

+

Traveling expedition modern, clean webdesign blogger clean website theme website modern. Design pretty design, travelblogger adventure Wordpress wanderlust theme blogger website expedition theme travelblogger. + Adventure fun traveler pretty design website expedition.

+

Let's Go!

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

@@ -30,10 +48,12 @@

Let's Go!

Let's go on an adventure!
+ +
- Lets have fun! -
+ 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.

diff --git a/less/home-page.less b/less/home-page.less index 5528d8a7a5..b1e43cff9d 100644 --- a/less/home-page.less +++ b/less/home-page.less @@ -1,12 +1,10 @@ .home { - .content-section { margin: 30px 0; display: flex; flex-wrap: wrap; justify-content: space-between; - .text-content { width: 48%; @@ -23,6 +21,14 @@ } } + .content-section .txt-content-one{ + border-bottom: 2px dashed @navigation-border; + padding-bottom: 15px; + margin: 0 auto 30px; + + + } + .inverse-content { padding-bottom: 30px; border-bottom: 2px dashed @navigation-border; @@ -56,6 +62,57 @@ .destination { width: 30%; margin-bottom: 30px; + + .btn{ + color: white; + background-color: @button-bg; + border-radius: 10px; + .button-properties(10px, center, 20px); + + // padding: 10px; + // text-align: center; + // font-size: 20px; + } + } + } +}// home + +/* start of mobile first media query */ +@media (max-width: 500px) { + .home .content-pick{ + flex-direction: column; + } + .home .content-pick .destination { + width: 100%; + margin-bottom: 30px; + } + .home .content-pick .destination .btn { + border-radius: 15px; + background-color: teal; + .button-properties(1rem, center, 1.6rem); + margin-right: 20px; + border: 2px solid black; + color: white; + } +} + +@media (max-width: 500px) { + .home{ + + .content-section{ + + .img-content { + width: 100%; + padding-right: 0; + margin-bottom: 40px + + } + + .text-content{ + padding-top: 0; + padding-left: 0; + width: 100%; + } } } -}// home \ No newline at end of file +} \ No newline at end of file diff --git a/less/index.less b/less/index.less index c113ca2c46..560e0e05f6 100644 --- a/less/index.less +++ b/less/index.less @@ -1 +1,14 @@ // 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"; \ No newline at end of file diff --git a/less/mixins.less b/less/mixins.less index 2d5c603558..4f84bb8533 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -1 +1,7 @@ -// Mixins in here \ No newline at end of file +// Mixins in here + +.button-properties(@padding, @txt-align, @font-size){ + padding: @padding; + text-align: @txt-align; + font-size: @font-size; +} \ No newline at end of file diff --git a/less/navigation.less b/less/navigation.less index f89120a0f1..9daf669aaf 100644 --- a/less/navigation.less +++ b/less/navigation.less @@ -1 +1,50 @@ -// Navigation Styles here \ No newline at end of file +// Navigation Styles here +.upper-content{ + width: 100%; + display: flex; + border-bottom: 2px dashed @navigation-border; + padding: 30px 0; +} + +.title{ + width: 90%; + flex-direction: row; + } + +.nav-items { + width: 100%; + flex-direction: row; + display: inline-flex; + justify-content: flex-end; + font-size: 2rem; + + .item { + color: @font-color; + text-decoration: none; + margin-left: 20px; + } + + + } + //media-query for navigation + @media (max-width: 500px) { + .upper-content{ + width: 100%; + display: block; + border-bottom: 2px dashed @navigation-border; + padding: 30px 0; + + .title { + text-align: center; + margin-bottom: 4%; + } + + .nav-items { + width: 100%; + flex-direction: row; + justify-content: center; + justify-content: space-between; + font-size: 2rem; + } + } +} \ No newline at end of file