diff --git a/.zs/layout.html b/.zs/layout.html index bb40ad6..72f2b1c 100644 --- a/.zs/layout.html +++ b/.zs/layout.html @@ -7,6 +7,7 @@ jonathan.is + /??? /writing /speaking /coding diff --git a/style.css b/style.css index 61a2497..9a78af8 100644 --- a/style.css +++ b/style.css @@ -7,6 +7,9 @@ body { img, video { max-width: 100% } +#landing { display: none; text-decoration: underline } +#landing.active { display: block } + header { flex-shrink: 0; & > nav { @@ -23,14 +26,12 @@ header { & > menu { padding: 0; margin: 0; - /* TODO: go vertical / dropdown on small screens - & li { display: none } - & li.active { display: inherit } - &:hover li { - transition: display 1s ease-in-out; - display: block; + /* turn the menu into a dynamic one for highly vertical devices */ + @media (orientation: portrait) { + & li { display: none } + & li.active { display: inherit } + &:hover li { display: block } } - */ } } }