User:The Retro Gamer/common.css

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* A comment, for easier testing. This is my native code commenting style, so it is very comfortable. */
textarea { background: #FFFFFF url(/images/d/d2/DK_edit_BG.png) }

/* DK table basic styling */
table.dktable1, table.dktable1-brown {background:#fff;margin:1em 0;border:1pt solid #000;border-collapse:collapse;color:black}
table.dktable1 > * > tr > td, table.dktable1 > * > tr > th, table.dktable1-brown > * > tr > td, table.dktable1-brown > * > tr > th {border:1pt solid #000;padding:0.2em 0.4em}

/* DK tables brown rows coloring */
table.dktable1-brown > * > tr > th {background: #BB8855}
table.dktable1-brown > * > tr:nth-child(odd) > td {background:#FFF8DC}
table.dktable1-brown > * > tr:nth-child(even) > td {background:wheat}