From 6cafbdc7b68e40164e6ed3fc618d0a249bc101b8 Mon Sep 17 00:00:00 2001 From: Andrius Isin Date: Tue, 14 Feb 2023 10:28:02 +0000 Subject: [PATCH 01/13] added html and css files and added basic HTML structure --- index.html | 83 ++++++++++++++++++++++++++++++++++++++++++++++---- portfolio.html | 0 potfolio.css | 0 style.css | 0 4 files changed, 77 insertions(+), 6 deletions(-) create mode 100644 portfolio.html create mode 100644 potfolio.css create mode 100644 style.css diff --git a/index.html b/index.html index cd704c69..233d8142 100644 --- a/index.html +++ b/index.html @@ -4,18 +4,89 @@ - + - Responsive grid project + Business CV - +
+
+
+

Maya Nelson

+

PROJECT MANAGER

+
+ +
+
+
+ Maya Nelson image +

Maya Nelson

+
+ + +
+ facebook icon + twitter icon + linkedin icon + instagram icon +
+
+
+
+
+
- -

This website design was created by Wix.com, and is used here for strictly educational purposes.

+ \ No newline at end of file diff --git a/portfolio.html b/portfolio.html new file mode 100644 index 00000000..e69de29b diff --git a/potfolio.css b/potfolio.css new file mode 100644 index 00000000..e69de29b diff --git a/style.css b/style.css new file mode 100644 index 00000000..e69de29b From 6483ec1ea93aa2308a5dc77e29f1fb24d2cf0a5a Mon Sep 17 00:00:00 2001 From: Andrius Isin Date: Tue, 14 Feb 2023 10:32:03 +0000 Subject: [PATCH 02/13] added root colors --- style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/style.css b/style.css index e69de29b..ff0bdef6 100644 --- a/style.css +++ b/style.css @@ -0,0 +1,11 @@ +:root { + --dark-beige: #E6DACD; + --light-beige: #F4ECE6; + --royal-blue: #0150FD; + --black: #000; + --white: #FFF; +} +* { + margin: 0; + padding: 0; +} From 7983a3a6d7449eb0e50dd3f21c17fce554a7b932 Mon Sep 17 00:00:00 2001 From: Andrius Isin Date: Tue, 14 Feb 2023 10:47:11 +0000 Subject: [PATCH 03/13] added content --- index.html | 2 +- style.css | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 233d8142..5504856f 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@
-

Maya Nelson

+

Maya Nelson

PROJECT MANAGER

- Maya Nelson image

Maya Nelson

-
- - -
- facebook icon - twitter icon - linkedin icon - instagram icon -
-
+ + + + +
+ facebook icon + twitter icon + linkedin icon + instagram icon +
+

Hello

@@ -62,28 +61,29 @@

Here's who I am & what I do

-
diff --git a/script.js b/script.js new file mode 100644 index 00000000..e69de29b diff --git a/style.css b/style.css index d56ded93..f8a2a690 100644 --- a/style.css +++ b/style.css @@ -5,7 +5,7 @@ --black: #000; --white: #FFF; } -/* GENERAL STYLES */ +/* -----GENERAL STYLES----------------- */ body { margin: 0; padding: 0; @@ -15,17 +15,21 @@ body { font-family: 'Quicksand', sans-serif; } -/* HEADER */ +/* ----------HEADER---------- */ header{ display: flex; flex-direction: row; justify-content: space-between; } +header p{ + font-size: 0.9rem; + margin-left: 1rem; +} .title{ margin-top: 1rem; display: flex; flex-direction: column; - align-items: center; + align-items:flex-start; justify-content: start; line-height: 0rem; } @@ -47,7 +51,7 @@ header{ margin-left: 1rem; } -/* MAIN CONTENT */ +/* --------MAIN CONTENT----------*/ main{ background-color: var(--dark-beige); position: relative; @@ -58,6 +62,8 @@ main{ width: 20rem; height: 27rem; position:absolute; + margin-top: -11rem; + margin-left: 2.5rem; background-color: var(--light-beige); display: grid; grid-template-columns: 1fr 1fr; @@ -68,7 +74,8 @@ main{ "button1 button2" "media media" ; - z-index: 11; + box-shadow: rgba(182, 172, 172, 0.28) -5px 9px 9px; + z-index: 1; } .main_info_box h2{ font-size: 1.4rem; @@ -132,25 +139,60 @@ border-radius: 2rem; } .main-text{ +margin-top: 16rem; +display: flex; +flex-direction: column; +margin-left: 2.5rem; +margin-right: 2.5rem; + +} +.main-text h1{ + font-size: 2.5rem; + margin-bottom: 0; + font-family: 'Poppins', sans-serif; +} +.main-text h3{ + font-family: 'Poppins', sans-serif; } +.main-text p{ -/* FOOTER */ +} + +/* ------------FOOTER---------------- */ footer{ display: grid; + grid-template-columns: 1fr 1fr; + grid-template-rows: 5rem 5rem 10rem; + grid-template-areas: + "call write" + "follow . " + "end end"; + margin: 0 1.5rem; +} +footer p{ + font-size: 0.85rem; +} +footer h5{ + margin-bottom: 0; + font-family: 'Poppins', sans-serif; + font-size: 0.9rem; } .footer_info_call{ - +grid-area: call; } .footer_info_write{ - + grid-area: write; } .footer_media{ - + grid-area: follow; +} +.end{ + grid-area: end; } .footer_icons{ - + width: 1.5rem; } \ No newline at end of file From 1d721314ebf2984a73fa3382adff397bdcaf7cfc Mon Sep 17 00:00:00 2001 From: Andrius Isin Date: Tue, 14 Feb 2023 18:42:53 +0000 Subject: [PATCH 10/13] added scroll arrow --- index.html | 1 + script.js | 16 ++++++++++++++++ style.css | 32 ++++++++++++++++++++++++++------ 3 files changed, 43 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index e419c105..d2eaaa2f 100644 --- a/index.html +++ b/index.html @@ -98,6 +98,7 @@
Follow

©2023 by Andrius Isin. This website design was created by Wix.com, and is used here for strictly educational purposes.

+ \ No newline at end of file diff --git a/script.js b/script.js index e69de29b..9224ec4c 100644 --- a/script.js +++ b/script.js @@ -0,0 +1,16 @@ +// scroll button +let scroll_button = document.getElementById("arrow_button"); + +window.onscroll = function() {scrollFunction()}; + +function scrollFunction() { + if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { + scroll_button.style.display = "block"; + } else { + scroll_button.style.display = "none"; + } +} +function topFunction() { + document.body.scrollTop = 0; + document.documentElement.scrollTop = 0; +} \ No newline at end of file diff --git a/style.css b/style.css index f8a2a690..ea5f4a41 100644 --- a/style.css +++ b/style.css @@ -11,7 +11,7 @@ body { padding: 0; display: grid; grid-template-columns: 1fr; - grid-template-rows: 17rem 50rem 20rem; + grid-template-rows: 17rem 45rem 1rem; font-family: 'Quicksand', sans-serif; } @@ -156,14 +156,14 @@ margin-right: 2.5rem; } .main-text p{ - + font-size: 1.1rem; } /* ------------FOOTER---------------- */ footer{ display: grid; grid-template-columns: 1fr 1fr; - grid-template-rows: 5rem 5rem 10rem; + grid-template-rows: 5rem 6rem 6rem; grid-template-areas: "call write" "follow . " @@ -172,12 +172,12 @@ footer{ } footer p{ - font-size: 0.85rem; + font-size: 1rem; } footer h5{ margin-bottom: 0; font-family: 'Poppins', sans-serif; - font-size: 0.9rem; + font-size: 1rem; } .footer_info_call{ @@ -192,7 +192,27 @@ grid-area: call; } .end{ grid-area: end; + margin-bottom: 0; } .footer_icons{ width: 1.5rem; -} \ No newline at end of file +} +#arrow_button { + display: none; + position: fixed; + bottom: 6rem; + right: 2rem; + z-index: 5; + font-size: 1.5rem; + border: none; + outline: none; + background-color: var(--royal-blue); + color: white; + cursor: pointer; + padding: 0.6rem; + border-radius: 50%; + } + + #arrow_button:hover { + background-color: var(--black); + } \ No newline at end of file From 279955c8a36d8d90e338181ccc5d327b80d12092 Mon Sep 17 00:00:00 2001 From: Andrius Isin Date: Sun, 12 Mar 2023 19:55:22 +0000 Subject: [PATCH 11/13] added second page --- images/hamburger.png | Bin 0 -> 5308 bytes index.html | 27 +++- portfolio.html | 0 potfolio.css | 0 resume.css | 295 +++++++++++++++++++++++++++++++++++++++++++ resume.html | 155 +++++++++++++++++++++++ script.js | 8 +- style.css | 76 ++++++++++- 8 files changed, 556 insertions(+), 5 deletions(-) create mode 100644 images/hamburger.png delete mode 100644 portfolio.html delete mode 100644 potfolio.css create mode 100644 resume.css create mode 100644 resume.html diff --git a/images/hamburger.png b/images/hamburger.png new file mode 100644 index 0000000000000000000000000000000000000000..a0f8e6d6f854abfc08901afe59319c43e8913c21 GIT binary patch literal 5308 zcmchacT`i`(!dX)hTbGdktQIZR6z+{LX+MjihvLxKoUsk9V|5I(p#ho0s^Aa6%9p1 ziXgox9i%DJ+XJuf-uv!)Z+-uL`>cKToSFH}?AdG9I%`K5=xNYUvQYv6K%=DzGdfv) zPo@_I*~z=J%>)Vn)N)8wRRb+mRc-?;#vbW{007O1By)1O@q3o+n+b7oJs^fSMqj3U z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&HA5%jL?3Aa6zO6%;lL zwaTHe2e+?ZSzt=@iF!K3v7nFZ%}R`VEV{ktV`e{*3&G(F0+&6WuE%z!6OWIk6(&FM z?oMLQP*?)bC2`CthsjA|wh)f`e)0ue3!1&{#nks-3tyD&wDd@MaJb2?wy#jv!8F=t zY2mOlae3kOJIx=H-#K001NPia^2uLfhRD!p6kkPDA46AD*V2|W}rxCCVVYe zxRmA44C34r5E_$*^7=r@vh-H9c7QHS5rS0Zq+u;Q#;t literal 0 HcmV?d00001 diff --git a/index.html b/index.html index d2eaaa2f..8ec5c3f6 100644 --- a/index.html +++ b/index.html @@ -21,11 +21,32 @@

Maya Nelson

+ /

PROJECT MANAGER

- +
+ +
+ hamburger  image +
+ + +
diff --git a/portfolio.html b/portfolio.html deleted file mode 100644 index e69de29b..00000000 diff --git a/potfolio.css b/potfolio.css deleted file mode 100644 index e69de29b..00000000 diff --git a/resume.css b/resume.css new file mode 100644 index 00000000..39c6bf7a --- /dev/null +++ b/resume.css @@ -0,0 +1,295 @@ +:root { + --dark-beige: #E6DACD; + --light-beige: #F4ECE6; + --royal-blue: #0150FD; + --black: #000; + --white: #FFF; +} + +/* -----GENERAL STYLES----------------- */ +body { + margin: 0; + padding: 0; + display: grid; + grid-template-columns: 1fr; + grid-template-rows: 7rem 130rem 10rem; + font-family: 'Quicksand', sans-serif; +} + +/* ----------HEADER---------- */ +header { + display: flex; + flex-direction: row; + justify-content: space-between; +} +span{ + display: none; +} +header p { + font-size: 0.9rem; + margin-left: 1rem; +} + +.title { + margin-top: 1rem; + display: flex; + flex-direction: column; + align-items: flex-start; + justify-content: start; + line-height: 0rem; +} + +.title h2 { + font-size: 1.4rem; + font-family: 'Poppins', sans-serif; +} + +.name { + display: flex; + flex-direction: row; + +} + +.blue_box { + background-color: var(--royal-blue); + width: 1rem; + height: 1rem; + align-self: center; + margin-right: 1rem; + margin-left: 1rem; + +} + +/* --------- HAMBURGER MENU----------- */ +.hamburger { + width: 4rem; + height: auto; + display: block; + margin-right:3rem; + margin-top: 1rem; +} +/* ------------Navigation-------------- */ +nav { + display: none ; + grid-area: nav; + +} + +.navigation__list { + display: flex; + list-style: none; + justify-content: space-evenly; +} + +.navigation__item { + padding: 0.5rem 0; +} + +.navigation__link { + color: var(--black); + font-weight: 600; + font-size: 1rem; + text-transform: uppercase; + text-decoration: none; + padding: 0 0.6rem; +} + + +/* --------MAIN CONTENT----------*/ +main { + background-color: var(--dark-beige); + display: flex; + flex-direction: column; + gap: 1rem; + +} + +.title-main { + display: flex; + justify-content: center; + align-items: center; + margin: 1rem 1rem; + gap: 1rem; +} + +.title-main .square { + background-color: var(--royal-blue); + width: 25px; + height: 25px; +} + +.title-main h1 { + font-family: 'Poppins', sans-serif; +} + +.experience_title { + display: flex; + justify-content: space-around; +} + +.experience_title h2 { + font-family: 'Poppins', sans-serif; +} + +.experience_title a { + background-color: var(--royal-blue); + border: 2px solid var(--royal-blue); + color: var(--white); + padding: 1px 25px; + border-radius: 20px; + font-family: 'Poppins', sans-serif; + text-decoration: none; + font-size: 17px; + +} + +.resume_box { + margin: 2rem; + padding: 1.5rem; + background-color: var(--white); + width: 300px; + height: 400px; + display: flex; + flex-direction: column; + gap: 1rem; + box-shadow: rgba(0, 0, 0, 0.24) -4px 3px 8px; +} + +.resume_box h4 { + color: var(--royal-blue); + font-family: 'Poppins', sans-serif; +} + +.resume_box p:nth-child(4) { + margin-top: -30px; +} + +.education_title { + display: flex; + margin: 1rem; +} + +.education_title h2 { + font-family: 'Poppins', sans-serif; +} + +.skill_box { + margin: 2rem; + padding: 1.5rem; + background-color: var(--white); + width: 300px; + height: 600px; + display: flex; + flex-direction: column; + box-shadow: rgba(0, 0, 0, 0.24) -4px 3px 8px; +} + +.skill_box h2 { + font-family: 'Poppins', sans-serif; +} + +.skills { + display: flex; + flex-direction: column; +} + +.skills_and_blue { + display: flex; + justify-content: flex-start; + align-items: center; + gap: 2rem; +} +/* ------------FOOTER---------------- */ +footer { + display: grid; + grid-template-columns: 1fr 1fr; + grid-template-rows: 5rem 6rem 6rem; + grid-template-areas: + "call write" + "follow . " + "end end"; + margin: 0 1.5rem; + +} + +footer p { + font-size: 1rem; +} + +footer h5 { + margin-bottom: 0; + font-family: 'Poppins', sans-serif; + font-size: 1rem; + +} + +.footer_info_call { + grid-area: call; +} + +.footer_info_write { + grid-area: write; +} + +.footer_media { + grid-area: follow; +} + +.end { + grid-area: end; + margin-bottom: 0; +} + +.footer_icons { + width: 1.5rem; +} + +#arrow_button { + display: none; + position: fixed; + bottom: 6rem; + right: 2rem; + z-index: 5; + font-size: 1.5rem; + border: none; + outline: none; + background-color: var(--royal-blue); + color: white; + cursor: pointer; + padding: 0.6rem; + border-radius: 50%; +} + +#arrow_button:hover { + background-color: var(--black); +} + + + +@media (min-width: 900px) { + footer { + grid-template-columns: repeat(8,1fr); + grid-template-rows: 6rem; + grid-template-areas: + " end end . . . call write follow"; + } + .hamburger{ + display:none; + } + nav{ + display: block; + } + .title { + + display: flex; + flex-direction: row; + gap:1rem; + } + .title p{ + margin-top: 1.2rem; + } + span { + margin-top:1.2rem; + display: block; + } +} \ No newline at end of file diff --git a/resume.html b/resume.html new file mode 100644 index 00000000..6868b46f --- /dev/null +++ b/resume.html @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + Business CV + + + +
+
+
+
+

Maya Nelson

+
+ / +

PROJECT MANAGER

+
+
+ +
+ hamburger  image +
+ + +
+
+
+
+
+
+

Resume

+
+ +
+

Experience

+ DOWNLOAD CV +
+ +
+

2035 - Present

+

JOB POSITION

+

Company Name

+

Company Location

+

I'm a paragraph. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to + add your own content and make changes to the font.

+
+ +
+

Education

+
+ +
+

2035 - 2035

+

UNIVERSITY NAME

+

Degree Level

+

University Location

+

I'm a paragraph. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to + add your own content and make changes to the font.

+
+ +
+

Professional skillset

+
+
+
+

Entrepreneurial Mindset

+
+ +
+
+

Go-to-Market Planning

+
+ +
+
+

Teamwork & Collaboration

+
+ +
+
+

Digital Analytics

+
+
+ +

Languages

+
+
+
+

English (native)

+
+ +
+
+

Spanish (proficient)

+
+ +
+
+

French (proficient)

+
+
+
+
+ +
+ + + +
+

©2023 by Andrius Isin. This website design was created by Wix.com, and is used here for strictly + educational purposes.

+
+
+ + + + \ No newline at end of file diff --git a/script.js b/script.js index 9224ec4c..18595b66 100644 --- a/script.js +++ b/script.js @@ -13,4 +13,10 @@ function scrollFunction() { function topFunction() { document.body.scrollTop = 0; document.documentElement.scrollTop = 0; -} \ No newline at end of file +} + +$(".menu-toggle").on('click', function() { + $(this).toggleClass("on"); + $('.menu-section').toggleClass("on"); + $("nav ul").toggleClass('hidden'); + }); \ No newline at end of file diff --git a/style.css b/style.css index ea5f4a41..58932e07 100644 --- a/style.css +++ b/style.css @@ -51,6 +51,41 @@ header p{ margin-left: 1rem; } +/* --------- HAMBURGER MENU----------- */ +.hamburger { + width: 4rem; + height: auto; + display: block; + margin-right: 3rem; + margin-top: 1rem; +} + +/* ------------Navigation-------------- */ +nav { + display: none; + grid-area: nav; + +} + +.navigation__list { + display: flex; + list-style: none; + justify-content: space-evenly; +} + +.navigation__item { + padding: 0.5rem 0; +} + +.navigation__link { + color: var(--black); + font-weight: 600; + font-size: 1rem; + text-transform: uppercase; + text-decoration: none; + padding: 0 0.6rem; +} + /* --------MAIN CONTENT----------*/ main{ background-color: var(--dark-beige); @@ -215,4 +250,43 @@ grid-area: call; #arrow_button:hover { background-color: var(--black); - } \ No newline at end of file + } + + +@media (min-width: 900px) { + footer { + grid-template-columns: repeat(8, 1fr); + grid-template-rows: 6rem; + grid-template-areas: + " end end . . . call write follow"; + } + + .hamburger { + display: none; + } + + nav { + display: block; + } + + .title { + + display: flex; + flex-direction: row; + gap: 1rem; + } + + .title p { + margin-top: 1.2rem; + } + + span { + margin-top: 1.2rem; + display: block; + } + body { + grid-template-columns: repeat(5,1fr); + grid-template-rows: 17rem 45rem 1rem; + font-family: 'Quicksand', sans-serif; + } +} \ No newline at end of file From 943081f84cb1165923b779300c100cb4c630c695 Mon Sep 17 00:00:00 2001 From: Andrius Isin Date: Mon, 13 Mar 2023 20:08:59 +0000 Subject: [PATCH 12/13] made media query for main page --- index.html | 8 +++- style.css | 133 +++++++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 130 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index 8ec5c3f6..33334ed5 100644 --- a/index.html +++ b/index.html @@ -36,7 +36,7 @@

Maya Nelson

ABOUT ME