Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
Blanked the page
Tags: Blanking Manual revert
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* 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); }
}

Latest revision as of 02:54, 14 October 2025