MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 422: Line 422:
}
}


/* ── Main page (gr-home) ─────────────────────────────────────────*/
/* ── Main page (gr-home) — card grid like reference site ─────────*/
.gr-home {
.gr-home {
   max-width: 820px;
   max-width: 1080px;
   margin: 0 auto;
   margin: 0 auto;
   padding: 0;
   padding: 0;
}
}
.gr-home-group { margin-bottom: 32px; }
 
.gr-home-group-title {
/* Page title — centred Sanskrit heading like reference */
.gr-home-page-title {
   font-family: 'Adishila', 'Noto Serif Devanagari', serif !important;
   font-family: 'Adishila', 'Noto Serif Devanagari', serif !important;
   font-size: 1em !important;
  text-align: center;
   font-weight: 700;
   font-size: 1.8em;
   font-weight: 500;
   color: #1a2e40;
   color: #1a2e40;
   border: none !important;
   margin: 24px 0 32px;
  border-bottom: 2px solid #1a2e40 !important;
}
   width: 100%;
 
   padding-bottom: 4px;
/* Card grid — 3 columns like reference site */
   margin: 0 0 12px !important;
.gr-home-grid {
   line-height: 1.75;
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   margin-bottom: 32px;
}
}
.gr-home-section { margin-bottom: 16px; }
 
.gr-home-section-title {
/* Each section card */
   font-family: system-ui, -apple-system, sans-serif !important;
.gr-home-card {
   font-size: 0.78em;
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 18px 20px 20px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 360px;
}
 
/* Card section heading — centred, with red underline */
.gr-home-card-title {
   font-family: 'Adishila', 'Noto Serif Devanagari', serif !important;
   font-size: 1em;
   font-weight: 600;
   font-weight: 600;
   text-transform: uppercase;
  color: #1a2e40;
   letter-spacing: 0.07em;
   text-align: center;
   color: #e65100;
   padding-bottom: 10px;
   margin-bottom: 6px;
   margin-bottom: 12px;
   border-bottom: 1.5px solid #c0392b;
}
}
.gr-home-list {
 
/* List inside card */
.gr-home-card ol {
  margin: 0;
  padding-left: 1.4em;
   list-style: decimal;
   list-style: decimal;
  margin: 0 0 0 1.4em;
  padding: 0;
}
}
.gr-home-list li { font-size: 1em; line-height: 1.9; color: #333; }
 
.gr-home-list li a { color: #1a2e40; text-decoration: none; }
.gr-home-card li {
.gr-home-list li a:hover { color: #f57c00; }
  font-size: 0.95em;
.gr-home-list li a.new { color: #aaa; }
  line-height: 1.85;
.gr-home-note { font-size: 0.85em; color: #888; }
  color: #333;
}
 
.gr-home-card li a {
  color: #c0392b;
  text-decoration: none;
}
 
.gr-home-card li a:hover {
  text-decoration: underline;
}
 
/* Dimmed red links = pages not yet imported */
.gr-home-card li a.new {
  color: #c08080;
}
 
.gr-home-note {
  font-size: 0.82em;
  color: #888;
}
 
/* Section group headings (Sarvamoola, Teeka etc.) */
.gr-home-group-label {
  font-family: 'Adishila', 'Noto Serif Devanagari', serif !important;
  font-size: 1.1em;
  font-weight: 600;
  color: #1a2e40;
  text-align: center;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c0392b;
}
 


/* ── Modals ─────────────────────────────────────────────────────*/
/* ── Modals ─────────────────────────────────────────────────────*/
Line 505: Line 559:
   ════════════════════════════════════════════════════════════════*/
   ════════════════════════════════════════════════════════════════*/
.vector-header-container {
.vector-header-container {
   background: #1a2e40 !important;
   background: #b5451b !important;
   border-bottom: 1px solid rgba(255,255,255,0.08);
   border-bottom: 1px solid rgba(255,255,255,0.12);
}
}
.vector-header {
.vector-header {