@import './utils/theme.scss'; @import './utils/elevation.scss'; // @import './utils/typography.scss'; @import './components/aki-button.scss'; @import './components/aki-card.scss'; @import './components/aki-divider.scss'; @import './components/aki-toolbar.scss'; @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); // TODO: Media queries for smaller screens and devices. html { font-size: 100%; // 16px } body { display: flex; flex-direction: column; font-family: 'Roboto', sans-serif; font-weight: 400; height: 100vh; line-height: 1.75; margin: 0; padding: 0; width: 100vw; } p { margin-bottom: 1rem; } h1, h2, h3, h4, h5 { margin: 3rem 0 1.38rem; font-family: 'Roboto', sans-serif; font-weight: 400; line-height: 1.3; } h1 { // margin-top: 0; font-size: 4.209rem; } h2 { font-size: 3.157rem; } h3 { font-size: 2.369rem; } h4 { font-size: 1.777rem; } h5 { font-size: 1.333rem; } small, .text_small { font-size: 0.75rem; } // -------- header { .left, .center, .right { align-items: inherit; display: inherit; height: calc(100% - 2rem); padding: 1rem; } .left { .logo { display: block; filter: invert(1); height: 3rem; width: 3rem; } .title { font-size: 1.75rem; font-weight: 700; letter-spacing: .03125em; margin-left: 1rem; @media (max-width: #{$bp-small}) { margin-left: 0; } } } .right { flex: 1 1 auto; justify-content: flex-end; text-transform: uppercase; .dropdown-button { display: none; } // TODO: Redo header media query (vertical res > 768px -> Dropdown or moved to sidenav toggle) /* @media (max-width: #{$bp-medium}) { &.dropdown { align-items: center; cursor: pointer; display: flex; justify-content: center; min-width: 4rem; float: left; overflow: hidden; &:hover .dropdown-content { // display: block; background: $primary; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); display: flex; flex-direction: column; padding: 1rem; right: 0; top: 5.5rem; } .dropdown-button { display: initial; } .dropdown-content { display: none; position: absolute; z-index: 1; } } } */ } } // TODO: media queries (@res >= 1024px -> toggleable sidenav) main { display: flex; flex-direction: row; height: 100%; overflow: auto; width: 100%; aside { background: $primary; box-shadow: $elevation-z4; color: $on-primary; max-width: 20rem; overflow-y: auto; width: 100%; z-index: 1; nav { margin: 1rem 0; a, div { display: block; padding: .25rem .5rem .25rem 1rem; width: calc(100% - 1.5rem); } ul { list-style: none; margin: 0; padding-left: 1rem; } a { color: $on-secondary; &:hover { filter: invert(.15); } &.active { color: $accent; } } // TODO: Redo list status animations .node { div { align-items: center; cursor: pointer; display: flex; justify-content: space-between; img { display: block; max-height: 1.5rem; max-width: 1.5rem; } } ul { overflow: hidden; } &.hide { ul { max-height: 0 !important; } div { img { transform: rotate(-90deg); } } } } } } article { background: $secondary; color: $on-secondary; overflow: auto; padding: 1rem 27.1% 1rem 10.4%; width: 62.5%; @media (max-width: #{$bp-medium}) { padding: 1rem; width: calc(100% - 2rem); } } } a { color: $accent; text-decoration: none; } // Docs specific typography .doc-typography { $code: #101010; $on-code: #fff; $blockquote: #181818; $on-blockquote: #ccc; $margin: 0 0 .5rem; table { text-align: left; } blockquote { background: rgba(255, 255, 255, .125); border-radius: 4px; margin: 0; padding: .5rem .7rem; p { margin: 0; } } img { max-width: 100%; } pre, code { background: $code !important; } blockquote { background: $blockquote; color: $on-blockquote; } code { padding: .125rem .25rem; } blockquote, code { border-radius: $border-radius; } }