Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

7.9 KB
Raw Blame
/* Wiki landing and its sub-pages, from the Wiki redesign. */
.wiki-landing .workspace-content {
  padding-bottom: 42px;
}
.landing-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--app-ink);
}
/* The tab row carries the page spacing the Library heading would. */
.wiki-home-header {
  margin-bottom: 28px;
}
.wiki-home-header .workspace-file-tabs {
  margin-bottom: 0;
}
.landing-notices:not(:empty) {
  margin-top: 12px;
}
.wiki-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--app-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.wiki-back:hover {
  color: var(--app-ink);
}
.landing-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.landing-section-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--app-ink);
}
.section-count {
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--app-surface-soft);
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 500;
  vertical-align: middle;
}
.landing-view-all {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--app-muted);
  font-size: 14px;
  font-weight: 500;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.landing-view-all:hover {
  background: var(--app-hover);
  color: var(--app-ink);
}
.landing-empty {
  margin-top: 12px;
  color: var(--app-muted);
  font-size: 14px;
}
.landing-grid {
  display: flex;
  align-items: stretch;
  gap: 44px;
  margin-top: 8px;
}
.landing-col {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 32px;
}
.landing-col-left {
  flex: 1.8;
}
.landing-col-right {
  flex: 1;
}
/* Sections take their content's height: real counts vary, so neither
   squeezing a section under its cards nor stretching cards to fill. */
.landing-section {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
}

/* Daily report card, shared with the Daily report timeline. */
.daily-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-top: 12px;
}
.daily-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 14px;
  background: var(--app-surface);
  box-shadow: var(--town-shadow-sm);
  cursor: pointer;
  transition:
    box-shadow 0.18s ease,
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.daily-card:hover {
  box-shadow: var(--town-shadow-md);
  transform: translateY(-1px);
}
.daily-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 500;
}
.daily-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.daily-card-summary {
  margin-top: 10px;
  color: var(--app-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.daily-card-group {
  margin-top: 14px;
}
.daily-card-group:last-child {
  margin-top: auto;
  padding-top: 16px;
}
.daily-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.daily-card-group ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.daily-card-group li {
  position: relative;
  padding-left: 13px;
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1.55;
}
.daily-card-group li::before {
  position: absolute;
  top: 8px;
  left: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--app-border-strong);
  content: "";
}
.daily-card-group p {
  margin: 0;
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1.55;
}
/* Projects, People and Companies cards. */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-top: 12px;
}
.project-card,
.person-card,
.company-card {
  background: var(--app-surface);
  box-shadow: var(--town-shadow-sm);
  cursor: pointer;
  transition:
    box-shadow 0.18s ease,
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover,
.person-card:hover,
.company-card:hover {
  box-shadow: var(--town-shadow-md);
  transform: translateY(-1px);
}
.project-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 14px;
}
.project-card-title {
  color: var(--app-ink);
  font-size: 14px;
  font-weight: 600;
}
.project-card-desc {
  flex: 1;
  margin-top: 6px;
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1.55;
}
.project-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
}
.project-card-time {
  color: var(--app-muted);
  font-size: 12px;
}
.project-involvers {
  display: flex;
  align-items: center;
}
.project-involver {
  display: flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  margin-left: -6px;
  border: 2px solid var(--app-surface);
  border-radius: 50%;
  color: #5c5a52;
  font-size: 9px;
  font-weight: 600;
}
.project-involver:first-child {
  margin-left: 0;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border-radius: 14px;
}
.person-avatar {
  display: flex;
  width: 33px;
  height: 33px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
}
.person-name {
  color: var(--app-ink);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.person-role {
  margin-top: -4px;
  color: var(--app-muted);
  font-size: 12px;
  text-align: center;
}
.companies-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.company-card {
  display: flex;
  min-height: 55px;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 12px;
}
.company-icon {
  display: flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
}
.company-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.company-name {
  color: var(--app-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.company-desc {
  color: var(--app-muted);
  font-size: 12px;
  line-height: 1.3;
}

/* A collection page: Back, title, count and a two-column list. */
.wiki-entity-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-surface);
  transition: border-color 0.15s ease;
}
.wiki-entity-card:hover {
  border-color: var(--app-border-strong);
}

@media (max-width: 860px) {
  .landing-grid {
    flex-direction: column;
  }
  .daily-list,
  .projects-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .daily-card,
  .project-card,
  .person-card,
  .company-card {
    transition: none;
  }
  .daily-card:hover,
  .project-card:hover,
  .person-card:hover,
  .company-card:hover {
    transform: none;
  }
}

/* Generated reports run long; the card keeps the designed shape. */
.daily-card-summary,
.daily-card-group li,
.daily-card-group p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}
.daily-card-summary {
  -webkit-line-clamp: 3;
}
.daily-card-group li,
.daily-card-group p {
  -webkit-line-clamp: 2;
}

/* Card descriptions keep a fixed number of lines, so a long description never
   stretches a card, whether the page is published or still being written. */
.project-card-desc,
.person-role,
.company-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}
.project-card-desc {
  -webkit-line-clamp: 3;
}
.person-role,
.company-desc {
  -webkit-line-clamp: 2;
}