navigation, regions
This commit is contained in:
1 parent
50ea3f1bd8
commit
a3121bf58e
7 files changed
+309
-19
No files matched your search
@@ -103,10 +103,6 @@ button[popovertarget]>span{
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
nav>ul{
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
body>header{
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@@ -120,6 +116,45 @@ body>header{
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
body>header>nav{
|
||||
text-align: center;
|
||||
max-width: 10em;
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
border-radius: .2em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
body>header>nav>ul{
|
||||
position: absolute;
|
||||
background: #fff;
|
||||
width: 100%;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
top: -999em;
|
||||
left: -999em;
|
||||
}
|
||||
|
||||
body>header>nav:hover ul{
|
||||
top: initial;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
body>header>nav>ul>li a,
|
||||
body>header>nav>strong{
|
||||
display: inline-block;
|
||||
padding: .2em .4em;
|
||||
}
|
||||
|
||||
a{
|
||||
color: #000;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:focus{
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
|
||||
main{
|
||||
width: 100%;
|
||||
@@ -139,7 +174,7 @@ body.overview main{
|
||||
"chart3 chart3 chart3 chart2 chart2 chart2 chart4 chart4"
|
||||
}
|
||||
|
||||
body.timeline main{
|
||||
body.property main{
|
||||
grid-template-columns: repeat(4, minmax(10%, 50%));
|
||||
grid-template-rows: repeat(3, 1fr) 4em;
|
||||
grid-template-areas:
|
||||
@@ -149,6 +184,16 @@ body.timeline main{
|
||||
"timeline timeline timeline timeline";
|
||||
}
|
||||
|
||||
body.region main{
|
||||
grid-template-columns: repeat(4, minmax(10%, 50%));
|
||||
grid-template-rows: repeat(3, 1fr) 4em;
|
||||
grid-template-areas:
|
||||
"chart1 chart1 chart2 chart2"
|
||||
"chart1 chart1 chart3 chart4"
|
||||
"chart1 chart1 chart3 chart4"
|
||||
"chart1 chart1 timeline timeline";
|
||||
}
|
||||
|
||||
article{
|
||||
background: #f9f9f9;
|
||||
border: .0625em solid #ccc;
|
||||
|
||||
Reference in new issue
Block a user