MediaWiki:Common.css
Görünüm
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;
}
/* Sağ kenarda sabit duran mobil uyumlu kutu */
#recent-right-sidebar {
position: fixed;
top: 100px;
right: 0;
width: 240px;
max-height: 80vh;
overflow-y: auto;
background: #f8f9fa;
border-left: 2px solid #ccc;
border-top: 2px solid #ccc;
border-bottom: 2px solid #ccc;
box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
z-index: 9999;
padding: 10px;
box-sizing: border-box;
font-family: sans-serif;
}
.recent-header {
font-weight: bold;
font-size: 16px;
text-align: center;
margin-bottom: 8px;
color: #333;
}
.recent-list {
list-style: none;
padding: 0;
margin: 0;
}
.recent-list li {
margin-bottom: 6px;
font-size: 14px;
}
.recent-list li a {
color: #007bff;
text-decoration: none;
}
.recent-list li a:hover {
text-decoration: underline;
}
/* Mobil uyumlu: ekran daralınca kutunun genişliği azalır */
@media screen and (max-width: 768px) {
#recent-right-sidebar {
width: 85%;
right: 0;
top: auto;
bottom: 0;
border-radius: 12px 12px 0 0;
}
}