diff --git a/css/footer.css b/css/footer.css new file mode 100644 index 000000000..d4be1f5e2 --- /dev/null +++ b/css/footer.css @@ -0,0 +1,45 @@ +/* Footer */ + +hr { + width: 95%; + opacity: 0.3; +} + +footer { + width: 100%; +} + +.footer-content { + width: 400px; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + margin: 0 auto; + padding-bottom: 30px; +} + +.footer-icons { + display: flex; + flex-direction: row; +} + +.footer-icons img { + margin: 10px; +} + +.footer-icons img { + border: 2px solid var(--grey); + border-radius: 50%; + padding: 15px; + opacity: 0.75; +} + +footer p { + font-size: 1.25rem; + font-weight: 300; +} + +.credits { + opacity: 0.5; +} \ No newline at end of file diff --git a/css/general-styles.css b/css/general-styles.css new file mode 100644 index 000000000..6ab3019fb --- /dev/null +++ b/css/general-styles.css @@ -0,0 +1,46 @@ +/* General styles */ + +:root { + --grey: #616668; + --burnt-orange: #E0633A; +} + +html, body { + font-family: Roboto, sans-serif; + margin: 0; + padding: 0; + box-sizing: border-box; + width: 100%; + overflow-x: hidden; +} + +main { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding-top: 20px; +} + +img{ + max-width: 100%; + height: auto; + display: block; +} + +/* Button */ + +button { + background-color: var(--burnt-orange); + font-size: 1.4rem; + font-weight: 400; + padding: 22px 45px; + border-style: none; + border-radius: 6px; + display: block; + margin: 0 auto; + margin-top: 80px; + color: #fff; +} + + diff --git a/css/meet-karma.css b/css/meet-karma.css new file mode 100755 index 000000000..6b87363e8 --- /dev/null +++ b/css/meet-karma.css @@ -0,0 +1,116 @@ + +/* Hero */ + +.hero { + background-color: black; + background-image: url(../img/first-background.jpg); + color: white; + background-repeat: no-repeat; + background-size: 162%; + background-position: center top 30%; + min-height: 100vh; + display: flex; + justify-content: center; + align-items: center; + font-size: 2.25rem; + filter:saturate(0.7); +} + +.hero-text-and-button p { + font-weight: 300; +} + +/* Typography */ + +h1 { + font-weight: 200; + margin-bottom: 30px; + padding-top: 80px; +} + +h1, h2, h3 { + text-align: center; +} + +h2 { + font-size: 3.5rem; + font-weight: 300; + padding-top: 60px; +} + +h3 { + font-size: 2rem; + font-weight: 300; +} + +/* Section */ + +.section-items { + width: 100vw; + display: flex; + justify-content: space-evenly; + align-items: center; + padding-bottom: 60px; +} + +.section-item { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +.section-item img { + width: 160px; +} + +/* Section: Feature */ + +.feature { + width: 100%; + display: flex; + justify-content: space-between; +} + +.feature img { + display: block; + width: 44.5%; +} + +.feature_text-and-button { + margin:0 auto; + background-color: hsla(15, 73%, 55%, 0.1); +} + +blockquote { + font-size: 42px; + font-weight: 400; + line-height: 49.22px; + font-style: italic; + text-align: center; +} + +q { + color: var(--burnt-orange); + font-weight: 400; + font-style: italic; + font-size: 56px; + line-height: 56px; + text-align: center; +} + +span { + color: black; +} + +.feature_text-and-button button { + color: #fff; + font-size: 24px; + text-align: center; + line-height: 28.13px; + font-weight: 400; + text-align: center; +} + + + diff --git a/css/navbar.css b/css/navbar.css new file mode 100644 index 000000000..9141471f9 --- /dev/null +++ b/css/navbar.css @@ -0,0 +1,43 @@ +/* Navigation */ + +nav { + display: flex; + justify-content: space-between; + align-items: center; + box-sizing: border-box; + padding: 20px 40px; + height: 90px; + background: hsla(0, 0%, 77%, 0.1); +} + +nav ul { + display: flex; + justify-content: space-between; + list-style: none; + font-size: 1.35rem; + font-weight: 500; + cursor: pointer; +} + +nav ul li { + padding: 0 20px; +} + +nav ul li a { + text-decoration: none; + color: #757e83; +} + +nav ul li a:hover { + color: var(--burnt-orange); +} + +.active { + color: black; +} + +#hamburger { + display: none; +} + + diff --git a/css/store.css b/css/store.css new file mode 100644 index 000000000..74f1a57ac --- /dev/null +++ b/css/store.css @@ -0,0 +1,182 @@ + +:root { + --burnt-orange: #DE6E49; + --space-grey: #666; +} + +main { + margin-top: 0; + padding-top: 0;; +} + +section { + width: 50%; +} + +.flex-container { + display: flex; +} + +h1 { + text-align: left; + color: var(--burnt-orange); + font-weight: 500; + font-size: 50px; + line-height: 58.59px; +} + +.flex-container img { + display: block; + max-width: 100%; + height: auto; + width: 50%; +} + +/* form inputs */ + +form { + height: 100%; + display: flex; + flex-direction: column; + justify-content: space-evenly; + max-width: 80%; + margin: 0 auto; +} + +.input-field { + display: flex; + flex-direction: column; +} + + .two-inputs { + display: flex; + justify-content: space-between; +} + +input, select, option { + border-width: 2px; + border-color: #666; /*why is this affecting background?*/ + border-radius: 4px; +} + +input[type=text], select, option{ + display: block; + margin-bottom: 20px; + height: 30px; +} + +.name input, .name label, legend { + display: block; +} + +label { + padding-bottom: 6px; +} + +.required:after { + content:" *"; +} + +select:required:invalid { + color: #666; +} + +option[value=""][disabled] { + display: none; +} + +option[disabled][selected] { + font-style: italic; +} /*why this is not working? */ + +option { + color: #000; + font-style: italic; +} + +/* radio buttons */ + +.radio-buttons { + display: flex; +} + +.radio-orange { + display: flex; +} + +input[type='radio']::after { + width: 25px; + height: 25px; + border-radius: 15px; + top: -4px; + left: -2px; + position: relative; + background-color: #ffffff; + content: ''; + display: inline-block; + visibility: visible; + border: 2px solid #666; +} + +input[type='radio']:checked::after { + width: 25px; + height: 25px; + border-radius: 15px; + top: -4px; + left: -2px; + position: relative; + content: ''; + display: inline-block; + visibility: visible; + border: 2px solid #666; +} + +#karma-orange:checked::after { + background-color: var(--burnt-orange); +} + +#space-grey:checked::after { + background-color: var(--space-grey); +} + +.radio-button label { + margin: 10px 10px; + padding: 0 10px; +} + + +/* T&C and button */ + +span a { + color: hsla(15, 69%, 58%, 1); +} + +button { + float: left; +} + +/* Checkbox styling */ + +[type=checkbox]::after { + width: 18px; + height: 18px; + content: ''; + position: relative; + left: -6px; + top: -2px; + display: inline-block; + outline: 2px solid var(--space-grey); + background: #fff; +} + +[type=checkbox]:checked::after { + width: 18px; + height: 18px; + content: ''; + position: relative; + left: -6px; + top: -2px; + display: inline-block; + background-image: url(../img/checkmark.svg); +} + diff --git a/css/style.css b/css/style.css deleted file mode 100755 index 5cb025cef..000000000 --- a/css/style.css +++ /dev/null @@ -1,19 +0,0 @@ - - /* 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; -} - -/** - * 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' - */ - - diff --git a/img/checkmark.svg b/img/checkmark.svg new file mode 100644 index 000000000..17a3c14f3 --- /dev/null +++ b/img/checkmark.svg @@ -0,0 +1,3 @@ + + + diff --git a/img/homepage-feature.png b/img/homepage-feature.png new file mode 100644 index 000000000..3500b2e4c Binary files /dev/null and b/img/homepage-feature.png differ diff --git a/img/store-image_by-andrew-neel-unsplash.jpg b/img/store-image_by-andrew-neel-unsplash.jpg new file mode 100644 index 000000000..a8ad89099 Binary files /dev/null and b/img/store-image_by-andrew-neel-unsplash.jpg differ diff --git a/index.html b/index.html deleted file mode 100755 index 3e742ef04..000000000 --- a/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - Karma - - - - - - - - - - - - - diff --git a/meet-karma.html b/meet-karma.html new file mode 100755 index 000000000..2cfc2c4b1 --- /dev/null +++ b/meet-karma.html @@ -0,0 +1,76 @@ + + + + + + Meet Karma + + + + + + + + + + +
+
+

Introducing Karma

+

Bring WiFi with you, everywhere you go.

+ +
+
+
+
+
+

Everyone needs a little Karma

+
+
+
+ icon-devices +

Internet for all devices

+
+
+ icon-coffee +

Boost your productivity

+
+
+ icon-refill +

Pay as You Go

+
+
+
+
+ laughing female using tablet + +
+
Wherever I am, I just don't worry about my connection anymore!
+ +
+
+
+ + + diff --git a/store.html b/store.html new file mode 100644 index 000000000..66a141b8d --- /dev/null +++ b/store.html @@ -0,0 +1,102 @@ + + + + + + + Store + + + + + + + + + +
+
+
+
+

Order your Karma wifi device today!

+
+
+
+ + +
+
+ + +
+
+ + + + +
+
+ + +
+
+ + +
+
+
+
+ Select a colour +
+
+ + +
+
+ + +
+
+
+
+
+ + +
+ +
+
+
+ +
+
+ + + \ No newline at end of file