MediaWiki:Common.css: Revizyonlar arasındaki fark
Görünüm
Değişiklik özeti yok |
Değişiklik özeti yok Etiket: Geri alındı |
||
| 91. satır: | 91. satır: | ||
#recent-pages-button { | #recent-pages-button { | ||
top: auto !important; | |||
bottom: 10px !important; | |||
} | |||
} | |||
#recent-home-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-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: bold; | |||
cursor: pointer; | |||
margin-bottom: 10px; | |||
} | |||
#recent-home-toggle ul { | |||
list-style: none; | |||
padding: 0; | |||
margin: 0; | |||
} | |||
#recent-home-toggle ul li { | |||
margin-bottom: 8px; | |||
} | |||
#recent-home-toggle ul li a { | |||
color: #007bff; | |||
text-decoration: none; | |||
} | |||
#recent-home-toggle ul li a:hover { | |||
text-decoration: underline; | |||
} | |||
#recent-home-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-home-toggle { | |||
width: 90% !important; | |||
top: auto !important; | |||
bottom: 10px !important; | |||
border-radius: 12px !important; | |||
} | |||
#recent-home-button { | |||
top: auto !important; | top: auto !important; | ||
bottom: 10px !important; | bottom: 10px !important; | ||
} | } | ||
} | } | ||
08.09, 18 Haziran 2025 tarihindeki hâli
/* 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;
}
}
#recent-home-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-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: bold;
cursor: pointer;
margin-bottom: 10px;
}
#recent-home-toggle ul {
list-style: none;
padding: 0;
margin: 0;
}
#recent-home-toggle ul li {
margin-bottom: 8px;
}
#recent-home-toggle ul li a {
color: #007bff;
text-decoration: none;
}
#recent-home-toggle ul li a:hover {
text-decoration: underline;
}
#recent-home-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-home-toggle {
width: 90% !important;
top: auto !important;
bottom: 10px !important;
border-radius: 12px !important;
}
#recent-home-button {
top: auto !important;
bottom: 10px !important;
}
}