MediaWiki:Common.css: Revizyonlar arasındaki fark
MediaWiki arayüz sayfası
More actions
"→Buraya konulacak CSS kodu tüm temalarda etkin olur: →Popüler oyun wikileri listesine kart görünümü: body .mw-parser-output > ul.populer-wikis { display: flex; gap: 15px; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; } body .mw-parser-output > ul.populer-wikis > li { flex: 0 0 220px; background: #f8f8f8; border-radius: 10px; box-shadow: 0 0 8px rgb(0 0 0 / 0.1); scroll-snap-align: star..." içeriğiyle yeni sayfa oluşturdu |
Değişiklik özeti yok |
||
| 32. satır: | 32. satır: | ||
margin-top: 10px; | margin-top: 10px; | ||
} | } | ||
<!-- Citizen Teması İçin Uyumlu CSS --> | |||
<style> | |||
.home-container { | |||
font-family: 'Segoe UI', sans-serif; | |||
padding: 20px; | |||
} | |||
.section { | |||
margin-bottom: 30px; | |||
} | |||
.section h2 { | |||
font-size: 22px; | |||
border-bottom: 2px solid #5c6bc0; | |||
padding-bottom: 5px; | |||
margin-bottom: 15px; | |||
color: #2c3e50; | |||
} | |||
.slider-box { | |||
display: flex; | |||
overflow-x: auto; | |||
gap: 10px; | |||
padding: 10px 0; | |||
scroll-behavior: smooth; | |||
} | |||
.card { | |||
min-width: 200px; | |||
background-color: #f0f4ff; | |||
border: 1px solid #ccd; | |||
border-radius: 8px; | |||
padding: 12px; | |||
text-align: center; | |||
white-space: nowrap; | |||
flex-shrink: 0; | |||
box-shadow: 2px 2px 5px rgba(0,0,0,0.1); | |||
transition: transform 0.2s; | |||
} | |||
.card:hover { | |||
transform: scale(1.05); | |||
} | |||
.card a { | |||
text-decoration: none; | |||
font-weight: bold; | |||
color: #2c3e50; | |||
} | |||
.welcome-box { | |||
background-color: #eef; | |||
border: 1px solid #ccd; | |||
border-radius: 10px; | |||
padding: 20px; | |||
font-size: 16px; | |||
line-height: 1.6; | |||
color: #333; | |||
} | |||
</style> | |||
01.33, 24 Temmuz 2025 tarihindeki hâli
/* Buraya konulacak CSS kodu tüm temalarda etkin olur */
/* Popüler oyun wikileri listesine kart görünümü */
body .mw-parser-output > ul.populer-wikis {
display: flex;
gap: 15px;
padding: 0;
list-style: none;
overflow-x: auto;
scroll-snap-type: x mandatory;
}
body .mw-parser-output > ul.populer-wikis > li {
flex: 0 0 220px;
background: #f8f8f8;
border-radius: 10px;
box-shadow: 0 0 8px rgb(0 0 0 / 0.1);
scroll-snap-align: start;
padding: 15px;
text-align: center;
transition: transform 0.3s ease;
}
body .mw-parser-output > ul.populer-wikis > li:hover {
transform: scale(1.05);
}
body .mw-parser-output > ul.populer-wikis > li a {
text-decoration: none;
font-weight: bold;
color: #222;
display: block;
margin-top: 10px;
}
<!-- Citizen Teması İçin Uyumlu CSS -->
<style>
.home-container {
font-family: 'Segoe UI', sans-serif;
padding: 20px;
}
.section {
margin-bottom: 30px;
}
.section h2 {
font-size: 22px;
border-bottom: 2px solid #5c6bc0;
padding-bottom: 5px;
margin-bottom: 15px;
color: #2c3e50;
}
.slider-box {
display: flex;
overflow-x: auto;
gap: 10px;
padding: 10px 0;
scroll-behavior: smooth;
}
.card {
min-width: 200px;
background-color: #f0f4ff;
border: 1px solid #ccd;
border-radius: 8px;
padding: 12px;
text-align: center;
white-space: nowrap;
flex-shrink: 0;
box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
transition: transform 0.2s;
}
.card:hover {
transform: scale(1.05);
}
.card a {
text-decoration: none;
font-weight: bold;
color: #2c3e50;
}
.welcome-box {
background-color: #eef;
border: 1px solid #ccd;
border-radius: 10px;
padding: 20px;
font-size: 16px;
line-height: 1.6;
color: #333;
}
</style>