2019-11-27 22:10:02 +07:00
|
|
|
/**
|
|
|
|
* Docs: Aside
|
|
|
|
*/
|
|
|
|
|
|
|
|
main > aside {
|
|
|
|
|
|
|
|
nav {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: $spacing-block;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin-bottom: $spacing-typography;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: map-get($breakpoints, "lg")) {
|
|
|
|
position: fixed;
|
|
|
|
width: 200px;
|
|
|
|
max-height: calc(100vh - 5.5rem);
|
|
|
|
margin-bottom: 0;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li, summary {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li a {
|
|
|
|
padding: 0.375rem 0.5rem;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a,
|
|
|
|
a.secondary {
|
|
|
|
&:focus {
|
|
|
|
background-color: transparent;
|
|
|
|
color: var(--primary-hover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
details {
|
|
|
|
padding-bottom: .25rem;
|
|
|
|
border-bottom: none;
|
|
|
|
|
2019-11-30 12:43:20 +07:00
|
|
|
summary {
|
2019-12-01 16:35:38 +07:00
|
|
|
color: var(--h3);
|
|
|
|
font-size: 14px;
|
2019-11-30 12:43:20 +07:00
|
|
|
font-weight: 300;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-11-27 22:10:02 +07:00
|
|
|
|
2019-11-30 12:43:20 +07:00
|
|
|
&[open] summary {
|
|
|
|
color: var(--h3);
|
2019-11-27 22:10:02 +07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[role=document] {
|
|
|
|
section > h1,
|
|
|
|
section > h2,
|
|
|
|
section > h3 {
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
}
|