Foreground.css

From Sega Retro

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.
@media (max-width: 40em) {
  /* Hide column labels */
	.filehistory thead tr {
		position: absolute;
		top: -9999em;
		left: -9999em;
	}
	.filehistory tr {
    border-bottom: 0;
  }
	/* Leave a space between table rows */
  .filehistory tr + .filehistory tr {
    margin-top: 1.5em;
  }
  .filehistory th {display:none;}
  /* Get table cells to act like rows */
  .filehistory tr,
  .filehistory td {
		display: block;
	}
	.filehistory td {
		border: none;
	/* Leave a space for data labels */
		padding-left: 50%;
	}
	/* Add data labels */
  .filehistory td:before {
    content: attr(data-label) " ";
    display: block;
    font-weight: bold;
  }
}
/* Stack labels vertically on smaller screens */
@media (max-width: 20em) {
  .filehistory  td {
    padding-left: 0.75em;
  }
  .filehistory  td:before {
    display: block;
    margin-bottom: 0.75em;
    margin-left: 0;
  }
}