Template:Main Page/styles.css: Difference between revisions

[checked revision][checked revision]
No edit summary
Tag: Reverted
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* ==================================================
/* ==============================================
   ANA KAPSAYICI
   FLEX KUTULAR VE BAŞLIKLAR
================================================== */
  ============================================== */
.sa-mainpage {
.mp-flex {
   max-width: 1200px;
   display: flex;
  margin: 0 auto;
   gap: 1rem;
  padding: 16px;
   flex-wrap: wrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
              Roboto, Inter, Arial, sans-serif;
   color: #202122;
   line-height: 1.6;
}
}


/* ==================================================
.mp-column {
  WIKIPEDIA TABLO HİSSİ
   flex: 1 1 30%;
================================================== */
  padding: 1rem;
.sa-box {
   border-radius: 12px;
   background-color: #ffffff;
   box-shadow: 0 3px 8px rgba(0,0,0,0.1);
   border: 1px solid #a2a9b1;
   background-color: #fff;
   padding: 16px;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s;
   margin-bottom: 16px;
}
}


/* ==================================================
.mp-column:hover {
  HERO / GİRİŞ
   transform: translateY(-5px);
================================================== */
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
.sa-hero {
   text-align: center;
}
}


.sa-title {
.mp-h2 {
   font-size: 2.2em;
   padding: 0.5rem 1rem;
   font-weight: 600;
   border-radius: 8px;
   margin: 0 0 8px;
  color: #fff;
   margin-bottom: 0.5rem;
  transition: background-color 0.3s;
}
}


.sa-tagline {
/* Başlık renkleri */
  font-size: 1em;
#mp-left .mp-h2  { background-color: #e7033f; }
  color: #54595d;
#mp-middle .mp-h2 { background-color: #0b1e1c; }
  margin: 0 0 12px;
#mp-right .mp-h2  { background-color: #082849; }
}
 
/* İstatistikler */
.sa-stats {
  font-size: 0.95em;
}


/* ==================================================
/* Responsive mobil */
  İKİ KOLON DÜZEN
@media (max-width: 875px) {
================================================== */
   .mp-column { flex: 1 1 100%; }
.sa-grid {
   display: table;
  width: 100%;
  border-spacing: 16px 0;
}
}


.sa-col {
/* ==============================================
   display: table-cell;
  NIGHT MODE - CLIENTPREF
   vertical-align: top;
  ============================================== */
  width: 50%;
html.skin-theme-clientpref-night .mp-column {
   background-color: #111;
   box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}
}


/* ==================================================
html.skin-theme-clientpref-night #mp-left .mp-h2   { background-color: #104437; border-color: #2f4d41; }
  BAŞLIKLAR
html.skin-theme-clientpref-night #mp-middle .mp-h2 { background-color: #882c43; border-color: #926c80; }
================================================== */
html.skin-theme-clientpref-night #mp-right .mp-h2  { background-color: #082849; border-color: #a3b0bf; }
.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 {
/* Hover efektleri night modda */
  font-size: 0.85em;
html.skin-theme-clientpref-night .mp-column:hover {
   color: #72777d;
   transform: translateY(-5px);
   font-weight: normal;
   box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}
}


/* ==================================================
/* ==============================================
   İÇERİK
   NIGHT MODE - OS PREFERENCES
================================================== */
  ============================================== */
.sa-content {
@media screen and (prefers-color-scheme: dark) {
  font-size: 0.95em;
   html.skin-theme-clientpref-os .mp-column {
}
    background-color: #111;
 
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
/* Float temizleme */
.sa-clearfix {
   clear: both;
}
 
/* ==================================================
  MEDYA
================================================== */
.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 {
   html.skin-theme-clientpref-os #mp-left .mp-h2  { background-color: #104437; border-color: #2f4d41; }
    display: block;
  html.skin-theme-clientpref-os #mp-middle .mp-h2 { background-color: #882c43; border-color: #926c80; }
    width: 100%;
   html.skin-theme-clientpref-os #mp-right .mp-h2  { background-color: #082849; border-color: #a3b0bf; }
   }


   .sa-title {
   html.skin-theme-clientpref-os .mp-column:hover {
     font-size: 1.8em;
     transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.6);
   }
   }
}
}