diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..5dcd8ec30 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "cSpell.words": ["adipisicing"] +} diff --git a/css/store.css b/css/store.css new file mode 100644 index 000000000..17491d5af --- /dev/null +++ b/css/store.css @@ -0,0 +1,134 @@ +:root { + --grey-dark: #616364; + --grey-light: #a7a4a4; + --orange-dark: #c05326; + --orange-light: #f7eae4; + --orange: #d65a17; + --white: #fff; + --black: black; + --pink: #f7d1b980; +} +/*Body*/ +body { + font-family: "Roboto", sans-serif; + -webkit-font-smoothing: antialiased; + max-width: 100vw; + margin: 0; +} + +h1, +h2, +h4, +h5, +h6, +p { + margin-top: 0; + margin-bottom: 0; +} + +/* Form section */ +.order-section { + height: min-content; + display: grid; + grid-template-columns: 50vw 50vw; + grid-template-rows: min-content; + align-items: flex-start; +} + +/* left text and form */ +.order-text { + margin: 15vh 8vw 0; +} +.order-text h1 { + margin-bottom: 2rem; + color: var(--orange-dark); + font-size: 2.8rem; + font-weight: 465; +} +.order-image { + background-image: url("../level-2/store-image_by-andrew-neel-unsplash.jpg"); + background-position: center; + background-size: cover; + height: 100%; +} + +.couple { + display: flex; + flex-direction: column; +} +.name-row { + display: flex; + flex-direction: row; + gap: 3vw; +} +.name { + width: 50%; +} + +.city, +.postcode, +#firstName, +#lastName { + width: 100%; + height: 40px; +} +.radio-row { + display: flex; + flex-direction: row; + gap: 10px; + margin-top: 10px; +} + +.radio-text { + margin-top: 2rem; + margin-bottom: 3rem; +} + +.address-line { + display: flex; + flex-direction: column; + gap: 10px; +} +#address, +#address2 { + width: 100%; + height: 40px; +} + +.input-btn { + padding: 1vw 2vw; +} + +.submit input[type="submit"] { + background-color: var(--orange-dark); + color: white; + border: 0; + font-size: 20px; + margin-top: 2rem; + transition: background-color 0.3s; + background-size: 20%; + border-radius: 5px; +} + +.submit input[type="submit"]:hover { + background-color: rgb(211, 70, 19); +} +.lbl-space { + margin-top: 2rem; + margin-bottom: 0.5rem; +} + +.clr-lbl { + margin: 30px; +} + +span.orange-text { + color: var(--orange-dark); + text-decoration: underline; +} + +a.terms-link { + text-decoration: none; /* Remove underline*/ + color: black; + text-decoration: none; +} diff --git a/css/style.css b/css/style.css index 5cb025cef..a651c4c4e 100755 --- a/css/style.css +++ b/css/style.css @@ -1,19 +1,314 @@ +:root { + --grey-dark: #616364; + --grey-light: #a7a4a4; + --orange-dark: #c05326; + --orange-light: #f7eae4; + --orange: #d65a17; + --white: #fff; + --black: black; + --pink: #f7d1b980; +} +/*Body*/ +body { + font-family: "Roboto", sans-serif; + -webkit-font-smoothing: antialiased; + max-width: 100vw; + margin: 0 auto; +} + +h1, +h2, +h4, +h5, +h6, +p { + margin-top: 0; + margin-bottom: 0; +} - /* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ +/* Header */ -body { - font-family: 'Roboto', sans-serif; - -webkit-font-smoothing: antialiased; +header { + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: space-between; + align-items: center; + margin: 2px 90px; + background-color: rgb(243, 241, 241); + height: 3.75rem; +} + +header .karma__logo { + height: 2.5rem; +} + +header nav { + width: 50vw; +} + +/* Navigation */ + +#navigation__list { + display: flex; + list-style: none; + justify-content: flex-end; + align-items: center; + gap: calc(5px + 2vw); + padding: 0; + margin: 0; + color: var(--grey-light); +} +.nav__item a:hover { + color: var(--orange-dark); +} + +#navigation__list li:nth-child(1) a { + color: black; +} +li a { + color: var(--grey-dark); + text-decoration: none; + font-size: calc(5px + 1vw); + margin: 0; +} + +/*main*/ +section { + height: 75vh; +} +#hero { + background-image: url(../img/first-background.jpg); + background-position: center; + background-size: cover; + text-align: center; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 2rem; + color: var(--white); + + margin: 0; + margin-bottom: 9rem; +} +#hero h1 { + font-weight: 100; + font-size: calc(30px + 3vw); +} +#hero h2 { + margin-top: 2rem; + margin-bottom: 3rem; + font-weight: 180; + font-size: calc(20px + 1.5vw); +} +#hero p { + margin-bottom: 4rem; +} + +/*button*/ +#hero button { + margin-top: 0; + + background-color: var(--orange-dark); + color: var(--white); + padding: 15px 17px; + border-radius: 10px; + font-size: 1.5rem; + font-weight: 200; + border: none; +} +/*icons*/ + +#icons { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} +#icons h1 { + color: var(--grey-dark); + font-size: calc(20px + 2vw); + font-weight: 100; +} + +h5 { + text-align: left; + font-size: calc(15px + 1vw); + align-items: center; + justify-content: center; + font-weight: 200; + color: var(--grey-dark); +} +.icon1 { + width: 70%; + height: auto; +} +.icon__images { + margin: 4rem 10vw; + display: grid; + grid-template-columns: repeat(3, 1fr); + grid-template-rows: 1fr auto; + gap: calc(15px + 1.5vw); + justify-items: center; +} + +/*get-karma*/ +.get-karma { + display: grid; + grid-template-columns: repeat(2, 1fr); + margin: 50px 0 80px 0; + height: 65vh; +} +.quote-div { + background-color: var(--pink); + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} +.connection-quote { + font-size: calc(10px + 2vw); + font-style: italic; + font-weight: 300; + text-align: center; + margin-top: 0px; +} +.orange-quote { + color: var(--orange-dark); + font-size: 55px; +} +.btn-karma { + background-color: var(--orange-dark); + color: var(--white); + padding: calc(10px + 1.5vw) calc(15px + 2vw); + border-radius: 10px; + font-size: calc(10px + 1vw); + font-weight: 190; + border: 0; +} +.girl-img { + width: 100%; + height: 100%; + background-image: url("../level-2/homepage-feature.png"); + background-position: center left; + background-size: cover; +} + +/* footer*/ + +.grey-hr { + height: 1px; + background-color: rgb(214, 212, 212); + border: none; + margin: 30px 0 10px; +} +footer { + display: flex; + flex-direction: column; + text-align: center; + align-items: center; + padding: 4rem; +} +footer h6 { + font-size: 14px; + color: var(--grey-light); + font-weight: 300; + margin: 1px 0; + color: var(--grey-dark); } -/** - * Add your custom styles below - * - * Remember: - * - Be organised, use comments and separate your styles into meaningful chunks - * 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' - */ +/* media__icons */ +.img-circles { + padding: 0.5em; + width: 1.5rem; + border: solid 1px; + border-color: var(--grey-light); + border-radius: 2rem; +} + +.media__icons { + margin: 20px 0; + display: flex; + gap: 2em; +} + +.copyright { + color: rgb(184, 180, 180); + font-size: 13px; +} + +#menu-icon { + display: none; +} + +#hamburger-lbl { + display: none; +} + +@media screen and (max-width: 540px) { + header nav { + display: none; + width: fit-content; + } + header { + position: relative; + margin: 2px 15px; + } + #navigation__list { + flex-direction: column; + align-items: stretch; + gap: 0; + padding: 0.3em; + } + .nav__item { + padding: 0.3em; + text-align: center; + } + + #menu-icon:checked + nav { + display: inline; + position: absolute; + right: 0%; + top: 110%; + + background-color: var(--white); + } + #hamburger-lbl { + display: block; + } + + #hero { + height: 35vh; + margin-bottom: 0; + } + .icon__images { + grid-template-columns: 1fr; + grid-template-rows: repeat(6, auto); + } + #r2 { + grid-row: 3/4; + } + + #r3 { + grid-row: 5/6; + } + + #icons { + height: fit-content; + width: 70vw; + margin: 2rem auto; + text-align: center; + } + .get-karma { + display: flex; + flex-direction: column; + } + .girl-img { + width: 100%; + } +} diff --git a/homepage-desktop.png b/images/homepage-desktop.png similarity index 100% rename from homepage-desktop.png rename to images/homepage-desktop.png diff --git a/images/store-image_by-andrew-neel-unsplash.jpg b/images/store-image_by-andrew-neel-unsplash.jpg new file mode 100644 index 000000000..a8ad89099 Binary files /dev/null and b/images/store-image_by-andrew-neel-unsplash.jpg differ diff --git a/index.html b/index.html index 3e742ef04..4ade4b127 100755 --- a/index.html +++ b/index.html @@ -1,19 +1,146 @@ - - - + + + Karma - - - - - - + + + + + + + + +
+ +
+ +
+ + + + +
+ +
+ +
+

Introducing Karma

+

Bring WiFi with you, everywhere you go.

+ +
+ + +
+

Everyone needs a little Karma.

+
+ device image + coffee cup image +  ipod image +
Internet for all devices
+
Boost your productivity
+
Pay as you go
+
+
+ +
+
+
+
+

+ " Wherever I am, I just don't +
+ worry about my connection
+ anymore! " +

+ + + +
+
+
+
+
+ + + - - + diff --git a/level-2/page.png b/level-2/page.png new file mode 100644 index 000000000..441382b1b Binary files /dev/null and b/level-2/page.png differ diff --git a/store.html b/store.html new file mode 100644 index 000000000..026016c52 --- /dev/null +++ b/store.html @@ -0,0 +1,179 @@ + + + + + + Karma + + + + + + + + +
+ +
+ +
+ + + + +
+ + +
+
+
+

Order your Karma wifi
device today!

+ +
+
+
+ + +
+
+ + +
+
+ +
+ + +
+ +
+ + +
+ +
+
+ + +
+
+ + +
+
+ +
+ + +
+ + + + + +
+
+ +
+ + +
+ +
+ +
+
+
+
+
+
+ + + + + + + + +