From 56a956e0f40e5f2dc78ad8d3fa138b4594abede9 Mon Sep 17 00:00:00 2001 From: "me@ow.nekobit.net" Date: Mon, 11 Apr 2022 02:24:04 +0000 Subject: [PATCH] Separate header from content Allows for sticky header and other theming options FossilOrigin-Name: c74cea448aff4d89f81225c7cb8c27e0a52d75fa11a17ec973f0e55d604bc5c5 --- dist/treebird20.css | 22 +++++++++++++++------- static/index.html | 2 -- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/dist/treebird20.css b/dist/treebird20.css index 1955120..6e79b23 100644 --- a/dist/treebird20.css +++ b/dist/treebird20.css @@ -45,25 +45,33 @@ table.ui-table td vertical-align: top; } -#display +#navbar, #content { margin-left: auto; margin-right: auto; overflow: hidden; background-color: #ffffff; - width: 1000px; - border-radius: 5px; border: 1px solid #dadada; box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); + border-width: 0; +} + +#content +{ + border-top: 0 !important; + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; } #navbar { + border-top-left-radius: 5px; + border-top-right-radius: 5px; border-top: 2px solid #fff; background: linear-gradient(#fafafa, #f3f3f3); + width: 1000px; display: flex; align-items: center; - padding: 0 5px; border-bottom: 2px solid #cacaca; } @@ -106,9 +114,9 @@ table.ui-table td #main { - width: 610px; - max-width: 610px !important; - min-width: 610px; + width: 608px; + max-width: 608px !important; + min-width: 608px; border-collapse: collapse !important; padding: 0; } diff --git a/static/index.html b/static/index.html index c9ab74e..1dee8d3 100644 --- a/static/index.html +++ b/static/index.html @@ -7,7 +7,6 @@ -