Jump to content

User:Fen/Portals/UserGuides/styles.css

From Consumer Rights Wiki
.guides-portal-wrapper {
  font-family: "Segoe UI", "Roboto", sans-serif;
  background: #f9fbfc;
  color: #1b1f23;
  padding: 2em;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.guides-header {
  background: linear-gradient(to right, #2a70b8, #2a9b6e);
  color: #ffffff;
  padding: 1.6em;
  border-radius: 6px;
  margin-bottom: 2em;
  box-shadow: 0 0 12px rgba(42, 112, 184, 0.3);
}
.guides-title {
  font-size: 2.2em;
  font-weight: 800;
}
.guides-subtitle {
  font-size: 1.1em;
  font-style: italic;
  margin-top: 0.3em;
  color: #eaf4ff;
}

/* Grid */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
}

/* Card */
.guides-card {
  background: #ffffff;
  border: 1px solid #dde6f0;
  border-left: 6px solid #34b76c;
  border-radius: 5px;
  padding: 1.3em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.guides-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.guides-card.wide {
  grid-column: 1 / -1;
}

/* Title */
.guides-card-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #2560a8;
  margin-bottom: 0.4em;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.3em;
}

/* Body */
.guides-card-body {
  font-size: 0.96em;
  color: #333;
  line-height: 1.6;
}
.guides-card-body ul {
  padding-left: 1.2em;
}
.guides-card-body li {
  margin-bottom: 0.5em;
}

/* Centered */
.guides-card-body.center {
  text-align: center;
}

/* Category tags */
.guides-card-body a[href*="Category:"] {
  display: inline-block;
  background: #eef5fb;
  border: 1px solid #c8ddee;
  padding: 0.3em 0.7em;
  font-size: 0.9em;
  font-weight: 600;
  color: #2560a8;
  border-radius: 6px;
  margin: 0.2em;
  text-decoration: none;
}
.guides-card-body a[href*="Category:"]:hover {
  background: #dceeff;
  color: #0f3c6c;
}

/* Links */
a:link,
a:visited {
  color: #2c6fcf;
  text-decoration: none;
}
a:hover {
  color: #0b3ea1;
  text-decoration: underline;
}