Skip to main content

examples/basic/assets/styles.css

:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  background: #10131a;
  color: #f5f7fb;
}

.site-header,
.site-footer {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  background: #171b25;
}

.brand,
a {
  color: #8bd3ff;
}

nav {
  display: flex;
  gap: 1rem;
}

.page,
.hero {
  width: min(70ch, calc(100% - 2rem));
  margin: 4rem auto;
}

.hero {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
}

h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1;
}

.post-list {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #2d3445;
}

.post-list article,
.post {
  border-radius: 1rem;
  background: #171b25;
  padding: 1.25rem;
}

.post-meta,
.eyebrow {
  color: #b7c3d8;
}

.pill {
  display: inline-flex;
  margin: 0.25rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid #8bd3ff;
  border-radius: 999px;
  color: #8bd3ff;
}

.button {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #8bd3ff;
  color: #10131a;
  font-weight: 700;
  text-decoration: none;
}

.asset-status {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: #23304a;
  color: #f5f7fb;
}

.island-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.island-card {
  padding: 1rem;
  border: 1px solid #2d3445;
  border-radius: 1rem;
}

.island-button {
  cursor: pointer;
}