MediaWiki:Common.css: Revizyonlar arasındaki fark
Görünüm
Değişiklik özeti yok Etiket: Geri alındı |
Değişiklik özeti yok |
||
| (Aynı kullanıcının aradaki diğer 10 değişikliği gösterilmiyor) | |||
| 7. satır: | 7. satır: | ||
} | } | ||
/* DynamicPageList gibi eklentilerin eklediği gizli kategorileri tamamen gizle */ | /* DynamicPageList gibi eklentilerin eklediği gizli kategorileri tamamen gizle */ | ||
.mw-hidden-cats, | /*.mw-hidden-cats, | ||
.catlinks { | .catlinks { | ||
display: none !important; | display: none !important; | ||
} */ | |||
body.page-Anasayfa div.catlinks { | |||
display: none !important; | |||
} | } | ||
#recent-pages-toggle { | |||
position: fixed; | |||
background | top: 50px; | ||
right: 0; | |||
background: #f5f5f5; | |||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
border-right: none; | |||
width: 280px; | |||
border-radius: 8px; | 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; | font-weight: bold; | ||
cursor: pointer; | |||
margin-bottom: 10px; | 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; | text-align: center; | ||
font-weight: 600; | |||
font-size: 16px; | |||
cursor: pointer; | |||
margin-bottom: 12px; | |||
color: #333; | color: #333; | ||
} | } | ||
#recent-home-toggle ul { | |||
list-style: none; | list-style: none; | ||
padding: 0; | padding: 0; | ||
| 37. satır: | 138. satır: | ||
} | } | ||
#recent-home-toggle ul li { | |||
margin-bottom: | margin-bottom: 10px; | ||
} | } | ||
#recent-home-toggle ul li a { | |||
color: # | color: #0066cc; | ||
text-decoration: none; | text-decoration: none; | ||
font-size: 15px; | |||
transition: color 0.2s; | |||
} | } | ||
#recent-home-toggle ul li a:hover { | |||
color: #004999; | |||
text-decoration: underline; | 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) { | @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; | |||
} | } | ||
} | } | ||
08.17, 18 Haziran 2025 itibarı ile sayfanın şu anki 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;
}
}
/* 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;
}
}