diff --git a/site/layouts/partials/header.html b/site/layouts/partials/header.html index a0e9fa1..3699157 100644 --- a/site/layouts/partials/header.html +++ b/site/layouts/partials/header.html @@ -1,11 +1,15 @@ - + + - - - Home - About - Services - Contact + + + {{ .Site.Title }} + + + Home + About + Services + Contact diff --git a/src/css/imports/layout.scss b/src/css/imports/layout.scss index 8933349..7bcb9af 100644 --- a/src/css/imports/layout.scss +++ b/src/css/imports/layout.scss @@ -15,6 +15,15 @@ position: relative; } +.l-underlay { + z-index: -1; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; +} + // #sizes .l-screen-min-full { @@ -54,3 +63,15 @@ flex-wrap: wrap; } +.l-flex-list-row { + display: flex; + flex-direction: row; + justify-content: center; + padding-left: 0; + list-style: none; + + > li { + margin-bottom: 0; + } +} + diff --git a/src/css/imports/variables.scss b/src/css/imports/variables.scss new file mode 100644 index 0000000..86491dc --- /dev/null +++ b/src/css/imports/variables.scss @@ -0,0 +1,5 @@ +$z-index__header: 100; + +:root { + --color__bg: #eee; +} diff --git a/src/css/main.css b/src/css/main.css index f4285ba..a9d2a59 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -1,6 +1,8 @@ @import "imports/reset.css"; @import "milligram"; +@import "imports/variables.scss"; + @import "imports/layout.scss"; @import "imports/utility.scss"; @import "imports/mixins.scss"; @@ -29,4 +31,52 @@ html.is-animating .transition-fade { height: 30em; } +// header + +.header-bg { + opacity: 0.6; +} + +.header { + z-index: $z-index__header; + + position: fixed; + top: 0; + left: 0; + width: 100%; +} + +.nav { + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; +} + +.nav__item { + margin: 0; +} + +.nav__link { + display: block; + padding: 0.6em 1.5em; + + &:last-child { + padding-right: 0; + } +} + +.nav-item { +} + +// global + +.site-title { + text-transform: capitalize; +} + +.page-bg { + background-color: var(--color__bg); +} + // vim:set filetype=scss: