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

MediaWiki:Vector-2022.css: Difference between revisions

MediaWiki interface page
Wikitable padding for readability (only for Vector-2022)
Adjusted wikitable padding
 
Line 655: Line 655:
   while also retaining border-radius styling */
   while also retaining border-radius styling */
body:not(.ns-special) .wikitable {
body:not(.ns-special) .wikitable {
    display: inline-block;
  display: inline-block;
    max-width: 100%;
  max-width: 100%;
    overflow-x: auto;
  overflow-x: auto;
    overflow-y: hidden;
  overflow-y: hidden;
    background: transparent;
  background: transparent;
 
  border: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 10px;
  clip-path: inset(0 round 10px);
      
      
    border: none !important;
  th {
    border-collapse: separate !important;
  padding-top: 0.5em;
    border-spacing: 0 !important;
  padding-bottom: 0.5em;
    border-radius: 10px;
  padding-left: 0.75em;
    clip-path: inset(0 round 10px);
  }
   
  td {  
    th { padding-left: 0.75em; }
    padding: 0.25em 0.75em;  
    td { padding: 0 0.75em; }
  }
}
}