06.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. $black: #000;
  2. $white: #fff;
  3. $darkGray: #333;
  4. $lightGray: #eee;
  5. $dark: #06581f;
  6. $light: #dfd;
  7. /***************************************
  8. Default Styles
  9. ***************************************/
  10. html, body {
  11. margin: 0;
  12. padding: 0;
  13. }
  14. body {
  15. font: 62.5% Verdana, Helvetica, Arial, sans-serif;
  16. color: $black;
  17. background: $white;
  18. }
  19. #container {
  20. font-size: 1.2em;
  21. margin: 10px 2em;
  22. }
  23. h1 {
  24. font-size: 2.5em;
  25. margin-bottom: 0;
  26. }
  27. h2 {
  28. font-size: 1.3em;
  29. margin-bottom: .5em;
  30. }
  31. h3 {
  32. font-size: 1.1em;
  33. margin-bottom: 0;
  34. }
  35. code {
  36. font-size: 1.2em;
  37. }
  38. a {
  39. color: $dark;
  40. }
  41. /***************************************
  42. Chapter Styles
  43. ***************************************/
  44. #header {
  45. margin-bottom: 1em;
  46. padding-bottom: 1em;
  47. border-bottom: 1px solid $lightGray;
  48. }
  49. .letters {
  50. float: left;
  51. width: 15%;
  52. padding-right: 5%;
  53. }
  54. .letter {
  55. margin: 10px;
  56. }
  57. .letter h3 {
  58. font-weight: bold;
  59. }
  60. .letter ul {
  61. list-style: none;
  62. padding: 0;
  63. margin: 0 1em;
  64. }
  65. .letter input {
  66. width: 100%;
  67. margin-bottom: 1em;
  68. }
  69. #dictionary {
  70. float: left;
  71. width: 78%;
  72. }
  73. .entry {
  74. padding: 1em 0em;
  75. border-bottom: 1px solid $lightGray;
  76. }
  77. .entry .term {
  78. display: inline;
  79. font-weight: bold;
  80. }
  81. .entry .part {
  82. padding: 0 1em;
  83. display: inline;
  84. font-style: italic;
  85. }
  86. .entry .definition {
  87. padding: .5em;
  88. }
  89. .entry .definition .quote {
  90. margin: .5em 2em;
  91. padding: 0 1em;
  92. color: $darkGray;
  93. border-left: 2px $lightGray solid;
  94. }
  95. .entry .definition .quote .quote-author {
  96. font-weight: bold;
  97. margin-left: 20em;
  98. }
  99. #loading {
  100. display: none;
  101. position: fixed;
  102. left: 50%;
  103. top: 40%;
  104. width: 90px;
  105. padding: 20px;
  106. margin-left: -66px;
  107. border: 1px $black solid;
  108. background-color: $lightGray;
  109. }
  110. * html #loading {
  111. position: absolute;
  112. }
  113. .highlighted {
  114. background-color: $light;
  115. font-style: italic;
  116. }