Difference between revisions of "MediaWiki:Common.css"

From Yanfly.moe Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
.cell-container {
+
table.wikitable .contained-cell {
    max-height: 1000px;
+
  max-height: 1000px; /* Adjust this value to your desired maximum height */
    overflow: hidden;
+
  overflow: hidden;
 +
  position: relative;
 +
}
 +
 
 +
.centered-img {
 +
  display: block;
 +
  margin-left: auto;
 +
  margin-right: auto;
 
}
 
}

Latest revision as of 15:17, 18 May 2023

/* CSS placed here will be applied to all skins */

table.wikitable .contained-cell {
  max-height: 1000px; /* Adjust this value to your desired maximum height */
  overflow: hidden;
  position: relative;
}

.centered-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}