From ba3a68c3fa2e6e3df15739d931100da5f54af1bf Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 7 Feb 2021 22:09:06 +0100 Subject: [PATCH] a bit of styling for the settings --- htdocs/css/admin.css | 13 +++++++++++++ htdocs/css/features.css | 7 ------- htdocs/features.html | 1 - owrx/controllers/settings.py | 2 +- 4 files changed, 14 insertions(+), 9 deletions(-) delete mode 100644 htdocs/css/features.css diff --git a/htdocs/css/admin.css b/htdocs/css/admin.css index b6ebcea8..12447286 100644 --- a/htdocs/css/admin.css +++ b/htdocs/css/admin.css @@ -12,3 +12,16 @@ .device { margin-top: 20px; } + +.settings-section { + margin-top: 3em; +} + +.settings-section h3 { + margin-bottom: 1em; +} + +h1 { + margin: 1em 0; + text-align: center; +} \ No newline at end of file diff --git a/htdocs/css/features.css b/htdocs/css/features.css deleted file mode 100644 index be41fef8..00000000 --- a/htdocs/css/features.css +++ /dev/null @@ -1,7 +0,0 @@ -@import url("openwebrx-header.css"); -@import url("openwebrx-globals.css"); - -h1 { - text-align: center; - margin: 50px 0; -} diff --git a/htdocs/features.html b/htdocs/features.html index 90d156ea..485e3734 100644 --- a/htdocs/features.html +++ b/htdocs/features.html @@ -3,7 +3,6 @@ - diff --git a/owrx/controllers/settings.py b/owrx/controllers/settings.py index 72a291ab..59c0b72d 100644 --- a/owrx/controllers/settings.py +++ b/owrx/controllers/settings.py @@ -34,7 +34,7 @@ class Section(object): def render(self): return """ -
+

{title}