diff --git a/.gitignore b/.gitignore index e43b0f9889..58b805fea8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +node_modules/ \ No newline at end of file diff --git a/SASS/_home/_nav.scss b/SASS/_home/_nav.scss new file mode 100644 index 0000000000..d7f9759957 --- /dev/null +++ b/SASS/_home/_nav.scss @@ -0,0 +1,6 @@ +nav { + width: 100%; + background-color: orangered; + display: flex; + justify-content: space-between; +} diff --git a/SASS/index.scss b/SASS/index.scss new file mode 100644 index 0000000000..4a9682762f --- /dev/null +++ b/SASS/index.scss @@ -0,0 +1,216 @@ +/*------------------------------------*\ +RESET +\*------------------------------------*/ +/* http://meyerweb.com/eric/tools/css/reset/ +v2.0b1 | 201101 +NOTE:WORK IN PROGRESS +USE WITH CAUTION AND TEST WITH ABANDON */ + +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, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + outline: 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; +} +ins { + text-decoration: none; +} +del { + text-decoration: line-through; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +/* Your Code Goes Here */ + +* { + box-sizing: border-box; +} + +html, +body { + height: 100%; + font-family: "Lato", sans-serif; +} + +html { + font-size: 62.5%; +} + +body { + margin: 0 auto; +} + +a, +p, +address, +footer, +ul, +li { + font-size: 1.6rem; +} + +.nav { + width: 100%; + padding: 3.2rem 4rem; + background-color: #888888; + display: flex; + justify-content: space-between; + position: fixed; + font-size: 2.4rem; + z-index: 100000; + margin: 0; + + a { + text-decoration: none; + } + + &__logo { + color: white; + } + + &__menu { + display: none; + &--links { + color: white; + margin: 1.5rem auto; + + &:hover { + color: black; + transform: scale(1.05); + font-weight: bold; + } + } + } + + &__toggle { + color: white; + + &:hover { + color: black; + // transform: scale(1.1); + } + } + + .active { + display: flex; + flex-direction: column; + margin-top: 5rem; + width: 100%; + } +} diff --git a/css/index.css b/css/index.css index e6b2b589c1..b920e81d8e 100644 --- a/css/index.css +++ b/css/index.css @@ -1 +1,191 @@ -/* Should be empty until you compile your LESS */ \ No newline at end of file +@charset "UTF-8"; +/*------------------------------------*\ +RESET +\*------------------------------------*/ +/* http://meyerweb.com/eric/tools/css/reset/ +v2.0b1 | 201101 +NOTE:WORK IN PROGRESS +USE WITH CAUTION AND TEST WITH ABANDON */ +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, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + outline: 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; } + +ins { + text-decoration: none; } + +del { + text-decoration: line-through; } + +table { + border-collapse: collapse; + border-spacing: 0; } + +/* Your Code Goes Here */ +* { + box-sizing: border-box; } + +html, +body { + height: 100%; + font-family: "Lato", sans-serif; } + +html { + font-size: 62.5%; } + +body { + margin: 0 auto; } + +a, +p, +address, +footer, +ul, +li { + font-size: 1.6rem; } + +.nav { + width: 100%; + padding: 3.2rem 4rem; + background-color: #888888; + display: flex; + justify-content: space-between; + position: fixed; + font-size: 2.4rem; + z-index: 100000; + margin: 0; } + .nav a { + text-decoration: none; } + .nav__logo { + color: white; } + .nav__menu { + display: none; } + .nav__menu--links { + color: white; + margin: 1.5rem auto; } + .nav__menu--links:hover { + color: black; + transform: scale(1.05); + font-weight: bold; } + .nav__toggle { + color: white; } + .nav__toggle:hover { + color: black; } + .nav .active { + display: flex; + flex-direction: column; + margin-top: 5rem; + width: 100%; } diff --git a/index.html b/index.html index 8a84a17304..1a3866b688 100644 --- a/index.html +++ b/index.html @@ -1,20 +1,51 @@ -
- -