Introducing Karma
+Bring wifi with you, everywhere you go.
+ +diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 46c150e15..7369e2932 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -16,21 +16,24 @@ Please complete the details below this message # Your Details -- Your Name: -- Your City: -- Your Slack Name: +- Your Name: Abdirahim Sharif Hussein +- Your City: Birmingham +- Your Slack Name:Abdirahim Sharif Hussein # Homework Details -- Module: -- Week: +- Module: HTML-CSS-Module-Project +- Week: 2 # Notes - What did you find easy? + - What did you find hard? +indenting the code - What do you still not understand? + - Any other notes? diff --git a/css/store.css b/css/store.css new file mode 100644 index 000000000..b0c4e4de9 --- /dev/null +++ b/css/store.css @@ -0,0 +1,221 @@ +*{ + margin: 0; +} +.colour-radio{ + display: inline-flex; + align-items: center; + cursor: pointer; + margin-right: 10px; +} +.grey-radio{ + display: inline-flex; + align-items: center; + cursor: pointer; + margin-right: 10px; +} +.header { + display: flex; + align-items: center; + justify-content: space-around; + height: 5rem; + width: 100%; + background-color: rgb(238, 231, 231); + } + + .navigation-menu{ + display: flex; + list-style: none; +} + +.nav-item { +padding: 16px 0; + + } +.nav-header{ + color: grey; + font-weight: 500; + text-decoration: none; + padding: 0 1em; + margin-right: 10px; + transition: opacity 0.25s; + } + .nav-header:hover { + color: orangered; + } +/*form section*/ +.main{ +position: absolute; +width: 1318px; +height: 1235px; +left: 122px; +top: 98px; + +} +.form-container { +margin: 0px 5%; +display: flex; +justify-content: space-between; +width: 70%; +height: 50%; + } + +.image-form{ +position: absolute; +width: 701px; +height: 1235px; +left: 739px; +top: 98px; +} + +.title { + position: absolute; + width: 521px; + height: 118px; + left: 123px; + top: 214px; + + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-size: 50px; + line-height: 59px; + + color: #DE6E49; +} + +.form { + position: absolute; + width: 501px; + height: 849px; + left: 122px; + top: 414px; + } +.first-name { + position: absolute; + width: 235px; + height: 90px; + left: 122px; + top: 414px; +} +.Last-name { +position: absolute; +width: 235px; +height: 90px; +left: 384px; +top: 414px; +} + +.first-name input, +.Last-name input{ + width: 320px; + height: 50px; + margin-top: 1rem; + border: 3px solid rgb(177, 174, 174); + border-radius: 5px; +} + +.Address { +position: absolute; +width: 499px; +height: 90px; +left: 122px; +top: 536px; +} +.Address input{ +width: 685px; +height: 53px; +margin-top: 1rem; +border: 3px solid rgb(177, 174, 174); +border-radius: 4px; +} +.Address-2{ +position: absolute; +width: 499px; +height: 90px; +left: 122px; +top: 658px; +} +.Address-2 input{ + width: 685px; + height: 53px; + margin-top: 1rem; + border: 3px solid rgb(177, 174, 174); + border-radius: 5px; +} + +.city{ +position: absolute; +width: 250px; +height: 90px; +left: 122px; +top: 780px; +} +.city select { +width: 405px; + height: 50px; + margin-top: 1rem; + font-family: 'Roboto'; + font-style: italic; + font-weight: 400; + font-size: 21px; + color: #666666; + border: 3px solid rgb(177, 174, 174); + border-radius: 5px; + +} +.Postcode{ +position: absolute; +width: 165px; +height: 90px; +left: 456px; +top: 790px; +} +.Postcode input{ + width: 200px; + height: 45px; + margin-top: 0.2rem; + border: 3px solid rgb(177, 174, 174); + border-radius: 5px; +} +.colour-radio { +position: absolute; +width: 353px; +height: 70px; +left: 122px; +top: 940px; +width: 200px; +height: 53px; +margin-top: 1rem; +border: 3px solid rgb(177, 174, 174); +border-radius: 4px; +} + +.checkbox { +position: absolute; +width: 500px; +height: 51px; +left: 123px; +top: 1106px; +} + +.submit{ +position: absolute; +width: 269px; +height: 70px; +left: 122px; +top: 1100px; + +} +.submit button { + background: #E0633A; + font-family: 'Roboto'; + font-style: normal; + color: white; + font-weight: 500; + font-size: 22px; + margin-top: 4em; + line-height: 26px; + width: 280px; + height: 70px; + border-radius: 0.25em; + } diff --git a/css/style.css b/css/style.css index 5cb025cef..e722615b6 100755 --- a/css/style.css +++ b/css/style.css @@ -1,11 +1,176 @@ - /* 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; + font-family: 'Roboto', sans-serif; + -webkit-font-smoothing: antialiased; + font-size: 2.75em; + outline:0; + padding:0; + margin:0; + border:0; +} +.nav-menu { + display: flex; + list-style: none; + flex-direction:row; + justify-content: end; + +} +.nav-list { + margin-left: 15px; + padding: 0.rem 0; + font-family: 'sans-serif'; + padding-bottom:0px; +} +.karma-logo { + display: flex; + align-items: center; + width: auto; + height: auto; + padding: 10px 2px; + position:absolute; +} +.header-nav{ + display: flex; + align-items: center; + flex-direction: row; + justify-content: center; + padding-right: 10%; + list-style: none; + line-height: 3em; +} +.header-nav ul, .nav-list{ + display: flex; +} +.header-nav a:hover, +.header-nav a:focus{ +color: red; +} +.main-img { + background-image :url("../img/first-background.jpg"); + background-origin: unset; + background-size: cover; + background-color: rgb(rgb(43, 35, 35), green, blue); + background-position: 60%; +} +.I.Karma-text-intro{ + height: 325px; + text-align: center; + display: flex; + margin-left: auto; + margin-right: auto; + margin-top: auto; + margin-bottom: auto; + max-width: 225px; + max-height: fit-content; + color: black; + justify-content: center; + align-items: center; +} +.learn-more-28 { + appearance: none; + background-color: transparent; + border: 2px solid #1A1A1A; + border-radius: 15px; + box-sizing: border-box; + color: #3B3B3B; + cursor: pointer; + display: inline-block; + font-family:Arial, Helvetica, sans-serif; + font-size: 16px; + font-weight: 600; + line-height: normal; + margin: 0; + min-height: 60px; + min-width: 0; + outline: none; + padding: 16px 24px; + text-align: center; + text-decoration: none; + transition: all 300ms cubic-bezier(.23, 1, 0.32, 1); + user-select: none; + -webkit-user-select: none; + touch-action: manipulation; + width: 100%; + will-change:auto; +} + +.learn-more-28:disabled { + pointer-events: none; +} + +.learn-more-28:hover { + color: #fff; + background-color: #1A1A1A; + box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px; + transform: translateY(-2px); +} + +.learn-more28:active { + box-shadow: none; + transform: translateY(0); +} + +.Karma-abilities{ + padding-top: 1.5em; + text-align: center; + display: flex; + flex-direction: column; + +} + +.Karma-abilities div h2{ + font-weight: normal; + font-style: none; + font-size: 32px; + padding: 1em; +} +.Karma-abilities li{ + font-size: 1em; + margin-top: 32px; +margin-bottom: auto; +} +#device { +border: 1px solid #ddd; +border-radius: 4px; +padding: 5px; +width: 10px; +display: block; +margin-left: auto; +margin-right: auto; +width: 50%; +} +#coffee { +border: 1px solid #ddd; +border-radius: 4px; +padding: 5px; +width: 10px; +display: block; +margin-left: auto; +margin-right: auto; +width: 50%; } +#refill { +border: 1px solid #ddd; +border-radius: 4px; +padding: 5px; +width: 10px; +display: block; +margin-left: auto; +margin-right: auto; +width: 50%; +} +sast-class{ +background: rgba(224, 99, 58, 0.1); +} +.homepage-feature{ + background-color:rgb(193, 164, 164); + display: flex; + text-align: center; +} +footer{ + font-size: 1rem + } /** * Add your custom styles below * diff --git a/form-finished.html b/form-finished.html new file mode 100644 index 000000000..6a34b29a6 --- /dev/null +++ b/form-finished.html @@ -0,0 +1,22 @@ + + +
+ + + + + + +Bring wifi with you, everywhere you go.
+ +
+