Code Inbox

style.css 84 lines

Files · 8
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384.record-page .thread {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.record-page .thread:last-child {
  border: 0;
}
.record-page .thread-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  font-family: monospace;
  font-size: 17px;
}
.record-page .thread h3 button {
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
}
.record-page .thread .repo {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.record-page .thread .repo .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.record-page .thread .card-meta {
  margin-top: 9px;
  gap: 7px;
}
.record-page .thread-read h3 button {
  color: var(--text-secondary);
  font-weight: 500;
}
.record-page .thread-aside {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}
.record-page .thread > div {
  min-width: 0;
}
.record-page .thread h3 button {
  display: block;
  max-width: 100%;
  min-height: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .record-page .thread {
    grid-template-columns: 28px 1fr;
    padding: 16px;
  }
  .record-page .thread-aside {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
}