import styled from '@emotion/styled'; import { MQFablet } from '../media'; type ContentProps = { menuIsOpen?: boolean; }; export const ContentStyle = styled.div(({ menuIsOpen }) => { return ` padding: 1.5rem 1rem; width: 100%; overflow-x: hidden; border-right: 0.0625rem solid var(--border-color); .searchable-code { display: none; } > div { ${menuIsOpen ? 'min-width: 100vw;' : 'min-width: initial;'} ${MQFablet} { :not(#feedback-container) { min-width: initial; padding: 1.5rem 2rem 1.5rem 4rem; } } } a { & h2, & h3 { color: var(--font-color); } &:hover, & h2:hover, & h3:hover, & h4:hover { cursor: pointer; text-decoration: underline; } { cursor: pointer; text-decoration: underline; } } h1 { margin-top: 0.375rem; } h4 { margin-bottom: 0.5rem; margin-top: 1.25rem; } p { margin-bottom: 1rem; } #feedback-container p { margin-bottom: 0; } ul { margin-bottom: 1rem; li + li { margin-top: 0.25rem; } } .searchable-code { display: none; } amplify-authenticator { --container-height: auto; --container-display: inline; } `; }); export const ChapterTitleStyle = styled.h1` line-height: normal; margin-bottom: 0px; font-size: 1rem; text-transform: uppercase; color: var(--font-color-secondary); font-weight: bold; `;