MediaWiki:Common.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
#ca-viewsource { display: none !important; }
#ca-edit { display: none !important; }
#ca-talk { display: none !important; }
#ca-protect { display: none !important; }
#ca-move { display: none !important; }
#ca-delete { display: none !important; }
#ca-watch { display: none !important; }
#ca-unwatch { display: none !important; }
#ca-formedit { display: none !important; }
#ca-nstab-user { display: none !important; }
#t-specialpages { display: none !important; }
#t-upload { display: none !important; }
#citizen-pref-item { display: none !important; }
#n-recentchanges { display: none !important; }
#mw-usertoollinks-contribs { display: none !important; }
#n-randompage { display: none !important; }
#n-help-mediawiki { display: none !important; }
#ca-history { display: none !important; }
@media screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
/* Tabloyu daha duyarlı hale getir */
.wikitable, .wikitable tbody, .wikitable td, .wikitable tr {
display: block;
}
/* Sütun başlıklarını gizle */
.wikitable thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
.wikitable tr { border: 1px solid #ccc; }
.wikitable td {
/* Tablo hücrelerini blok olarak ayarla ve kenar boşluklarını düzenle */
border: none;
border-bottom: 1px solid #eee;
position: relative;
padding-left: 50%;
white-space: normal;
text-align:left;
}
.wikitable td:before {
/* Hücre başlıklarını içerik olarak ekleyin */
position: absolute;
top: 6px;
left: 6px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
font-weight: bold;
text-align:left;
}
/* Sütun başlıklarını td:before ile eşleştir */
.wikitable td:before { content: attr(data-th); }
}