Template:BiomeSpawnEntry/styles.css: Difference between revisions

From Pixelrus
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
.biomespawn-cell p {
/* Remove all padding on the <td class="biomespawn-cell"> itself */
    margin: 0;
td.biomespawn-cell {
  padding: 0 !important;
}
}
.biomespawn-cell{
 
   padding: 0em .3em 0em .3em;
/* Remove any paragraph margins/​padding that the wiki parser might inject */
td.biomespawn-cell > p {
  margin: 0 !important;
   padding: 0 !important;
  line-height: 1; /* optional, if you want to tighten any extra line spacing */
}
 
/* If there are other wrapper elements (e.g. <div>), zero them too */
td.biomespawn-cell > * {
  margin: 0 !important;
  padding: 0 !important;
}
}

Revision as of 00:10, 3 June 2025

/* Remove all padding on the <td class="biomespawn-cell"> itself */
td.biomespawn-cell {
  padding: 0 !important;
}

/* Remove any paragraph margins/​padding that the wiki parser might inject */
td.biomespawn-cell > p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1; /* optional, if you want to tighten any extra line spacing */
}

/* If there are other wrapper elements (e.g. <div>), zero them too */
td.biomespawn-cell > * {
  margin: 0 !important;
  padding: 0 !important;
}