From c5a36708873d9538a9230a61107cf305da151a65 Mon Sep 17 00:00:00 2001 From: RJ Date: Wed, 26 Feb 2020 21:48:42 -0500 Subject: [PATCH 1/4] Added Flexbot Properties and started working on the Tablet size web page --- .vscode/settings.json | 7 + css/index.css | 320 ++++++++++++++++++++++++++++++++++++++++++ index.html | 102 ++++++++++++++ 3 files changed, 429 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..221854ee7e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "workbench.colorCustomizations": { + "activityBar.background": "#5F090D", + "titleBar.activeBackground": "#860C12", + "titleBar.activeForeground": "#FFFBFB" + } +} \ No newline at end of file diff --git a/css/index.css b/css/index.css index 0c9959c1e5..edd81684a0 100644 --- a/css/index.css +++ b/css/index.css @@ -1,3 +1,323 @@ /* Use your own code or past solution for Great Idea Web Page CSS here! */ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} + +/* Set every element's box-sizing to border-box */ +* { + box-sizing: border-box; +} + +html, body { + height: 100%; + font-family: 'Titillium Web', sans-serif; +} + +h1, h2, h3, h4, h5 { + font-family: 'Bangers', cursive; + letter-spacing: 1px; + margin-bottom: 15px; +} + +/* Your code starts here! */ + +header{ + display:flex; + justify-content: space-around; + font-weight: bold; + word-spacing:100px; + width:100%; + color:lightgray; + padding:30px; + text-align: center; + + + background-color: green; + +} + +header img{ + + + + + background-color: blueviolet; +} + +h1{ + display: flex; + flex-direction: column; + font-size:100px; + text-align: center; + height:300px; + width:500px; + +} + +.section-one{ + display:flex; + flex-direction: row; + +} + +.title { + display:flex; + flex-direction: column; + justify-content: center; + height:750%; + width:48%; + margin:100px; +} + +.title h1{ + display: flex; + justify-content: center; + + + + +} + +.section-one img{ + margin-top:7%; + height:750%; + +} +.Get-started { + font-size: 22px ; + height:7%; + width:240px; + border:2px solid black ; + text-align: center; + margin-left: 20%; + +} + +a{ + color:grey; +} + + +hr{ + border-top:1px solid black; + width:100%; +} + +.section-two{ + height:150px; + margin-top: 50px; + +} +.Features{ + width:46%; + height: 90%; + font-size: 20px; + display: inline-block; + font-weight:bold; + text-align:left; +} + +.about{ + font-size:20px; + margin-left:69px; + width:48%; + height:90%; + display: inline-block; + font-weight:bold; + text-align:left; +} +.middle-img{ + background-size: cover; + width:100%; + padding:10px; +} + +.section-three{ + display:inline; + width:100%; + height:30%; + display:inline-block; +} + +.services{ + margin-top: 50px;; + font-size:20px; + font-weight:bold; + width:425px; + height:98%; + text-align:left; + display:inline-block; +} +.product{ + font-size:20px; + font-weight:bold; + width:425px; + height:98%; + margin-left:20px; + text-align:left; + display:inline-block; +} +.visions{ + font-size:20px; + font-weight:bold; + width:425px; + height:98%; + margin-left:20px; + text-align:left; + display:inline-block; + +} +.section-four{ + height:180px; +} + + +.contact{ + display:inline; + line-height: 20px; + font-size: 22px; + font-weight: bold; + width:33%; + text-align:left; + display:block +} + +.phone-number{ + + font-weight: bold; + font-size: 22px; + display:block; + width:33%; + line-height:100px; +} +.email{ + font-size:22px; + font-weight:bold; + width:33%; + +} + +.copyright{ + text-align:center; +} + +body{ + margin:50px; + +} + + +@media(max-width:800px){ + header{ + display:flex; + width:100%; + flex-direction: column-reverse; + justify-content: center; + + + + background-color: crimson; + } + + .nav-header{ + + display:flex; + justify-content: space-between; + width:100%; + + font-size:22px; + + + + background-color: blue; + +} + + header img{ + display:flex; + justify-content: center; + width:35%; + margin-left:30%; + padding-bottom:4%; + background-color: coral; + +} + .title h1{ + display:flex; + flex-direction: column; + margin-right:6%; + + background-color:lightgrey + } + + .section-one{ + display:flex; + flex-direction: row; + + + + background-color:magenta + } + + + .section-one img{ + display:none; + } + + .Get-started{ + margin-left:38%; + + + } + + + + +} diff --git a/index.html b/index.html index 476b4b8cb9..f9ffb3b816 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,7 @@ + Great Idea - Responsive I @@ -13,4 +14,105 @@ + + + + + + + + + + + + Great Idea! + + + + + + + + + +
+ + + + +
+
+
+

Innovation + On +

Demand

+

+ +
+ Image of a code snippet. +
+ +
+ +
+
+

Features

+

Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.

+
+
+

About

+

Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.

+
+
+ +
+ Image of code snippets across the screen +
+
+
+

Services

+

Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.

+
+
+

Product

+

Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.

+
+
+

Vision

+

Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.

+
+
+
+ + + \ No newline at end of file From 9a85e25e58d13a49a648b1da16a27b37b446e70b Mon Sep 17 00:00:00 2001 From: RJ Date: Thu, 27 Feb 2020 00:50:27 -0500 Subject: [PATCH 2/4] working on the 500px viewport --- css/index.css | 118 ++++++++++++++++++++++++++++++++++++++------------ index.html | 7 +-- 2 files changed, 95 insertions(+), 30 deletions(-) diff --git a/css/index.css b/css/index.css index edd81684a0..7b8e4c1ec2 100644 --- a/css/index.css +++ b/css/index.css @@ -77,17 +77,9 @@ header{ text-align: center; - background-color: green; - } -header img{ - - - - background-color: blueviolet; -} h1{ display: flex; @@ -178,14 +170,12 @@ hr{ } .section-three{ - display:inline; width:100%; height:30%; - display:inline-block; + display:flex; } .services{ - margin-top: 50px;; font-size:20px; font-weight:bold; width:425px; @@ -258,10 +248,6 @@ body{ width:100%; flex-direction: column-reverse; justify-content: center; - - - - background-color: crimson; } .nav-header{ @@ -271,10 +257,6 @@ body{ width:100%; font-size:22px; - - - - background-color: blue; } @@ -284,24 +266,17 @@ body{ width:35%; margin-left:30%; padding-bottom:4%; - background-color: coral; } .title h1{ display:flex; flex-direction: column; margin-right:6%; - - background-color:lightgrey } .section-one{ display:flex; flex-direction: row; - - - - background-color:magenta } @@ -315,9 +290,98 @@ body{ } - + .section-two{ + display:flex; + + } + + .middle-img{ + display:flex; + margin-top:7%; +} + + + .section-three{ + display:flex; + justify-content: space-between; + + } } +@media(max-width:500px){ + header{ + Display:flex; + justify-content: center; + + + + + background-color: mediumorchid; + + } + + .nav-header{ + display:flex; + flex-direction: column; + width:100%; + + background-color:red; + + } + + a{ + + padding:3%; + border-bottom: 1px solid black; + } + + + + .logo-container{ + margin-right:15%; + + } + + .logo{ + margin-right:20%; + width:60%; + + + background-color: mediumaquamarine; + } + + .section-one h1 span p{ + font-size:40px; + display:flex; + align-items:center; + justify-content: center; + + + } + + .title{ + + + background-color:lightblue; + } + + + .section-two{ + display:flex; + flex-direction: column; + justify-content: space-between; + } + + + .features{ + display:flex; + flex-direction: column; + } + + + + +} \ No newline at end of file diff --git a/index.html b/index.html index f9ffb3b816..fba075a63b 100644 --- a/index.html +++ b/index.html @@ -46,10 +46,11 @@ About Contact - - +
+ +
- +

Innovation From ab6ce35c12cb99022cb46f22155600221110522f Mon Sep 17 00:00:00 2001 From: RJ Date: Thu, 27 Feb 2020 18:51:24 -0500 Subject: [PATCH 3/4] finishing up the mobile viewport --- css/index.css | 161 +++++++++++++++++++++++++++++++++++++++++--------- index.html | 22 ++++--- 2 files changed, 148 insertions(+), 35 deletions(-) diff --git a/css/index.css b/css/index.css index 7b8e4c1ec2..6073e9ad83 100644 --- a/css/index.css +++ b/css/index.css @@ -94,6 +94,8 @@ h1{ .section-one{ display:flex; flex-direction: row; + justify-content: space-evenly; + background-color: green; } @@ -103,7 +105,8 @@ h1{ justify-content: center; height:750%; width:48%; - margin:100px; + margin:10% 20% 15%; + } .title h1{ @@ -116,8 +119,10 @@ h1{ } .section-one img{ + display:flex; margin-top:7%; - height:750%; + margin-right:500%; + } .Get-started { @@ -141,10 +146,12 @@ hr{ } .section-two{ + display:flex; + justify-content: space-between; height:150px; margin-top: 50px; - } + .Features{ width:46%; height: 90%; @@ -156,7 +163,6 @@ hr{ .about{ font-size:20px; - margin-left:69px; width:48%; height:90%; display: inline-block; @@ -170,9 +176,10 @@ hr{ } .section-three{ + display:flex; + justify-content: space-between; width:100%; height:30%; - display:flex; } .services{ @@ -181,47 +188,40 @@ hr{ width:425px; height:98%; text-align:left; - display:inline-block; } .product{ font-size:20px; font-weight:bold; width:425px; height:98%; - margin-left:20px; text-align:left; - display:inline-block; } .visions{ font-size:20px; font-weight:bold; width:425px; height:98%; - margin-left:20px; text-align:left; - display:inline-block; } -.section-four{ - height:180px; -} +footer{ + display:flex; + max-width:100%; + flex-direction: column; +} .contact{ - display:inline; line-height: 20px; font-size: 22px; font-weight: bold; - width:33%; text-align:left; - display:block } .phone-number{ font-weight: bold; font-size: 22px; - display:block; width:33%; line-height:100px; } @@ -312,13 +312,18 @@ body{ @media(max-width:500px){ - header{ - Display:flex; - justify-content: center; + body{background-color: fuchsia; + margin:0 0 0%; + } + header{ + width:100%; + Display:flex; + justify-content: center; + background-color: mediumorchid; } @@ -332,7 +337,7 @@ body{ } - a{ + .nav-header a{ padding:3%; border-bottom: 1px solid black; @@ -348,40 +353,142 @@ body{ .logo{ margin-right:20%; width:60%; + align-self: center; + background-color: mediumaquamarine; } - .section-one h1 span p{ - font-size:40px; - display:flex; - align-items:center; - justify-content: center; + .section-one{ + display:flex; + flex-direction: column; + + } + .section-one h1{ + font-size:70px; + display:flex; + flex-direction: column; + flex-wrap: wrap; + align-self: center; + } .title{ + display:flex; background-color:lightblue; } + + + + .title a{ + display: flex; + justify-content: center; + + + + + + + background-color: dimgray; + } .section-two{ display:flex; flex-direction: column; justify-content: space-between; + + } + - .features{ + .Features{ display:flex; flex-direction: column; + width:100%; + margin:0 0 4%; + + + } + + + .about{ + display:flex; + flex-direction: column; + width:100%; + margin:0 0 4%; + } + .middle-img{ + display:flex; + flex-direction: column; + margin-top:38%; + width:100%; + background-size: cover; + + + } + + + .section-three{ + display:flex; + flex-direction:column; + + } + .services{ + margin:4% 0 4%; + } + + .product{ + margin:0% 0 4%; + } + + .visions{ + border-bottom:2px solid black; + padding:0 0 5%; + } + + .section-four hr{ + display:none; + } + + .section-four{ + + display: flex; + flex-direction:column; + margin: 70% 0 0; + } + + .copyright{ + font-size:18px; + margin-top:10%; + } + + + .contact{ + display:flex; + align-items: center; + line-height:125%; + + + } + + .phone-number{ + width:100%; + } + + + + + } \ No newline at end of file diff --git a/index.html b/index.html index fba075a63b..ce63595870 100644 --- a/index.html +++ b/index.html @@ -53,18 +53,21 @@
-

Innovation - On -

Demand

+

+ Innovation
+ On
+ Demand

+
Image of a code snippet. +
-
+
@@ -94,18 +97,21 @@

Vision

Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi. Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.

-
+