İçeriğe atla

MediaWiki:Common.css

islami lugat,islami site,islami sözlük sitesinden
08.17, 18 Haziran 2025 tarihinde Du0s (mesaj | katkılar) tarafından oluşturulmuş 241 numaralı sürüm
(fark) ← Önceki sürüm | Güncel sürüm (fark) | Sonraki sürüm → (fark)

Not: Yayımladıktan sonra değişiklikleri görmeniz için tarayıcınızın önbelleğini temizlemeniz gerekebilir.

  • Firefox / Safari: Shift tuşuna basılıyken Yeniden Yükle'ye tıklayın ya da Ctrl-F5 ya da Ctrl-R tıklayın (Mac için ⌘-R)
  • Google Chrome: Ctrl-Shift-R'ye basın. (Mac için ⌘-Shift-R)
  • Edge: Ctrl basılıyken Yenile'ye tıklayın ya da Ctrl-F5'e basın.
/* Buraya konulacak CSS kodu tüm temalarda etkin olur */
.responsive-banner {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* DynamicPageList gibi eklentilerin eklediği gizli kategorileri tamamen gizle */
/*.mw-hidden-cats,
.catlinks {
    display: none !important;
} */
body.page-Anasayfa div.catlinks {
  display: none !important;
}
#recent-pages-toggle {
  position: fixed;
  top: 50px;
  right: 0;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-right: none;
  width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: -2px 0 6px rgba(0,0,0,0.1);
  z-index: 9999;
  font-family: sans-serif;
  padding: 10px;
  border-radius: 8px 0 0 8px;
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%); /* Başlangıçta kapalı */
}

#recent-pages-toggle.closed {
  transform: translateX(100%);
}

#recent-pages-toggle:not(.closed) {
  transform: translateX(0);
}

#recent-pages-toggle #recent-pages-header {
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
}

#recent-pages-toggle ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#recent-pages-toggle ul li {
  margin-bottom: 8px;
}

#recent-pages-toggle ul li a {
  color: #007bff;
  text-decoration: none;
}

#recent-pages-toggle ul li a:hover {
  text-decoration: underline;
}

#recent-pages-button {
  position: fixed;
  top: 50px;
  right: 0;
  z-index: 10000;
  background: #007bff;
  border: none;
  color: white;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 8px 0 0 8px;
  font-weight: bold;
  font-family: sans-serif;
}

@media screen and (max-width: 768px) {
  #recent-pages-toggle {
    width: 90% !important;
    top: auto !important;
    bottom: 10px !important;
    border-radius: 12px !important;
  }

  #recent-pages-button {
    top: auto !important;
    bottom: 10px !important;
  }
}
/* home */
#recent-home-toggle {
  position: fixed;
  top: 50px;
  right: 0;
  background: #ffffff;
  border: 1px solid #ddd;
  border-right: none;
  width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  padding: 12px;
  border-radius: 12px 0 0 12px;
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%);
}

#recent-home-toggle.closed {
  transform: translateX(100%);
}

#recent-home-toggle:not(.closed) {
  transform: translateX(0);
}

#recent-home-toggle #recent-home-header {
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 12px;
  color: #333;
}

#recent-home-toggle ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#recent-home-toggle ul li {
  margin-bottom: 10px;
}

#recent-home-toggle ul li a {
  color: #0066cc;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

#recent-home-toggle ul li a:hover {
  color: #004999;
  text-decoration: underline;
}

#recent-home-button {
  position: fixed;
  top: 50px;
  right: 0;
  z-index: 10000;
  background: #0066cc;
  border: none;
  color: white;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 12px 0 0 12px;
  font-weight: 600;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}

#recent-home-button:hover {
  background: #004999;
}

@media screen and (max-width: 768px) {
  #recent-home-toggle {
    width: 90% !important;
    top: auto !important;
    bottom: 10px !important;
    border-radius: 12px !important;
  }

  #recent-home-button {
    top: auto !important;
    bottom: 10px !important;
  }
}