diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..4c7ff40f6 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5502 +} diff --git a/css/normalize.css b/css/normalize.css index 957605911..3f16d500d 100755 --- a/css/normalize.css +++ b/css/normalize.css @@ -1,4 +1,3 @@ - /** * --------------------------------------- * DO NOT EDIT THIS FILE. @@ -16,9 +15,12 @@ */ html { - font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; /* 2 */ - -webkit-text-size-adjust: 100%; /* 2 */ + font-family: sans-serif; + /* 1 */ + -ms-text-size-adjust: 100%; + /* 2 */ + -webkit-text-size-adjust: 100%; + /* 2 */ } /** @@ -64,8 +66,10 @@ audio, canvas, progress, video { - display: inline-block; /* 1 */ - vertical-align: baseline; /* 2 */ + display: inline-block; + /* 1 */ + vertical-align: baseline; + /* 2 */ } /** @@ -263,9 +267,12 @@ input, optgroup, select, textarea { - color: inherit; /* 1 */ - font: inherit; /* 2 */ - margin: 0; /* 3 */ + color: inherit; + /* 1 */ + font: inherit; + /* 2 */ + margin: 0; + /* 3 */ } /** @@ -297,11 +304,14 @@ select { */ button, -html input[type="button"], /* 1 */ +html input[type="button"], +/* 1 */ input[type="reset"], input[type="submit"] { - -webkit-appearance: button; /* 2 */ - cursor: pointer; /* 3 */ + -webkit-appearance: button; + /* 2 */ + cursor: pointer; + /* 3 */ } /** @@ -342,8 +352,10 @@ input { input[type="checkbox"], input[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ } /** @@ -364,9 +376,11 @@ input[type="number"]::-webkit-outer-spin-button { */ input[type="search"] { - -webkit-appearance: textfield; /* 1 */ + -webkit-appearance: textfield; + /* 1 */ -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; /* 2 */ + -webkit-box-sizing: content-box; + /* 2 */ box-sizing: content-box; } @@ -397,8 +411,10 @@ fieldset { */ legend { - border: 0; /* 1 */ - padding: 0; /* 2 */ + border: 0; + /* 1 */ + padding: 0; + /* 2 */ } /** diff --git a/css/style.css b/css/style.css index 5cb025cef..01b239c98 100755 --- a/css/style.css +++ b/css/style.css @@ -1,19 +1,411 @@ - - /* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ +/* 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; + background-color: rgb(255, 255, 255); + +} + + +/* General style------------------------ */ + + + +.container { + height: 100%; + display: grid; + grid-gap: 1px; + text-align: center; + grid-template-columns: repeat(12, 1fr); + grid-template-rows: auto; + grid-template-areas: + "h h h h h h h h h h h h" + "c c c c c c c c c c c c" + "f f f f f f f f f f f f"; +} + +/* ----------------Header Style--------------- */ +.header { + grid-area: h; + display: flex; + justify-content: space-between; + align-items: center; + background: rgba(196, 196, 196, 0.1); +} + +.logo { + width: 1.5rem; + padding-left: 4rem; +} + +.nav-list { + display: flex; + padding-right: 4rem; +} + +.nav-items { + padding-left: 2rem; + list-style: none; +} + +.nav-items>a { + text-decoration: none; + color: rgba(137, 141, 150, 255); + font-size: 0.9rem; +} + +.nav-items>a:hover { + color: orangered; + +} + +.nav-items:first-child a { + color: rgb(31, 28, 28); + +} + +/* ------------------Main style ----------------- */ +.content { + + grid-area: c; + +} + +/* First section -----------*/ +.hero-image { + background-image: url("/img/first-background.jpg"); + background-color: #cccccc; + height: 42rem; + background-position: center; + background-repeat: no-repeat; + background-size: cover; + position: relative; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +.hero-text { + font-weight: 2rem; + color: rgba(250, 251, 251, 255); + text-align: center; +} + +.header-hero { + font-weight: lighter; + font-size: 3.5rem; + margin: 1rem 0rem; + +} + +.hero-p { + font-size: 1.9rem; + font-weight: lighter; +} + +.hero-button { + background-color: rgba(224, 99, 58, 255); + width: 10rem; + height: 4rem; + margin-top: 1rem; + border-radius: 6px; + +} + +/* Second Section----------------- */ + +#service-header { + padding-top: 5rem; + font-weight: lighter; + color: black; + font-size: 2.5rem; } -/** - * 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' - */ +.three-services { + display: flex; + justify-content: space-around; + padding-top: 0.6rem; + padding-bottom: 7rem; +} + +.link-service { + text-decoration: none; + color: black; + display: flex; + flex-direction: column; + align-items: center; + +} + +.img-service { + width: 6rem; + height: 6rem; +} +/* Level 2- Extended Page style */ +.get-karma{ + display: flex; + flex-direction: row; + padding-bottom: 2rem; + height: 20rem; +} +.karma-img{ +width: 50rem; +} +.karma2{ + width: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + background: rgba(224, 99, 58, 0.1); + +} +.karma-text{ +font-family: 'Roboto'; +font-style: italic; +font-weight: 400; +font-size: 2rem +} +#quoto::before +{ + content: "“"; + color: #E0633A; + font-weight: 400; +} +#quoto::after{ + content: "”"; + color: #E0633A; + font-weight: 400; +} +.karma-btn{ + background: #E0633A; + border-radius: 8px; + color: white; + border: none; + padding: 0.8rem 1.5rem; +} +.karma-btn a{ + color: white; + text-decoration: none; +} +/* -------------------Footer style--------------- */ +.footer { + border-top: 2px solid rgb(239, 237, 237); + grid-area: f; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + +} + +.join-footer { + display: flex; + justify-content: center; + align-items: center; +} + +.img-footer { + width: 1rem; + height: 1rem; + border-radius: 100%; + border: 1px solid rgb(239, 237, 237); + padding: 0.5rem; +} + +.icons { + padding: 0.3rem; +} + +#pp-footer { + color: #cccccc; + padding-bottom: 2rem; + font-size: x-small; +} + @media screen and (max-width: 768px) { + /* level 3 to be completed in few next days */ +} +/* ------Karma-sore style----- */ + +.store-content{ + height: 1235px; + display: grid; + grid-template-columns: repeat(12, 1fr); + grid-template-areas: ". f f f f . i i i i i i" + ". f f f f . i i i i i i"; + color: #666666; + + +} +.form-section{ + grid-area: f; + font-family: 'Roboto'; + font-style: normal; + font-size: 21px; + +} +.img-section{ + grid-area: i; +} +.store-img{ + width: 100%; + height: 100%; +} +.form-header{ +font-style: normal; +font-weight: 400; +font-size: 50px; +line-height: 59px; +color: #E0633A; +padding-top: 4rem; +padding-bottom: 5rem; +} +.fieldset-store{ + border: none; + margin: 0; + padding: 0; +} +.form-input { + width: 100%; + height: 2rem; + margin-bottom: 2rem; + border: 2px solid #666666; +border-radius: 4px; + } + .full-name{ + display: flex; + gap: 3rem; + } + .city-postcode{ + width: 100%; + display: flex; + gap: 3rem; + } + .city{ + width: 70%; + } + .postcode{ + width: 30%; + } + select{ + width: 100%; + height: 2.4rem; + border: 2px solid #666666; + border-radius: 4px; + } + + label{ + display: block; + text-align: left; + padding-bottom: 0.8rem; + } + + select:required:invalid { + color: #666666; + font-style: italic; + } + option[value=""][disabled] { + display: none; + } + option { + color:#666666; + } + .select-color{ + margin-bottom: 0rem; + } +.color-choice{ + width: 100%; + display: flex; + align-content:flex-start; +} +fieldset{ + width: 100%; + padding-left: 0; + border: none; +} +.radio-label { + padding-left: 1rem; + padding-right: 3rem; + padding-bottom: 0; + font-weight: 300; + } + + input[type="radio"] { + width: 1rem; + opacity: 0; + + } + +input[type="radio"] + label::before { + content: ""; + display: inline-block; + vertical-align: bottom; + width: 1.4rem; + height: 1.4rem; + margin-right: 0.3rem; + border-radius: 50%; + border-style: solid; + border-width: 0.1rem; + border-color: gray; +} +input[type="radio"]:checked + label { + color:#666666; +} +input[type="radio"]:checked + label::before { + background: radial-gradient(#E0633A 0%, #E0633A 60%, transparent 50%, transparent); + +} + +input[type="radio"] + label { + padding: 0.5rem 1rem; + cursor: pointer; + display: inline-block; + ; +} + input[type="checkbox"] + label { + position: relative; + padding-top: 2px; + } + + input[type="checkbox"] + label::before { + content: ""; + position: absolute; + width: 0.9rem; + height: 0.9rem; + border: 1px solid grey; + left: 0; + top: 5px; + } + input[type="checkbox"] { + opacity: 0; + } + .term-label{ + padding-left: 1.5rem; + font-size: 18px; + } + .term-label a{ + color:#E0633A; + } + input[type="checkbox"]:checked + label::after { + background-image: url(/level-2/checkmark.svg); + background-size: contain; + content: ""; + position: absolute; + width: 0.9rem; + height: 0.9rem; + left: 0; + top: 5px; + } + + .order-btn{ + background-color: #E0633A; + color: white; + border-radius: 0.8rem; + padding: 1rem 2.5rem; + margin-top: 2rem; + border: none; + } \ No newline at end of file diff --git a/index.html b/index.html index 3e742ef04..922e06ede 100755 --- a/index.html +++ b/index.html @@ -1,5 +1,6 @@ + @@ -7,13 +8,112 @@ - + + +
+
+ + + +
+
+
+
+
+

Introducing Karma

+

Bring WiFi with you, everywhere you go. +

+ +
+
+
+
+

Everyone needs a little karma.

+ +
+
+ + a happy girl watching her tablet and is excited +
+

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

+ +
+ +
+ +
+ +
+ - + + \ No newline at end of file diff --git a/store.html b/store.html new file mode 100644 index 000000000..8f15b6e18 --- /dev/null +++ b/store.html @@ -0,0 +1,145 @@ + + + + + + + + + + + + Karma Store + + +
+
+ + + +
+
+
+

Order your Karma wifi device today!

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