Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can — learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company 👇

1.1 KB
Raw Blame
// ©AngelaMos | 2026
// EarthquakePanel.module.scss

.table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.table thead th {
  font-size: var(--type-label);
  letter-spacing: var(--letter-spacing-label);
  text-transform: uppercase;
  color: var(--fg-3);
  text-align: left;
  padding: var(--row-py) var(--row-px);
  border-bottom: 1px solid var(--fg-4);
  font-weight: 400;
}

.table tbody td {
  padding: var(--row-py) var(--row-px);
  font-size: var(--type-body);
  color: var(--fg-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table tbody tr:hover {
  background: var(--bg-row-hover);
}

.mag {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  width: 16%;
  text-align: right;
}

.place {
  width: 64%;
  color: var(--fg-1);
}

.ago {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--fg-3);
  width: 20%;
  text-align: right;
}

.flash {
  animation: row-flash 600ms ease-out;
}

@keyframes row-flash {
  0% {
    background: var(--fg-4);
  }

  100% {
    background: transparent;
  }
}