02.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. // Standardize palette.
  2. $blue: #00c;
  3. $red: #f00;
  4. $anchor: #06581F;
  5. $light: #eee;
  6. $medium: #999;
  7. $dark: #888;
  8. // Ensure flexible assets location.
  9. $images: images;
  10. /***************************************
  11. Default Styles
  12. ************************************** */
  13. a {
  14. font-family: Arial;
  15. }
  16. html, body {
  17. margin: 0;
  18. padding: 0;
  19. }
  20. body {
  21. font: 62.5% Verdana, Helvetica, Arial, sans-serif;
  22. color: black;
  23. background: white;
  24. }
  25. #container {
  26. font-size: 1.2em;
  27. margin: 10px 2em;
  28. }
  29. h1 {
  30. font-size: 2.5em;
  31. margin-bottom: 0;
  32. }
  33. h2 {
  34. font-size: 1.3em;
  35. margin-bottom: .5em;
  36. }
  37. h3 {
  38. font-size: 1.1em;
  39. margin-bottom: 0;
  40. }
  41. code {
  42. font-size: 1.2em;
  43. }
  44. a {
  45. color: $anchor;
  46. }
  47. /***************************************
  48. Chapter Styles
  49. ************************************** */
  50. h2 {
  51. clear: left;
  52. }
  53. li {
  54. padding: 0 3px;
  55. color: black;
  56. }
  57. .horizontal {
  58. float: left;
  59. list-style: none;
  60. margin: 10px;
  61. width: 33.33%;
  62. }
  63. .sub-level {
  64. background: $light;
  65. }
  66. a {
  67. color: $blue;
  68. &.mailto {
  69. background: url(#{$images}/email.png) no-repeat right top;
  70. padding-right: 18px;
  71. }
  72. &.pdflink {
  73. background: url(#{$images}/pdf.png) no-repeat right top;
  74. padding-right: 18px;
  75. }
  76. &.henrylink {
  77. background-color: white;
  78. padding: 2px;
  79. border: 1px solid black;
  80. }
  81. &.external {
  82. background: white url(#{$images}/external.png) no-repeat 100% 2px;
  83. padding-right: 16px;
  84. }
  85. }
  86. ul.tragedy {
  87. border: 1px solid $medium;
  88. }
  89. li.afterlink {
  90. border-right: 4px solid #090;
  91. }
  92. table {
  93. border-collapse: collapse;
  94. }
  95. th, td {
  96. text-align: left;
  97. padding: 2px 4px;
  98. }
  99. .table-heading {
  100. background-color: black;
  101. color: white;
  102. }
  103. .alt {
  104. background-color: $light;
  105. }
  106. .highlight {
  107. font-weight: bold;
  108. font-style: italic;
  109. }
  110. .italic {
  111. font-style: italic;
  112. }
  113. .bold {
  114. font-weight: bold;
  115. }
  116. .special {
  117. color: $red;
  118. }
  119. .year {
  120. background-color: $dark;
  121. color: white;
  122. padding: 0 10px;
  123. text-align: center;
  124. }
  125. /*# sourceMappingURL=02.css.map */