Template:Main Page/styles.css

Revision as of 20:21, 31 January 2026 by Aurelianus (talk | contribs)
/* ==================================================
   ANA KAPSAYICI
================================================== */
.sa-mainpage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Inter, Arial, sans-serif;
  color: #202122;
  line-height: 1.6;
}

/* ==================================================
   WIKIPEDIA TABLO HİSSİ
================================================== */
.sa-box {
  background-color: #ffffff;
  border: 1px solid #a2a9b1;
  padding: 16px;
  margin-bottom: 16px;
}

/* ==================================================
   HERO / GİRİŞ
================================================== */
.sa-hero {
  text-align: center;
}

.sa-title {
  font-size: 2.2em;
  font-weight: 600;
  margin: 0 0 8px;
}

.sa-tagline {
  font-size: 1em;
  color: #54595d;
  margin: 0 0 12px;
}

.sa-stats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sa-stats li {
  display: inline;
  font-size: 0.95em;
}

.sa-stats li::after {
  content: " · ";
  font-weight: bold;
}

.sa-stats li:last-child::after {
  content: "";
}

/* ==================================================
   İKİ KOLON DÜZEN (MP-UPPER)
================================================== */
.sa-grid {
  display: table;
  width: 100%;
  border-spacing: 16px 0;
}

.sa-col {
  display: table-cell;
  vertical-align: top;
  width: 50%;
}

/* ==================================================
   BAŞLIKLAR
================================================== */
.sa-box h2 {
  font-size: 1.1em;
  font-weight: bold;
  border: 1px solid #a2a9b1;
  background-color: #f8f9fa;
  padding: 4px 8px;
  margin: 0 0 8px;
}

.sa-later {
  font-size: 0.85em;
  color: #72777d;
  font-weight: normal;
}

/* ==================================================
   İÇERİK
================================================== */
.sa-content {
  font-size: 0.95em;
}

/* FLOAT TEMİZLEME (TemplateStyles-safe) */
.sa-clearfix {
  clear: both;
}

/* ==================================================
   MEDYA (POTD)
================================================== */
.sa-media img,
.sa-media video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==================================================
   BANNER
================================================== */
.sa-banner {
  text-align: center;
}

/* ==================================================
   MOBİL
================================================== */
@media (max-width: 800px) {
  .sa-grid {
    display: block;
  }

  .sa-col {
    display: block;
    width: 100%;
  }

  .sa-title {
    font-size: 1.8em;
  }
}