Jump to content

Portal:Beginner/styles.css

From No Subject
/* ===============================
   PORTAL CONTAINER
================================ */
.ns-portal-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ===============================
   CARD BASE
================================ */
.ns-card {
  background: #ffffff;
  border: 1px solid #e3e6e8;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}

.ns-card p {
  color: #4b5563;
}

.ns-card h1,
.ns-card h2,
.ns-card h3 {
  margin-top: 0;
}

/* ===============================
   HERO
================================ */
.ns-hero {
  background: #e9f1f7;
  border: none;
}

.ns-hero h1 {
  font-size: 1.6em;
}

/* ===============================
   PRIMARY PATH
================================ */
.ns-primary {
  border-left: 6px solid #3b82f6;
}

.ns-cta {
  font-weight: 600;
  margin-top: 1rem;
}

/* ===============================
   PHASE STACK
================================ */
.ns-phase-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ns-phase {
  padding: 1rem 1.25rem;
}

/* ===============================
   CONCEPT GRID
================================ */
.ns-concepts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.ns-concept {
  background: #eaf4ec;
}

/* ===============================
   BADGES
================================ */
.ns-badge {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 600;
  padding: 0.15em 0.5em;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.ns-beginner {
  background: #c7e8d2;
}

/* ===============================
   REASSURANCE
================================ */
.ns-reassure {
  background: #f6f3e8;
  border-style: dashed;
}

/* ===============================
   EXIT PATHS
================================ */
.ns-exit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 640px) {
  .ns-portal-container {
    padding: 1.5rem 1rem 2.5rem;
  }
}