diff --git a/src/app/sessions/4a7a69f1d0514a515600940b77084078a78239fd b/src/app/sessions/4a7a69f1d0514a515600940b77084078a78239fd new file mode 100644 index 0000000..71583e4 --- /dev/null +++ b/src/app/sessions/4a7a69f1d0514a515600940b77084078a78239fd @@ -0,0 +1,3 @@ +gAN9cQAoWAoAAABzZXNzaW9uX2lkcQFYKAAAADRhN2E2OWYxZDA1MTRhNTE1NjAwOTQwYjc3MDg0 +MDc4YTc4MjM5ZmRxAlgIAAAAdXNlcm5hbWVxA1gBAAAAYXEEWAIAAABpcHEFWAkAAAAxMjcuMC4w +LjFxBnUu diff --git a/src/app/static/stylesheet.css b/src/app/static/stylesheet.css index 4f14609..692858e 100644 --- a/src/app/static/stylesheet.css +++ b/src/app/static/stylesheet.css @@ -1,7 +1,8 @@ body { background-color: lightblue; display: flex; /* or inline-flex */ - flex-direction: column + flex-direction: column; + margin: 0; } h1 { @@ -10,4 +11,40 @@ h1 { img { margin: auto; +} + +nav { + margin-bottom: 10px; +} + +nav li { + float: left; +} + +nav li a { + display: block; + color: white; + text-align: center; + padding: 20px 16px; + text-decoration: none; +} + +nav li a:hover { + background-color: lightskyblue; +} + +nav ul { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: gray; +} + +#title { + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; } \ No newline at end of file diff --git a/src/app/templates/guestbook.html b/src/app/templates/guestbook.html index 4bea4b5..09747d0 100644 --- a/src/app/templates/guestbook.html +++ b/src/app/templates/guestbook.html @@ -1,4 +1,4 @@ -$def with (entries, guestbook_form) +$def with (nav, entries, guestbook_form) Friends @@ -8,6 +8,9 @@ $def with (entries, guestbook_form) + + $:nav +

Guestbook