benchmark.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. body {
  2. font-size: 16px;
  3. line-height: 1.25em;
  4. font-family: "Verdana", sans-serif;
  5. color: #000;
  6. }
  7. code{
  8. font-family: "Consolas", monospace;
  9. }
  10. table {
  11. border-collapse: collapse;
  12. }
  13. td{
  14. padding: 0.25em 0.5em;
  15. }
  16. thead > tr:nth-child(1) > th:nth-child(1n+2),
  17. thead > tr:nth-child(even) > th:nth-child(4n+2),
  18. tbody > tr > td:nth-child(4n+2) {
  19. border-left: 2px solid #999;
  20. }
  21. tr:nth-child(odd),
  22. thead > tr > th:nth-child(even),
  23. thead > tr:nth-child(2) > th:first-child {
  24. background: rgba(0, 0, 0, 0.1);
  25. }
  26. tbody > tr > td:first-child {
  27. background: rgba(0, 0, 0, 0.1);
  28. font-weight: bold;
  29. }
  30. tbody > tr > td:nth-child(1n+2) {
  31. text-align: right;
  32. }
  33. thead > tr:nth-child(2) > th:nth-child(4n+2),
  34. tbody > tr > td:nth-child(4n+2) {
  35. background: rgba(0, 255, 0, 0.1);
  36. }
  37. thead > tr:nth-child(2) > th:nth-child(4n+3),
  38. tbody > tr > td:nth-child(4n+3) {
  39. background: rgba(255, 255, 0, 0.1);
  40. }
  41. thead > tr:nth-child(2) > th:nth-child(4n+4),
  42. tbody > tr > td:nth-child(4n+4) {
  43. background: rgba(0, 0, 255, 0.1);
  44. }
  45. thead > tr:nth-child(2) > th:nth-child(4n+5),
  46. tbody > tr > td:nth-child(4n+5) {
  47. background: rgba(255, 0, 0, 0.1);
  48. }
  49. a.return{
  50. display: block;
  51. margin: 1em 0;
  52. }