Everyone needs a little Karma.
+ +Internet for all devices
+Boost your productivity
+Pay as You Go
+diff --git a/css/store.css b/css/store.css new file mode 100644 index 000000000..64c22e52a --- /dev/null +++ b/css/store.css @@ -0,0 +1,111 @@ +/* General */ +:root { + --orange: #E0633A; + --light__grey: #848993; + --lighter__grey: #F1F2F3; + --dark__grey: #4D5057; + --white: #FFF; + --light-orange: rgba(224, 99, 58, 0.1); +} + +.store__main h1 { + color: var(--orange); + font-size: 2rem; + font-weight: 500; +} + +/* Grid */ + +.store__main { + display: grid; + grid-template-columns: 50% 50%; + grid-gap: 1rem; +} + +.store__main > * { + grid-column: 1; +} + +.heading_and_form { + display: inline-block; + margin: 2rem auto; +} + +/* Form */ + +.left__container { + grid-column: 1 / 2; + display: flex; + flex-direction: column; +} + +form { + font-size: 0.8rem; + color: rgba(102, 102, 102, 1); +} + +#first-name, +#last-name, +#address-1, +#address-2, +#address-city, +#address-postcode { + height: 2rem; + border-radius: 0.2rem; + margin-right: 1rem; +} + +#address-1, #address-2 { + max-width: 320px;; +} + +#address-city { + width: 180px; +} + +#address-postcode { + width: 125px; +} + +.radio__buttons { + margin-right: 1rem; + margin-bottom: 2rem; +} + +.label-and-input { + margin-bottom: 1.5rem; +} + +.terms-label-and-input { + margin-bottom: 1rem; +} + +#terms__link { + text-decoration: underline; + color: var(--orange); +} + +.flex__column { + display: flex; + flex-direction: column; +} + +.flex__row { + display: flex; + flex-wrap: wrap; +} + +fieldset { + border: none; +} + +#space-grey, #karma-orange { + accent-color: var(--orange); +} + +/* Store image */ + +.right__container { + grid-column: 2 / -1; +} + diff --git a/css/style.css b/css/style.css index 5cb025cef..47b4d576f 100755 --- a/css/style.css +++ b/css/style.css @@ -1,19 +1,220 @@ - /* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ +/* General */ +:root { + --orange: #E0633A; + --light__grey: #848993; + --lighter__grey: #F1F2F3; + --dark__grey: #4D5057; + --white: #FFF; + --light-orange: rgba(224, 99, 58, 0.1); +} + +* { + box-sizing: border-box; +} + +html, body { + margin: 0; + padding: 0; + width: 100%; +} 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' - */ +img { + width: 100%; +} + +a { + text-decoration: none; + color: var(--dark__grey); +} + +a:hover { + color: var(--orange); +} + +/* Grid */ +.container { + display: grid; + gap: 1rem; + grid-template-columns: 10rem auto 10rem; +} + +.container > * { + grid-column: 2 / 3; + min-width: 0; +} + +/* Navigation */ +header { + grid-column: 2 / 3; + display: flex; + flex-direction: row; + justify-content: space-between; +} + +header img { + max-width: 1.5rem; +} + +nav ul { + display: flex; + flex-direction: row; +} + +nav li { + margin: 0 1rem; + list-style: none; +} + +nav ul a:first-child { + font-weight: 500; +} + +/* Hero */ +.hero { + grid-column: 1 / -1; + background-image: url(../img/first-background.jpg); + background-size: cover; + background-repeat: no-repeat; +} + +.hero .center__text { + padding: 13rem; + +} + +h1 { + font-size: 2.8rem; + font-weight: 300; + letter-spacing: 0.1rem; +} + +.hero h1 { + color: var(--white); +} + +.hero p { + font-size: 1.3rem; + font-weight: 300; + letter-spacing: 0.1rem; + color: var(--white); + margin-bottom: 3rem; +} + +/* Buttons including submit button for store form */ + +button, input[type=submit] { + color: var(--white); + font-size: 0.875rem; + letter-spacing: 0.05rem; + font-weight: 300; + background-color: var(--orange); + padding: 0.8rem 1.5rem; + border-radius: 0.3rem; + border-color: var(--orange); + border: none; +} + +button,input[type=submit]:hover { + color: var(--orange); + background-color: var(--white); + border-color: var(--white); +} + +/* Main Content */ +main h2 { + text-align: center; + font-weight: 300; + font-size: 2rem; + letter-spacing: 0.1rem; +} + +main p { + font-size: 1.2rem; +} + +#homepage__icon { + max-width: 50%; +} + +/* Extended Section */ + +.extended__section { + grid-column: 1 / -1; + display: grid; + grid-template-columns: 40% 60%; + margin-bottom: 2rem; +} + +.center__contents { + background-color: var(--light-orange); + text-align: center; + display: flex; + align-items: center; + justify-content: center; + padding: 0 5rem; +} + +.extended__quote { + font-size: 2vmin; + font-style: italic; +} + +.orange__text { + color: var(--orange); + font-size: 2rem; +} + +/* Break Line */ +.section__break { + height: 1px; + width: 95%; + background-color: var(--lighter__grey); + justify-self: center; +} + +/* Footer */ +footer { + grid-column: 2 / 3; + margin-bottom: 3rem; +} + +footer p { + text-align: center; + font-size: 1rem; +} + +.copyright__text { + color: var(--light__grey); +} + +#social__icon { + padding: 1px; + margin: 0.5rem; + max-width: 30px; + text-align: center; + text-decoration: none; + border: 0.1rem solid var(--lighter__grey); + border-radius: 50%; + overflow: visible; +} + +/* Other */ +.center__text { + text-align: center; +} + +.wrapper { + display: flex; + gap: 2rem; + justify-content: center; +} + + diff --git a/index.html b/index.html index 3e742ef04..3a568440e 100755 --- a/index.html +++ b/index.html @@ -10,10 +10,77 @@
+Internet for all devices
+Boost your productivity
+Pay as You Go
+