MediaWiki:Common.css

From FOnline 3 wiki
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
.perk-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.perk-grid .perk {
  box-sizing: border-box;
  text-align: center;
  flex: 1 1 360px;      /* Minimum width before wrapping */
  max-width: 420px;     /* Prevent too-wide blocks */
}
.perk-grid .perk table {
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1200px) {
  .perk-grid .perk {
    flex: 1 1 calc(33.333% - 12px); /* 3 per row on big screens */
    max-width: none;
  }
}


.damage-table {
  background: #000;
  color: #00FF00;
  font-family: monospace;
  border-collapse: collapse;
  font-size: 120%;   /* change this number to whatever size you like */
}
.damage-table th,
.damage-table td {
  border: none;
  padding: 2px 6px;
}
.damage-table th {
  text-align: left;
  font-weight: bold;
}