import * as React from 'react'; import styled from 'styled-components'; interface ListItemProps { children: string; } interface OrderedListProps { marginBottom?: string; } export const UnorderedList = styled.ul` list-style-type: disc; padding-left: 20px; `; export const OrderedList = styled.ol` list-style-type: decimal; padding-left: 20px; margin-bottom: ${props => props.marginBottom}; `; const Li = styled.li` padding: 0 0 0.8rem 0.2rem; position: relative; line-height: 1.4rem; text-align: left; font-weight: 300; opacity: 0.5; @media (max-width: 768px) { font-size: 15px; } `; export const ListItem = (props: ListItemProps) =>
  • {props.children}
  • ;