source code of /read/style.css

Last modified
Lines 98

Parent directory Download CGIread sitemap Main page

Quick links: (none)

  1. /* File viewer */
  2. #content #description > *
  3. {
  4.     font-size: 120%;
  5.     font-family: serif;
  6. }
  7. p.read-nav > a
  8. {
  9.     margin-right: 1em;
  10. }
  11. a.quick
  12. {
  13.     margin-left: 1.5em;
  14. }
  15. ol li
  16. {
  17.     line-height: 1;
  18. }
  19. ol li pre
  20. {
  21.     display: inline;
  22.     font-family: monospace;
  23.     word-wrap: break-word;
  24.     white-space: pre-wrap;
  25.     color: #000;
  26.     background-color: #dde;
  27. }
  28. /* Directory listings */
  29. /* Make it readable with alternating background color. */
  30. table#ls
  31. {
  32.     color: #000;
  33.     background-color: #fff;
  34. }
  35. table#ls tr:nth-child(even)
  36. {
  37.     background-color: #edf;
  38. }
  39. /* Don't forget to set the link colors. */
  40. table#ls a
  41. {
  42.     color: #22f;
  43.     text-decoration: underline;
  44. }
  45. table#ls a:visited
  46. {
  47.     color: #518;
  48. }
  49. @media only screen and (min-width: 800px)
  50. {
  51.     .mobile
  52.     {
  53.         display: none;
  54.     }
  55. }
  56. @media only screen and (max-width: 799px)
  57. {
  58.     .desktop
  59.     {
  60.         display: none;
  61.     }
  62. }
  63. /* .yeah and .thenumberofthebeast do not override the font-size set in
  64. .mobile or .desktop, but multiply it. */
  65. td.mobile, td.desktop
  66. {
  67.     /* Target = 80% */
  68.     font-size: 80%;
  69. }
  70. .yeah
  71. {
  72.     /* Target = 100%, needed 5/4 */
  73.     font-size: 125%;
  74. }
  75. .thenumberofthebeast
  76. {
  77.     /* Target = 120%; needed 6/4 */
  78.     font-size: 150%;
  79. }
  80. /* Index page */
  81. form
  82. {
  83.     border: 1px dotted;
  84.     padding: 1em;
  85.     margin: .5em;
  86. }