diff --git a/dist/css/main.css b/dist/css/main.css new file mode 100644 index 0000000..992de9d --- /dev/null +++ b/dist/css/main.css @@ -0,0 +1,176 @@ +@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap"); +* { + -webkit-box-sizing: border-box; + box-sizing: border-box; + margin: 0; + padding: 0; +} + +.menu-btn { + position: absolute; + z-index: 1; + right: 1rem; + top: 1rem; + height: 20px; + width: 28px; + cursor: pointer; + -webkit-transition: all 0.25s ease-in-out; + transition: all 0.25s ease-in-out; +} + +.menu-btn_burger { + position: absolute; + right: 0; + top: 0.5rem; + width: 28px; + height: 3px; + background: black; + -webkit-transition: all 0.25s ease-in-out; + transition: all 0.25s ease-in-out; +} + +.menu-btn_burger::before { + content: ''; + position: absolute; + top: -8px; + width: 28px; + height: 3px; + background-color: black; + -webkit-transition: all 0.25s ease-in-out; + transition: all 0.25s ease-in-out; +} + +.menu-btn_burger::after { + content: ''; + position: absolute; + top: 8px; + width: 20px; + height: 3px; + background-color: black; + -webkit-transition: all 0.25s ease-in-out; + transition: all 0.25s ease-in-out; +} + +.menu-btn_burger.open { + -webkit-transform: rotate(720deg); + transform: rotate(720deg); + background: transparent; +} + +.menu-btn_burger.open::before { + -webkit-transform: rotate(45deg) translate(5px, 8px); + transform: rotate(45deg) translate(5px, 8px); +} + +.menu-btn_burger.open::after { + width: 28px; + -webkit-transform: rotate(-45deg) translate(3px, -7px); + transform: rotate(-45deg) translate(3px, -7px); +} + +.nav { + position: fixed; + top: 0; + left: 0; + width: 100vw; + opacity: 0.98; + visibility: hidden; +} + +.nav.open { + visibility: visible; +} + +.nav .menu-nav { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-flow: column wrap; + flex-flow: column wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + height: 100vh; + overflow: hidden; + background: #e1e1e1; + list-style-type: none; + padding-right: 1rem; + -webkit-transform: translateY(-100%); + transform: translateY(-100%); + -webkit-transition: all 0.25s ease-in-out; + transition: all 0.25s ease-in-out; +} + +.nav .menu-nav.open { + -webkit-transform: translateY(0); + transform: translateY(0); +} + +.nav .menu-nav_item { + -webkit-transform: translateX(100vw); + transform: translateX(100vw); + -webkit-transition: all 0.25s ease-in-out; + transition: all 0.25s ease-in-out; +} + +.nav .menu-nav_item.open { + -webkit-transform: translateX(0); + transform: translateX(0); +} + +.nav .menu-nav_item.active > a { + color: yellow; +} + +.nav .menu-nav_link { + display: inline-block; + font-size: 2rem; + text-transform: uppercase; + padding: 2rem 0; + font-weight: 300; + -webkit-transition: all 0.25s ease-in-out; + transition: all 0.25s ease-in-out; +} + +.nav .menu-nav_link:hover { + color: yellow; +} + +.menu-nav_item:nth-child(1) { + -webkit-transition-delay: 0.3s; + transition-delay: 0.3s; +} + +.menu-nav_item:nth-child(2) { + -webkit-transition-delay: 0.45s; + transition-delay: 0.45s; +} + +.menu-nav_item:nth-child(3) { + -webkit-transition-delay: 0.6s; + transition-delay: 0.6s; +} + +.menu-nav_item:nth-child(4) { + -webkit-transition-delay: 0.75s; + transition-delay: 0.75s; +} + +body { + width: 1440px; + color: #e1e1e1; +} + +a.menu-nav_link { + font-family: Raleway; + text-decoration: none; + color: #515151; + font-weight: 700; + font-size: 18px; +} +/*# sourceMappingURL=main.css.map */ \ No newline at end of file diff --git a/dist/css/main.css.map b/dist/css/main.css.map new file mode 100644 index 0000000..425c2bd --- /dev/null +++ b/dist/css/main.css.map @@ -0,0 +1,11 @@ +{ + "version": 3, + "mappings": "AACA,OAAO,CAAC,iFAAI;ACEZ,AAAA,CAAC,CAAC;EACA,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;CACX;;ACPD,AAAA,SAAS,CAAC;EACR,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,CAAC;EACV,KAAK,EAAE,IAAI;EACX,GAAG,EAAE,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AA,UAAW,CAAA,CAAC,EAAM;EAC9B,gBAAgB,EAAE,IAAoB;CACvC;;AAFD,AAAA,cAAc,AAAA,UAAW,CAAA,CAAC,EAAM;EAC9B,gBAAgB,EAAE,KAAoB;CACvC;;AF/GH,AAAA,IAAI,CAAC;EACH,KAAK,EAAE,MAAM;EACb,KAAK,ECNY,OAAO;CDOzB;;AAED,AAAA,CAAC,AAAA,cAAc,CAAC;EACd,WAAW,EAAE,OAAO;EACpB,eAAe,EAAE,IAAI;EACrB,KAAK,ECXM,OAAO;EDYlB,WAAW,EAAE,GAAG;EAChB,SAAS,EAAE,IAAI;CAChB", + "sources": [ + "../scss/main.scss", + "../scss/_config.scss", + "../scss/_menu.scss" + ], + "names": [], + "file": "main.css" +} \ No newline at end of file diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..406f8b8 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,48 @@ + + +
+ + + + + +CodersCamp - projekt 1. Tutaj możesz zacząć swoją zabawę!
-TEST commit
- -