root.scss 2.12 KB
body {
  font-family: Helvetica, sans-serif;
	background: #eee;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h3 { font-weight: 300; }

h1 { color: #636363; }
hgroup {
	text-align:center;
	margin-top: 4em;
}
// Divs
.container {
  display: grid;
  grid-template-rows: 10vh auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 5vw;

  // div {
  //   border: red 1px solid;
  // }
}

.navbar {
  margin: -8px;
  grid-row: 1;
  grid-columns: 1/4;
}

.content {
  grid-row: 2;
  justify-self: strech;
}

.left {
  grid-column: 1;
}

.left.strech {
  justify-self: strech;
}

.left.center {
  justify-self: center;
}

.middle {
  grid-column: 2;
}

.right {
  grid-column: 3;
}

table {
  width: 100%;
  color: #808080;
  border-collapse: collapse;

  tr {
    border-bottom: 1px solid #c3c3c3;
  }

  td {
    font-size: 15px;
    line-height: 1.4;
    padding: 16px 0 16px 0;
  }
}

.upcoming {
  td {
    width: 33%;
  }
}

.recent {
  td {
    width: 20%;
  }
}

.results {
  td, th {
    width: 33%;
  }
}

.leaderboard {
  th {
    text-align: left;
  }

  td, th {
    width: 50%;
  }
}

// Bets
.bets {
  grid-template-columns: 2.5vw auto 2.5vw;
}

.pool-div {
  grid-row: 2;
  grid-column: 2;

  input.numeric {
    width: 80%;
  }
}

// Admin
.pools {
  grid-template-columns: 2.5vw auto 2.5vw;
}

.admin-index {
  grid-row: 2;
  grid-column: 2;

  th { text-align: left; }
}

.admin-pools {
  grid-row: 2;
  grid-column: 2;

  th { text-align: left; } 
}

input[type="submit"] {
  float: right;
  margin-top: 10px;
  background-color: #6200ee;
  color: white;
  padding: 10px;
  font-size: 18pt;
  font-weight: bold;
  border: none;
}

.pools {
  td {
    width: 16.67%
  }
}

.group-form {
  grid-row: 2;
  grid-column: 2;
}

// Media Queries
@media only screen and (max-width: 823px) {
  .container.application {
    grid-template-rows: 10vh 1fr 1fr 1fr !important;
    grid-template-columns: auto;
    grid-column-gap: 0px;
  }


  .left {
    grid-row: 2;
    grid-column: 1;
  }

  .middle {
    grid-row: 3;
    grid-column: 1;
  }

  .right {
    grid-row: 4;
    grid-column: 1;
  }

  form.login {
    max-width: 70vw;
  }
}