text: import { css } from '@emotion/core'
  import theme from '../../config/theme'
  import typography, { fonts } from '../lib/typography'
  
  const reset = css`
  form {
    margin: 0;
  }
  ul, ol {
    list-style-position: inside;
    margin-left: 0;
    font-size: ${typography.baseFontSize};
  }
  *,
    *:before,
    *:after {
      box-sizing: inherit;
    }
    html,
    body {
      font-family: ${fonts.regular}, sans-serif;
      font-style: normal;
      padding: 0;
      margin: 0;
    }
    html {
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
      overflow-y: auto !important;
      box-sizing: border-box;
      -ms-overflow-style: scrollbar;
      -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  
    body {
      color: ${theme.colors.body_color};
      background-color: ${theme.colors.bg_color};
    }
    ::selection {
      color: ${theme.colors.white};
      background-color: ${theme.colors.link_color};
    }
    
    a {
      color: ${theme.colors.link_color};
      transition: all 0.3s ease-in-out;
      text-decoration: none;
      &:hover,
      &:focus {
        color: ${theme.colors.link_color_hover};
      }
    
    }
    
    a:not([href]):not([tabindex]) {
      color: inherit;
      text-decoration: none;
      &:hover,
      &:focus {
        color: inherit;
        text-decoration: none;
      }
      &:focus {
        outline: 0;
      }
    }
  
    blockquote {
      border-left: 5px solid ${theme.colors.link_color};
      padding-left: 1rem !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      font-style: italic;
      p {
        line-height: 1.3 !important;
      }
    }
    [tabindex='-1']:focus {
      outline: none !important;
    }
    pre {
      margin-top: 0;
      margin-bottom: 1rem;
      overflow: auto;
      white-space: pre;
    }
    figure {
      margin: 0 0 1rem 0;
    img {
      vertical-align: middle;
    }
    [role='button'] {
      cursor: pointer;
    }
    a,
    area,
    button,
    [role='button'],
    input,
    label,
    select,
    summary,
    textarea {
      touch-action: manipulation;
    }
    table {
      border-collapse: collapse;
      background-color: ${theme.colors.bg_color};
    }
    caption {
      padding-top: 1.5rem;
      padding-bottom: 1.5rem;
      color: ${theme.colors.body_color};
      text-align: center;
      caption-side: bottom;
    }
    th {
      text-align: left;
    }
    label {
      display: inline-block;
      margin-bottom: 0.5rem;
    }
    button:focus {
      outline: 1px dotted;
      outline: 5px auto -webkit-focus-ring-color;
    }
    input,
    button,
    select,
    textarea {
      line-height: inherit;
    }
    input[type='date'],
    input[type='time'],
    input[type='datetime-local'],
    input[type='month'] {
      -webkit-appearance: listbox;
    }
    textarea {
      resize: vertical;
    }
    fieldset {
      min-width: 0;
      padding: 0;
      margin: 0;
      border: 0;
    }
    legend {
      display: block;
      width: 100%;
      padding: 0;
      margin-bottom: 0.5rem;
      font-size: 1.5rem;
      line-height: inherit;
    }
    input[type='search'] {
      -webkit-appearance: none;
    }
    output {
      display: inline-block;
    }
    svg:not(:root) {
      overflow: hidden;
      vertical-align: middle;
    }
    [hidden] {
      display: none !important;
    }
  
  `
  
  export default reset
  