Difference between revisions of "MediaWiki:Common.css"

From Yanfly.moe Wiki
Jump to navigation Jump to search
 
(5 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 */
.page-Sandbox #mw-panel .body { visibility: hidden; }
+
 
.page-Sandbox #mw-panel { display: none; }
+
table.wikitable .contained-cell {
.page-Sandbox #left-navigation { left: 1em; }
+
  max-height: 1000px; /* Adjust this value to your desired maximum height */
.page-Sandbox #mw-head-base, #content, #footer { margin-left: 1em; }
+
  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;
}