diff --git a/firmware/fsdata/fs/css/style.css b/firmware/fsdata/fs/css/style.css index a26dda5..0e0e33a 100644 --- a/firmware/fsdata/fs/css/style.css +++ b/firmware/fsdata/fs/css/style.css @@ -5,28 +5,17 @@ main { margin-left: auto; margin-right: auto; } -section { - display: none; -} canvas{ width: 100%; } -main[data-page="dashboard"] section[id="dashboard"] { - display: block; +main section:target ~ section, main section#io, main section#wifi, main section#ota { + display: none; } -main[data-page="ota"] section[id="ota"] { - display: block; -} - -main[data-page="wifi"] section[id="wifi"] { - display: block; -} - -main[data-page="io"] section[id="io"] { - display: block; +main section:target{ + display: block !important; } .table { diff --git a/firmware/fsdata/fs/index.html b/firmware/fsdata/fs/index.html index 7d3fcdb..2244e40 100644 --- a/firmware/fsdata/fs/index.html +++ b/firmware/fsdata/fs/index.html @@ -15,10 +15,10 @@
-