Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tyler Taylor #1145

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
288 changes: 287 additions & 1 deletion css/index.css
Original file line number Diff line number Diff line change
@@ -1 +1,287 @@
/* LESS needs to be processed */
/* 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;
}
nav {
display: flex;
justify-content: flex-end;
align-items: center;
font-size: 1.5rem;
}
nav a {
text-decoration: none;
color: black;
padding: 2rem;
margin: 0.5rem;
}
nav a:hover {
color: #808080;
}
.footer {
width: 100%;
border-top: 2px dashed silver;
background: #FFEBCD;
}
.footer p {
text-align: center;
color: #212529;
font-size: 1.6rem;
padding: 20px;
}
.home header {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
border-bottom: dashed 2px #C0C0C0;
}
.home header .funbus {
border-top: 2px dashed #C0C0C0;
}
.home header .intro {
padding: 2rem 0;
}
@media (max-width: 500px) {
.home header {
flex-direction: column;
padding: 2rem;
}
}
.home .content-section {
margin: 30px 0;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
@media (max-width: 500px) {
.home .content-section {
padding: 2rem;
}
}
.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;
}
@media (max-width: 500px) {
.home .content-pick {
flex-direction: column;
align-items: center;
}
}
.home .content-pick .destination {
width: 30%;
margin-bottom: 30px;
}
.home .content-pick .destination .btn {
display: flex;
justify-content: center;
color: white;
font-size: 2rem;
padding: 1.5rem;
background-color: #17A2B8;
border: 1px solid lightgray;
border-radius: 1.75rem;
}
@media (max-width: 500px) {
.home .content-pick .destination {
width: 90%;
}
}
18 changes: 18 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@


<div class="container home">
<header>
<div class="title">
<h1>Fun Bus</h1>
</div>
<nav>
<a href="#">Home</a>
<a href="#">About Us</a>
<a href="#">Blog</a>
<a href="#">Contact</a>
</nav>
<div class="funbus">
<img src="img/fun-bus.jpg">
</div>
<div class="intro">
<h2>Welcome To Fun Bus!</h2>
<p>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.</p>
</div>
</header>

<section class="content-section">
<div class="text-content">
Expand Down
34 changes: 34 additions & 0 deletions less/home-page.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,34 @@


.home {

header{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
border-bottom: dashed 2px @navigation-border;
.funbus{
border-top: 2px dashed @navigation-border;
}
.intro{
padding: 2rem 0;
}
@media @tablet{
flex-direction: column;
padding: 2rem;
}
}


.content-section {
margin: 30px 0;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
@media @tablet{
padding: 2rem;
}



Expand Down Expand Up @@ -52,10 +76,20 @@
border-top: 2px dashed @navigation-border;
display: flex;
justify-content: space-between;
@media @tablet{
flex-direction: column;
align-items: center;
}

.destination {
width: 30%;
margin-bottom: 30px;
.btn{
.button();
}
@media @tablet{
width: 90%;
}
}
}
}// home
8 changes: 8 additions & 0 deletions less/index.less
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
// 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";
Loading