From 320aa943fd23fc3781e0184cc1102a821d125637 Mon Sep 17 00:00:00 2001 From: Jan Edrozo Date: Mon, 18 Sep 2017 01:33:01 -0700 Subject: [PATCH 01/14] index home and css layout complete --- index.html | 48 +++++ pages/about.html | 0 pages/blog.html | 0 pages/portfolio.html | 0 styles/main.css | 283 +++++++++++++++++++++++++++ styles/normalize.css | 447 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 778 insertions(+) create mode 100644 index.html create mode 100644 pages/about.html create mode 100644 pages/blog.html create mode 100644 pages/portfolio.html create mode 100644 styles/main.css create mode 100644 styles/normalize.css diff --git a/index.html b/index.html new file mode 100644 index 000000000..67afbfcd4 --- /dev/null +++ b/index.html @@ -0,0 +1,48 @@ + + + + + + + + + + + +
+

Jan Edrozo

+ +
+ +
+ + +
+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac euismod ante, quis vestibulum mauris. Duis vestibulum enim et ultricies pharetra. In et libero elit. Pellentesque nec lectus malesuada, accumsan ipsum non, aliquam nisi. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin non mollis nulla. Aenean nec ex eget elit hendrerit mattis non in orci. Nam metus justo, fringilla ut elit at, cursus luctus nunc. Ut cursus erat id faucibus consequat. Mauris velit magna, semper rutrum arcu ut, rhoncus convallis dolor. Duis pretium porta imperdiet. Integer bibendum quam quis ipsum suscipit interdum. +

+
+ +
+ + + + + diff --git a/pages/about.html b/pages/about.html new file mode 100644 index 000000000..e69de29bb diff --git a/pages/blog.html b/pages/blog.html new file mode 100644 index 000000000..e69de29bb diff --git a/pages/portfolio.html b/pages/portfolio.html new file mode 100644 index 000000000..e69de29bb diff --git a/styles/main.css b/styles/main.css new file mode 100644 index 000000000..24e484f92 --- /dev/null +++ b/styles/main.css @@ -0,0 +1,283 @@ +.clearfix:after { + visibility: hidden; + display: block; + font-size: 0; + content: " "; + clear: both; + height: 0; +} + +.clearfix { display: inline-block; } +/* start commented backslash hack \*/ +* html .clearfix { height: 1%; } +.clearfix { display: block; } + +body { + /*min-width: 700px;*/ + margin: 0; + color: #1d1d1d; + font-size: 14px; + /*width: 100%;*/ +} + +header h1, h2, h3 { + font-family: 'Open Sans', sans-serif; + text-align: center; + text-transform: uppercase; + letter-spacing: 0.15em; +} + +header h2 { + font-size: 1.2em; + text-align: left; +} + +/*p { + font-family: 'Lora', serif; + text-align: justify; +}*/ + +header a { + color: #746F72; + text-decoration: none; +} + +a:hover { + /*color: #696969;*/ + /*color: rgba(0,0,0,0.6);*/ + color: #FF7E75; +} + +header { + height: 50px; + padding: 0 20px; + /*-moz-box-shadow:0px 1px 2px gray; + box-shadow:0px 1px 2px #555153;*/ + position: fixed; + top: 0; + left: 0; + right: 0; + background: #DDF6D5; + font-family: 'Open Sans', sans-serif; + min-width: 560px; +} + +header h2, header nav, header nav li { + display: inline-block; +} + +header nav { + float: right; + text-align: right; + font-size: 0.9em; + text-transform: uppercase; + letter-spacing: 0.2em; +} + +header nav li { + list-style: none; + padding: 6px; +} + +.banner img { + position: relative; + background-size: cover; + z-index: -1; + width: 100%; + height: auto; + float: left; +} + +.banner h1{ + position: absolute; + font-family: 'Open Sans', sans-serif; + color: #BFBDBE; + /*color: #CCCACB;*/ + font-size: 4em; + text-align: center; + text-transform: uppercase; + letter-spacing: 0.12em; + animation: fade 2s; + padding-top: 10%; + width: 100%; +} + +/*.banner h1 { + padding-top: 100px; +}*/ + + +/*FOOTER*/ + +footer { + background: #DDF6D5; + height: 60px; + color: black; + font-size: 1em; + font-family: 'Open Sans', sans-serif; +} + +footer .contact { + width: 100%; + margin: 0 auto; + text-align: center; + padding-top: 5px; + font-size: 0.8em; + text-transform: uppercase; + letter-spacing: 0.1em; +} + +footer p { + width: 100%; + text-align: center; + position: absolute; +} + +footer a { + color: #746F72; + text-decoration: none; +} + + +/*main { + padding-top: 23px; +} + +.banner { + padding: 0; + height: 275px; +} + +.banner h1, .banner h2 { + font-size: 2em; + text-transform: uppercase; + letter-spacing: 0; + color: #F3C74C; + text-shadow: 2px 2px 1px black; + line-height: 275px; +} + +.banner:first-child { + background: linear-gradient( rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2) ),url(../assets/cats-sausage.jpg) no-repeat center center; + background-size: cover; +} + +.banner:last-child { + background: linear-gradient( rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3) ),url(../assets/cat-lick.jpg) no-repeat center center; + background-size: cover; +} + +.postsSection { + text-align: center; + background: #F3C74C; +} + +.posts { + max-width: 800px; +} + +.posts article { + border-left: 1px solid #1d1d1d; + border-right: 1px solid #1d1d1d; + margin: 25px 15px; + padding: 0 15px; + width: 200px; + display: inline-block; + transition: linear 0.2s; +} + +.posts article:hover { + background: rgba(0,0,0,0.03); +} + +.posts h3 { + font-size: 1.1em; + font-weight: 400; + font-style: italic; + height: 35px; +} + +.snippet { + height: 140px; +} + +.posts article p:last-child { + text-align: center; +} + +.learnbutton { + width: 50%; + margin: 0 auto 15px; + padding: 3px; + border-bottom: 2px solid #1d1d1d; + font-style: italic; +} + +.learnbutton:after { + content: "→"; +} + +.join { + width: 80%; + text-align: center; +} + +.join article { + width: 45%; + margin: 25px 2% 0; + max-width: 300px; + display: inline-block; + vertical-align: middle; +} + +.join img { + max-width: 100%; + height: auto; + border-radius: 20px; +} + +footer { + background: #F3CFBD; +} + +footer article{ + width: 80%; + margin: 0 auto; +} + +footer p, footer nav{ + width: 49%; + display: inline-flex; +} + +footer h4 { + position: absolute; + font-size: 0.9em; +} + +#disclaimer { + font-size: 0.7em; + text-indent: 44px; + line-height: 1.6em; +}*/ + + +/*MEDIA SCREEN ADJUSTMENTS*/ +@media screen and (max-width: 532px) { +.banner h2 { + font-size: 1.2em; +} + +.join article { + width: 100%; +} +} + +@keyframes fade { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} diff --git a/styles/normalize.css b/styles/normalize.css new file mode 100644 index 000000000..fa4e73dd4 --- /dev/null +++ b/styles/normalize.css @@ -0,0 +1,447 @@ +/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in + * IE on Windows Phone and in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers (opinionated). + */ + +body { + margin: 0; +} + +/** + * Add the correct display in IE 9-. + */ + +article, +aside, +footer, +header, +nav, +section { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + * 1. Add the correct display in IE. + */ + +figcaption, +figure, +main { /* 1 */ + display: block; +} + +/** + * Add the correct margin in IE 8. + */ + +figure { + margin: 1em 40px; +} + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * 1. Remove the gray background on active links in IE 10. + * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. + */ + +a { + background-color: transparent; /* 1 */ + -webkit-text-decoration-skip: objects; /* 2 */ +} + +/** + * 1. Remove the bottom border in Chrome 57- and Firefox 39-. + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Prevent the duplicate application of `bolder` by the next rule in Safari 6. + */ + +b, +strong { + font-weight: inherit; +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font style in Android 4.3-. + */ + +dfn { + font-style: italic; +} + +/** + * Add the correct background and color in IE 9-. + */ + +mark { + background-color: #ff0; + color: #000; +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +audio, +video { + display: inline-block; +} + +/** + * Add the correct display in iOS 4-7. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Remove the border on images inside links in IE 10-. + */ + +img { + border-style: none; +} + +/** + * Hide the overflow in IE. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers (opinionated). + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: sans-serif; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` + * controls in Android 4. + * 2. Correct the inability to style clickable types in iOS and Safari. + */ + +button, +html [type="button"], /* 1 */ +[type="reset"], +[type="submit"] { + -webkit-appearance: button; /* 2 */ +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * 1. Add the correct display in IE 9-. + * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Remove the default vertical scrollbar in IE. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10-. + * 2. Remove the padding in IE 10-. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in IE 9-. + * 1. Add the correct display in Edge, IE, and Firefox. + */ + +details, /* 1 */ +menu { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Scripting + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +canvas { + display: inline-block; +} + +/** + * Add the correct display in IE. + */ + +template { + display: none; +} + +/* Hidden + ========================================================================== */ + +/** + * Add the correct display in IE 10-. + */ + +[hidden] { + display: none; +} From 4bfcb40cf2623f36cf85469bad156f608a804fcf Mon Sep 17 00:00:00 2001 From: Jan Edrozo Date: Mon, 18 Sep 2017 01:53:22 -0700 Subject: [PATCH 02/14] Home Page adjustments: padding in paragraph and h1 color --- index.html | 2 +- styles/main.css | 66 +++++++++++++++++++++++++++---------------------- 2 files changed, 37 insertions(+), 31 deletions(-) diff --git a/index.html b/index.html index 67afbfcd4..3d9fb33d7 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@

Jan Edrozo

-
+

Hello. My name is Jan Edrozo.

+

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac euismod ante, quis vestibulum mauris. Duis vestibulum enim et ultricies pharetra. In et libero elit. Pellentesque nec lectus malesuada, accumsan ipsum non, aliquam nisi. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin non mollis nulla. Aenean nec ex eget elit hendrerit mattis non in orci. Nam metus justo, fringilla ut elit at, cursus luctus nunc. Ut cursus erat id faucibus consequat. Mauris velit magna, semper rutrum arcu ut, rhoncus convallis dolor. Duis pretium porta imperdiet. Integer bibendum quam quis ipsum suscipit interdum. + I'm an aspiring software engineer, currently studying full-stack software development at Ada Developers Academy in Seattle, WA. + lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac euismod ante, quis vestibulum mauris. Duis vestibulum enim et ultricies pharetra. In et libero elit. Pellentesque nec lectus malesuada, accumsan ipsum non, aliquam nisi. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin non mollis nulla. Aenean nec ex eget elit hendrerit mattis non in orci. Nam metus justo, fringilla ut elit at, cursus luctus nunc. Ut cursus erat id faucibus consequat. Mauris velit magna, semper rutrum arcu ut, rhoncus convallis dolor. Duis pretium porta imperdiet. Integer bibendum quam quis ipsum suscipit interdum.

-