test.css 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. * {
  2. font-family: -apple-system-font, Helvetica, sans-serif;
  3. }
  4. body {
  5. padding: 1em;
  6. }
  7. a:link, a:visited { color: darkblue; }
  8. #results.failed em { font-style: normal; color: crimson; }
  9. #results.passed em { font-style: normal; color: darkgreen; }
  10. #fixtures {
  11. position: absolute;
  12. top: -10000px;
  13. left: -10000px;
  14. }
  15. #nav {
  16. list-style: none;
  17. padding: 0;
  18. margin: 2em 0 0 0;
  19. font-size: 12px;
  20. max-width: 30em;
  21. }
  22. #nav a {
  23. padding: .8em 1.5em;
  24. background: #eee;
  25. border-top: 2px solid white;
  26. text-decoration: none;
  27. text-transform: uppercase;
  28. letter-spacing: .1em;
  29. display: block;
  30. color: #555;
  31. }
  32. #nav .current a { background: #ccc; color: black; }
  33. #nav a:active { background: #555; color: white; }
  34. ul {
  35. padding: 0;
  36. }
  37. li {
  38. list-style-type: none;
  39. padding: 0 0 15px;
  40. }
  41. li a {
  42. font-size: 16px;
  43. border: 1px solid darkblue;
  44. padding: 3px 10px;
  45. text-decoration: none;
  46. }
  47. li a:visited {
  48. border-color: #888;
  49. color: #aaa;
  50. }
  51. @media only screen and (max-device-width:480px) {
  52. body { margin: 7px; font-size: small; }
  53. h1 { margin: 0; }
  54. h1, #results { text-align: center; }
  55. #results { min-height: 3em; }
  56. #nav { font-size: 14px; max-width: auto; }
  57. }