|
|
|
body,
|
|
|
|
html {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
border-bottom: 2px solid #ccc;
|
|
|
|
margin: 0;
|
|
|
|
grid-area: nav;
|
|
|
|
padding: 0.3em 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 10pt;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul:nth-child(1) {
|
|
|
|
padding: 1em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
li:hover {
|
|
|
|
background-color: rgb(0, 0, 130);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
li::before {
|
|
|
|
content: "";
|
|
|
|
color: black;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.caret-down::before {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
.nested {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.caret::before {
|
|
|
|
content: "\25B6";
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: max-content auto;
|
|
|
|
grid-template-rows: max-content auto max-content;
|
|
|
|
height: 100%;
|
|
|
|
grid-template-areas:
|
|
|
|
"nav nav"
|
|
|
|
"aside section"
|
|
|
|
"footer footer";
|
|
|
|
}
|
|
|
|
section {
|
|
|
|
grid-area: section;
|
|
|
|
}
|
|
|
|
|
|
|
|
aside {
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
grid-area: aside;
|
|
|
|
overflow-y: scroll;
|
|
|
|
margin-right: 2px solid #c3c3c3;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
border-top: 2px solid #c3c3c3;
|
|
|
|
grid-area: footer;
|
|
|
|
text-align: right;
|
|
|
|
padding: 0.3em 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
sub {
|
|
|
|
display: block;
|
|
|
|
}
|