diff --git a/css/style.css b/css/style.css index 5cb025cef..71b5f0a29 100755 --- a/css/style.css +++ b/css/style.css @@ -1,9 +1,35 @@ +/* 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 */ +:root { + --grey-dark: #292b2c; + --grey-light: #e4e4e4; + --orange-dark: #c05326; + --orange-light: #f7eae4; + --white: #fff; +} + +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} body { - font-family: 'Roboto', sans-serif; - -webkit-font-smoothing: antialiased; + font-family: "Roboto", sans-serif; + -webkit-font-smoothing: antialiased; +} + +.btn { + padding: 1rem; + border-radius: 0.5em; + border-color: transparent; + font-size: 1rem; + font-family: "Roboto", sans-serif; +} + +.orange-color { + background-color: var(--orange-dark); + color: white; } /** @@ -16,4 +42,127 @@ body { * - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex' */ +/* General properties*/ +ul { + list-style-type: none; +} + +/* Navigation bar */ + +.navbar .container { + width: 95%; + margin: 20px auto; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + width: 3rem; + margin-left: 4rem; +} + +.navbar ul { + display: flex; + margin-right: 5rem; + /* flex-grow: 1 2; */ +} + +.navbar ul li { + margin-left: 1.5rem; + font-size: 1.2rem; + /* font-weight: bold; */ +} + +/* Header Hero Section */ + +header .container { + height: 75vh; + width: 95%; + margin: 20px auto; + background-image: url(/img/first-background.jpg); + background-size: cover; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +header .container h2, +header .container button { + margin: 1.3rem; +} + +h1, +h2 { + font-weight: normal; +} + +h1 { + font-size: 3rem; +} +/* Section */ + +.boxes .container { + width: 95%; + margin: 20px auto; + display: flex; + justify-content: space-between; +} + +.boxes h2 { + font-size: 2.3rem; + font-weight: lighter; + padding-top: 1.4rem; + padding-bottom: 1.4rem; + text-align: center; +} + +.boxes img { + width: 12rem; +} + +.boxes p { + margin-top: 1.2rem; + font-size: 1.2rem; +} +/* Footer */ + +footer img { + width: 1.2rem; +} +header h1, +header h2 { + color: white; +} + +footer .container { + /* width:95% */ + margin: 20px auto; + width: 95%; + border-top: 2px solid var(--grey-light); + padding-top: 0.7rem; + padding-bottom: 1rem; + display: flex; + flex-direction: column; + /* justify-content: space-between; */ + align-items: center; +} + +footer .social-media { + display: flex; + justify-content: space-between; +} + +footer .social-media li img { + /* margin: 4rem; + padding: 5rem; */ + + /* padding: 0.7rem; */ + box-sizing: content-box; + margin: 0.5rem; + padding: 0.5rem; + border: 1px solid var(--grey-light); + border-radius: 100px; +} diff --git a/index.html b/index.html index 3e742ef04..2321ab0f2 100755 --- a/index.html +++ b/index.html @@ -1,19 +1,87 @@ - - - + + + Karma - - - - - - - + + + + + + - + + + + + +
+
+

Introduction to Karma

+

Bring WiFi with you, everywhere you go.

+ +
+
+ + +
+

Everone needs a little Karma.

+ +
+
+ Internet for all devices +

Internet for all devices

+
+
+ Boost your productivity +

Boost your productivity

+
+
+ Pay as You go +

Pay as You Go

+
+
+
+ + +