From 28a86889ce8eaf22ee26a4e5edc3bc6326cbdab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zden=C4=9Bk=20Borovec?= Date: Fri, 19 Jan 2024 03:38:05 +0100 Subject: [PATCH] refactor --- assets/common/styles.css | 42 ++++++++++++++++++++++++++++++++++++++++ docs/common/footer.php | 7 ------- docs/common/header.php | 42 ++-------------------------------------- docs/www/index.php | 2 +- 4 files changed, 45 insertions(+), 48 deletions(-) diff --git a/assets/common/styles.css b/assets/common/styles.css index f967a5e..9b34803 100755 --- a/assets/common/styles.css +++ b/assets/common/styles.css @@ -72,6 +72,48 @@ code { display: block; } +#header { + border-bottom: double; +} + +#header h1{ + padding-left: 1em; + padding-right: 1em; +} + +#header ul { + background-color: #202020; + background-image: url("http://assets.zdenekborovec-dev.cz/common/planks_dark_tile.png"); + background-repeat: repeat; + padding: 0; + margin: 0; + text-align: center; + display: flex; + list-style-type: none; +} + +#header ul li { + float: left; + position: relative; + flex-grow: 1; + border-style: solid; + border-width: thin; + border-color: black; +} + +#header ul li a { + color: white; + text-decoration: none; + font-family: sans-serif; + font-weight: bold; + display: block; +} + +#footer { + border-top: double; + padding-bottom: 1em; +} + .image-container { border-style: solid; border-width: thin; diff --git a/docs/common/footer.php b/docs/common/footer.php index a341308..a2126c5 100755 --- a/docs/common/footer.php +++ b/docs/common/footer.php @@ -19,10 +19,3 @@ - - diff --git a/docs/common/header.php b/docs/common/header.php index ab5607f..0d2666c 100755 --- a/docs/common/header.php +++ b/docs/common/header.php @@ -1,51 +1,13 @@ - - - + <?= isset($PageTitle) ? $PageTitle : "Zdenek Home Page"?> +