style.css 1.16 KB
Newer Older
Cole Bemis's avatar
Cole Bemis committed
1 2 3 4 5 6 7 8 9
.rubik {
  font-family: "Rubik", sans-serif;
}

.font-smoothing {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

10
.bg-accent {
Cole Bemis's avatar
Cole Bemis committed
11
  background-color: #0055ff;
12 13
}

Cole Bemis's avatar
Cole Bemis committed
14
.button {
Cole Bemis's avatar
Cole Bemis committed
15 16
  display: inline-block;
  padding: 1rem 2rem;
Cole Bemis's avatar
Cole Bemis committed
17 18
  font-size: 1rem;
  line-height: 1.25;
Cole Bemis's avatar
Cole Bemis committed
19 20 21 22
  text-align: center;
  text-decoration: none;
}

Cole Bemis's avatar
Cole Bemis committed
23 24
.lh-none {
  line-height: 0;
Cole Bemis's avatar
Cole Bemis committed
25 26
}

Cole Bemis's avatar
Cole Bemis committed
27 28 29 30
.ellipse {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
Cole Bemis's avatar
Cole Bemis committed
31 32
}

Cole Bemis's avatar
Cole Bemis committed
33 34
.svg [stroke] {
  stroke: currentColor;
Cole Bemis's avatar
Cole Bemis committed
35 36
}

Cole Bemis's avatar
Cole Bemis committed
37 38
.svg [fill]:not([fill=none]) {
  fill: currentColor;
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
}

.icon-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 -0.5rem -1rem;
}

.icon-grid li {
  width: 100%;
  padding: 0 0.5rem 1rem;
}

/* medium breakpoint */
@media (min-width: 30em) {
  .icon-grid li {
    width: 50%;
  }
}

/* large breakpoint */
@media (min-width: 60em) {
  .icon-grid li {
    width: 25%;
  }
}

/* if supported, use grid layout  */
@supports (display: grid) {
  .icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    grid-gap: 1rem;
    margin: 0;
  }

  /* override default styles */
  .icon-grid li {
    width: 100%;
    padding: 0;
  }
}