123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- @import "variables";
- body {
- display: flex;
- flex-flow: row nowrap;
- align-items: stretch;
- justify-content: space-between;
- @media (max-width: $mobile-breakpoint) {
- flex-flow: column nowrap;
- }
- }
- #sidebar {
- @media (min-width: $mobile-breakpoint) {
- flex: 0 0 auto;
- height: 100vh;
- }
- @media (max-width: $mobile-breakpoint) {
- flex: 1 0 auto;
- width: 100vw;
- }
- }
- #sidebar-links {
- display: flex;
- flex-flow: column nowrap;
- justify-content: space-between;
- align-items: stretch;
- @media (max-width: $mobile-breakpoint) {
- flex-flow: row nowrap;
- }
- }
- .post-header {
- h1 {
- margin-top: 0;
- }
- .byline {
- display: flex;
- justify-content: space-between;
- margin-bottom: 1.375rem;
- @media (max-width: $tablet-breakpoint) {
- margin-bottom: 1.375rem;
- }
- @media (max-width: $mobile-breakpoint) {
- margin-bottom: 1.25rem;
- }
- }
- }
- #main {
- flex: 1 1 0;
- @media (min-width: $mobile-breakpoint) {
- height: 100vh;
- overflow-y: scroll;
- }
- }
- #prev-next {
- display: flex;
- align-items: center;
- flex-flow: row nowrap;
- justify-content: space-between;
- .prev, .next {
- display: flex;
- align-items: center;
- flex-flow: row nowrap;
- flex: 1 1 50%;
- fill: currentColor;
- text-decoration: none;
- .icon {
- flex: 0 0 1em;
- height: 1em;
- width: 1em;
- }
- .nav-text {
- flex: 1 1 0;
- margin-left: 1em;
- margin-right: 1em;
- text-align: center;
- }
- }
- }
|