diff --git a/site-root/public/css/main.css b/site-root/public/css/main.css index 6db635b..dfe6886 100644 --- a/site-root/public/css/main.css +++ b/site-root/public/css/main.css @@ -86,6 +86,40 @@ nav a:hover { text-decoration-thickness: 0rem; } +nav { + text-align: center; +} + +nav > ul { + margin: 0 auto; + padding: 0; + display: flex; + /* grid-template-columns: min-content; */ + /* display: inline; */ + list-style: none; +} + +nav a { + display: inline-block; + padding: 1rem; +} + +nav a.current { + text-decoration: none; +} + +/* nav > ul > li { + float: left; +} */ + +nav > ul > li:after { + content: '|'; +} + +nav > ul > li:last-of-type:after { + content: ''; +} + article[is="home"] > section a { display: block; padding: 1rem 0.2rem; @@ -148,34 +182,4 @@ footer > p { article[is="book-details"] { grid-template-columns: auto auto; } - - nav { - text-align: center; - } - - nav > ul { - margin: 0 auto; - padding: 0; - display: flex; - /* grid-template-columns: min-content; */ - /* display: inline; */ - list-style: none; - } - - nav a { - display: inline-block; - padding: 1rem; - } - - /* nav > ul > li { - float: left; - } */ - - nav > ul > li:after { - content: '|'; - } - - nav > ul > li:last-of-type:after { - content: ''; - } } diff --git a/site-root/public/foot.php b/site-root/public/foot.php index 729ce54..7bafa69 100644 --- a/site-root/public/foot.php +++ b/site-root/public/foot.php @@ -1,8 +1,23 @@ + 'Home', + '/time/' => 'Time', + '/booking/' => 'Book now' +]; + +?>