diff --git a/build.sh b/build.sh index 02a5540..bf6bb35 100644 --- a/build.sh +++ b/build.sh @@ -1,5 +1,7 @@ #!/bin/sh +mkdir -p server/src/generated + bin2cpp --file=client/header_top.html --output=server/src/generated bin2cpp --file=client/header_bottom.html --output=server/src/generated diff --git a/client/header_bottom.html b/client/header_bottom.html index 2a73a1a..ee255d3 100644 --- a/client/header_bottom.html +++ b/client/header_bottom.html @@ -1,5 +1,16 @@ + +
diff --git a/client/style.css b/client/style.css index ae2e853..ed5e7b7 100644 --- a/client/style.css +++ b/client/style.css @@ -6,6 +6,8 @@ body { color: lime; background-color: black; line-height: 1.1; + height: 100vh; + margin: 0; } hr { @@ -60,6 +62,37 @@ img { gap: 5px; } +nav { + background: rgb(25, 25, 25); + display: flex; + padding: 16px; + margin-bottom: 1em; + + #brand h2 { + margin: 0; + } + + a { + color: lime; + text-decoration: none; + + &:hover { + text-decoration: underline; + } + } + + ul { + list-style: none; + display: flex; + align-items: center; + margin: 0; + + li { + margin-left: 1em; + } + } +} + @media (max-width: 600px) { input, textarea, button { font-size: 16px;