Jump to content

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

From Test Sanarchive
Created page with ".sa-mainpage { font-family: "Segoe UI", Arial, sans-serif; max-width: 1100px; margin: auto; padding: 20px; color: #222; } .sa-welcome-box { background: linear-gradient(120deg, #fbe4e4, #fff8f0); border-left: 6px solid #f36f6f; padding: 25px 30px; margin-bottom: 40px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); } .sa-welcome-box h1 { font-size: 2em; margin-bottom: 10px; } .sa-welcome-box p { font-size: 1.1em; line-height:..."
 
No edit summary
Line 1: Line 1:
/* Genel ana sayfa stili */
.sa-mainpage {
.sa-mainpage {
   font-family: "Segoe UI", Arial, sans-serif;
  max-width: 1200px;
   max-width: 1100px;
  margin: 0 auto;
   margin: auto;
   font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
   color: #202122;
   line-height: 1.6;
   padding: 20px;
   padding: 20px;
   color: #222;
   display: flex;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
  background-color: #f9f9f9;
}
}


.sa-welcome-box {
/* Ortak kutu stili (Wikipedia style) */
   background: linear-gradient(120deg, #fbe4e4, #fff8f0);
.mp-box {
   border-left: 6px solid #f36f6f;
   background-color: #ffffff;
   padding: 25px 30px;
   border: 1px solid #a2a9b1;
  margin-bottom: 40px;
   border-radius: 4px;
   border-radius: 10px;
   padding: 15px;
   box-shadow: 0 4px 12px rgba(0,0,0,0.08);
   box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  box-sizing: border-box;
}
}


.sa-welcome-box h1 {
/* Başlık stili */
   font-size: 2em;
.mp-h2 {
   font-size: 1.3rem;
   margin-bottom: 10px;
   margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #202122;
}
}


.sa-welcome-box p {
/* İçerik kutusu stili */
   font-size: 1.1em;
.mp-contains-float {
  line-height: 1.5;
   font-size: 1rem;
}
}


.sa-section-header {
/* Listeler için */
   display: flex;
.mp-contains-float ul {
  align-items: center;
   margin: 0;
   margin-bottom: 15px;
   padding-left: 20px;
}
}


.sa-section-header h2 {
.mp-contains-float li {
   font-size: 1.5em;
   margin-bottom: 6px;
  margin: 0 0 0 10px;
  color: #b03a2e;
}
}


.sa-section-icon {
/* Responsive: Yan yana kutular */
   width: 30px;
#mp-left, #mp-right {
  height: 30px;
   flex: 1 1 48%;
}
}


.sa-featured-section,
#mp-bottom-left, #mp-bottom-right {
.sa-onthisday-section,
   flex: 1 1 48%;
.sa-news-section,
.sa-dyk-section {
   background: #fff;
  border-radius: 8px;
  margin-bottom: 30px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
}


.sa-section-content ul {
/* Welcome kutusu geniş olsun */
   padding-left: 20px;
#mp-upper {
   flex: 1 1 100%;
  margin-bottom: 20px;
  background-color: #f0f8ff;
  border-color: #8ac6ff;
}
}


.sa-read-more a {
/* İkonlar boyutlandırma */
   text-decoration: none;
.mp-h2 img, .mp-h2 svg {
   color: #b03a2e;
   height: 30px;
  font-weight: bold;
   width: 30px;
  transition: color 0.2s ease;
}
}


.sa-read-more a:hover {
/* Küçük ekranlarda kutular alt alta */
   color: #e74c3c;
@media (max-width: 800px) {
   #mp-left, #mp-right, #mp-bottom-left, #mp-bottom-right {
    flex: 1 1 100%;
  }
}
}

Revision as of 17:34, 1 February 2026

/* Genel ana sayfa stili */
.sa-mainpage {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #202122;
  line-height: 1.6;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
  background-color: #f9f9f9;
}

/* Ortak kutu stili (Wikipedia style) */
.mp-box {
  background-color: #ffffff;
  border: 1px solid #a2a9b1;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

/* Başlık stili */
.mp-h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #202122;
}

/* İçerik kutusu stili */
.mp-contains-float {
  font-size: 1rem;
}

/* Listeler için */
.mp-contains-float ul {
  margin: 0;
  padding-left: 20px;
}

.mp-contains-float li {
  margin-bottom: 6px;
}

/* Responsive: Yan yana kutular */
#mp-left, #mp-right {
  flex: 1 1 48%;
}

#mp-bottom-left, #mp-bottom-right {
  flex: 1 1 48%;
}

/* Welcome kutusu geniş olsun */
#mp-upper {
  flex: 1 1 100%;
  margin-bottom: 20px;
  background-color: #f0f8ff;
  border-color: #8ac6ff;
}

/* İkonlar boyutlandırma */
.mp-h2 img, .mp-h2 svg {
  height: 30px;
  width: 30px;
}

/* Küçük ekranlarda kutular alt alta */
@media (max-width: 800px) {
  #mp-left, #mp-right, #mp-bottom-left, #mp-bottom-right {
    flex: 1 1 100%;
  }
}