Skip to content
Snippets Groups Projects
Select Git revision
  • b9866cee3260f72cad821329c6d2d1e60c6fb053
  • main default protected
2 results

index.css

Blame
  • Forked from SOFT Core / SOFT 260 / React Redux Starter Code
    This fork has diverged from the upstream repository.
    jackmnolley's avatar
    jackmnolley authored
    7c39f6b8
    History
    index.css 717 B
    :root {
      /* Colors */
      --letterbox-color: rgba(0 0 0 / 100%);
      --app-background-color: rgba(239 239 239 / 100%);
      --font-color: rgba(0 0 0 / 100%);
    
      /* Sizes */
      --minimum-app-size: 300px;
    }
    
    body {
      margin: 0;
      font-family: sans-serif;
      color: var(--font-color);
    }
    
    #root {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: var(--letterbox-color);
    }
    
    #portrait {
      position: relative;
      margin: auto;
      min-width: var(--minimum-app-size);
      min-height: var(--minimum-app-size);
      width: 100%;
      height: 100%;
      max-width: 62.5vh;
      background: var(--app-background-color);
      overflow: hidden;
      transform: scale(1);
    }
    
    button {
      -webkit-tap-highlight-color: transparent;
    }