forked from j3d1/fiatlux
switch to css only paging
This commit is contained in:
parent
c049c04e8e
commit
495163060d
2 changed files with 6 additions and 21 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue