diff --git a/100_projects/90-model-landing-page/assets/css/style.css b/100_projects/90-model-landing-page/assets/css/style.css new file mode 100644 index 0000000..315d7af --- /dev/null +++ b/100_projects/90-model-landing-page/assets/css/style.css @@ -0,0 +1,232 @@ +@import url("https://fonts.googleapis.com/css?family=Raleway:700,900&display=swap"); +*, ::before, ::after { + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +:root { + --first-color: #D8DBE2; + --second-color: #F2BF25; + --text-color: #000; + --white-color: #FFF; + + --body-font:'Raleway', sans-serif; + --h2-font-size: 1.25rem; + --big-font-size: 3rem; + --normal-font-size: 0.93rem; + --smaller-font-size: 0.75rem; + + --z-back: -10; + --z-normal: 1; + --z-tooltip: 10; + --z-fixed: 100; + --z-modal: 1000; +} +@media screen and (min-width: 768px) { + :root { + --h2-font-size: 2rem; + --big-font-size: 6rem; + --normal-font-size: 1rem; + --smaller-font-size: 0.813rem; + } +} +body { + margin: 3rem 0 0 0; + font-family: var(--body-font); + background-color: var(--first-color); + color: var(--text-color); + font-weight: 700; + overflow: hidden; +} +h1, h2 { + margin: 0; +} +ul { + margin: 0; + padding: 0; + list-style: none; +} +a { + text-decoration: none; +} +img { + max-width: 100%; + height: auto; +} +.bd-grid { + max-width: 1200px; + margin-left: 1rem; + margin-right: 1rem; +} +.l-header { + width: 100%; + position: fixed; + top: 0; + left: 0; + z-index: var(--z-modal); + background-color: var(--first-color); +} +.nav { + height: 3rem; + display: flex; + justify-content: space-between; + align-items: center; +} +@media screen and (max-width: 768px) { + .nav__menu { + position: fixed; + top: 0; + right: -100%; + background-color: var(--white-color); + width: 85%; + height: 100vh; + padding: .75rem; + z-index: var(--z-modal); + font-weight: 900; + transition: .5s; + } +} +.nav__close { + text-align: right; +} +.nav__close-icon { + font-size: 1.5rem; + cursor: pointer; +} +.nav__list { + text-align: center; + padding-top: 2.5rem; +} +.nav__item { + margin-bottom: 2.5rem; +} +.nav__link { + padding: .5rem; + color: var(--text-color); + text-transform: uppercase; +} +.nav__link:hover { + color: #575757; +} +.nav__logo { + font-size: var(--normal-font-size); + font-weight: 900; + color: var(--text-color); +} +.nav__toggle { + font-size: 1.5rem; + cursor: pointer; +} +.show { + right: -5%; +} +.hidden { + right: -100%; +} +.l-main { + height: calc(100vh - 3rem); +} +.home { + position: relative; + height: 100%; + display: -ms-grid; + display: grid; + grid-template-columns: 1fr 4fr; + align-content: flex-end; + z-index: var(--z-normal); +} +.home__title { + position: absolute; + top: 4%; + left: 5%; + font-size: var(--big-font-size); + font-weight: 900; + z-index: var(--z-fixed); +} +.home__img { + position: absolute; + top: 10%; + left: 22%; + width: 235px; + height: 353px; + z-index: var(--z-tooltip); +} +.home__social { + writing-mode: vertical-rl; + transform: rotate(180deg); + padding-top: 2rem; +} +.home__social-link { + padding-bottom: 2rem; + color: var(--text-color); + font-size: var(--smaller-font-size); +} +.home__subtitle { + writing-mode: vertical-rl; + transform: rotate(180deg); + padding-top: 2rem; + padding-right: .5rem; + font-size: var(--h2-font-size); + font-weight: 900; +} +.home__button { + position: absolute; + right: -1rem; + bottom: 0; + padding: 1rem; + background-color: var(--text-color); + color: var(--white-color); +} +.home__button-icon { + padding-left: 4.25rem; +} +@media screen and (min-width: 768px) { + body { + margin: 0; + } + .l-main { + height: 100vh; + } + .nav__list { + display: flex; + padding-top: 0; + } + .nav__item { + margin-left: 3rem; + margin-bottom: 0; + } + .nav__toggle, .nav__close { + display: none; + } + .nav__link { + text-transform: initial; + } + .home { + grid-template-columns: 4fr 1fr; + } + .home__title { + top: 16%; + left: 23%; + } + .home__img { + width: 359px; + height: 539px; + top: 18%; + left: 43%; + } + .home__social { + padding-top: 5rem; + } + .home__social-link { + padding-bottom: 3rem; + } + .home__subtitle { + padding-top: 18rem; + padding-right: 8rem; + } +} +@media screen and (min-width: 1200px) { + .bd-grid { + margin-left: auto; + margin-right: auto; + } +} \ No newline at end of file diff --git a/100_projects/90-model-landing-page/assets/img/1.jpg b/100_projects/90-model-landing-page/assets/img/1.jpg new file mode 100644 index 0000000..16fe68d Binary files /dev/null and b/100_projects/90-model-landing-page/assets/img/1.jpg differ diff --git a/100_projects/90-model-landing-page/assets/img/diss.png b/100_projects/90-model-landing-page/assets/img/diss.png new file mode 100644 index 0000000..d72b4d7 Binary files /dev/null and b/100_projects/90-model-landing-page/assets/img/diss.png differ diff --git a/100_projects/90-model-landing-page/assets/img/img1.jpg b/100_projects/90-model-landing-page/assets/img/img1.jpg new file mode 100644 index 0000000..cde8d8a Binary files /dev/null and b/100_projects/90-model-landing-page/assets/img/img1.jpg differ diff --git a/100_projects/90-model-landing-page/assets/img/img2.jpg b/100_projects/90-model-landing-page/assets/img/img2.jpg new file mode 100644 index 0000000..7d50d4b Binary files /dev/null and b/100_projects/90-model-landing-page/assets/img/img2.jpg differ diff --git a/100_projects/90-model-landing-page/assets/js/hover-effect.umd.js b/100_projects/90-model-landing-page/assets/js/hover-effect.umd.js new file mode 100644 index 0000000..c856e28 --- /dev/null +++ b/100_projects/90-model-landing-page/assets/js/hover-effect.umd.js @@ -0,0 +1,2 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("three"),require("gsap/TweenMax")):"function"==typeof define&&define.amd?define(["three","gsap/TweenMax"],t):e.hoverEffect=t(e.THREE,e.TweenMax)}(this,function(e,t){return t=t&&t.hasOwnProperty("default")?t.default:t,function(n){function i(){for(var e=arguments,t=0;t{ + navMenu.classList.toggle('show') + navMenu.classList.remove('hidden') +}) + +/*HIDDEN*/ +closeMenu.addEventListener('click', ()=>{ + navMenu.classList.toggle('hidden') + navMenu.classList.remove('show') +}) + + + + + + diff --git a/100_projects/90-model-landing-page/index.html b/100_projects/90-model-landing-page/index.html new file mode 100644 index 0000000..e8c994b --- /dev/null +++ b/100_projects/90-model-landing-page/index.html @@ -0,0 +1,68 @@ + + + + + + + Document + + + +
+
+

I´M A
MODEL
COOL

+
+ +
+ +

RUSIA
FASHION
MODEL

+ Contact +
+
+ + + + + + + + + + + + \ No newline at end of file