diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/static/style.css | 6 | ||||
-rw-r--r-- | src/template.php | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/static/style.css b/src/static/style.css index 4784cb1..f0b6130 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -43,6 +43,12 @@ a { border-left: 1px solid #fff; border-right: 1px solid #000; } +.navCell-first { + border-left: none; +} +.navCell-fill { + border-right: none; +} .navCell a { display: block; padding: 4px 32px; diff --git a/src/template.php b/src/template.php index 6061e1d..127356c 100644 --- a/src/template.php +++ b/src/template.php @@ -35,7 +35,7 @@ $nav = fn(string $ln) => <table id="navLayout" cellspacing="0"> <tbody> <tr> - <td class="navCell<?= $nav("home") ?>" style="border-left:0"> + <td class="navCell<?= $nav("home") ?> navCell-first"> <a href="/"><img class="navIcon" alt="" @@ -71,8 +71,7 @@ $nav = fn(string $ln) => src="/static/icons/website.gif" /> My actual website</a> </td> - <td class="navCell" - style="border-right:0"></td> + <td class="navCell navCell-fill"></td> </tr> </tbody> </table> |