styles.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* use this to put borders around things... */
  2. .thin_border {
  3. border: 1px solid black; }
  4. .greenlink:hover {
  5. background-color: #67b168;
  6. color: white;
  7. text-decoration: none; }
  8. /* use this to put borders around things... */
  9. .crop-img {
  10. margin-bottom: 10px;
  11. max-height: 150px;
  12. max-width: 100%; }
  13. .large-img {
  14. margin-top: 10px;
  15. max-width: 100%; }
  16. /* This is the css for the chapter thumbnails. They are small boxes that show
  17. the first few lines of a chapter. There are several bits of css to make sure
  18. that they display properly.
  19. */
  20. .chapter-thumbnail {
  21. /* add a margin to look nice */
  22. margin-top: 10px;
  23. /* preserve the original line breaks and spacing (I need this because the
  24. content of the chapter is just text not HTML, so normally the line breaks
  25. would be ignored) */
  26. white-space: pre;
  27. /* don't show a scroll bar when the text is too big to fit in the box (which
  28. it always will be but we don't mind as it is just a thumbnail) */
  29. overflow: hidden;
  30. /* make sure that the box doesn't get too big */
  31. max-height: 150px;
  32. /* even if the text is big */
  33. height: 150px;
  34. /* rounded corners */
  35. border-radius: 10px; }
  36. #mainViewer {
  37. margin-top: 10px;
  38. /* preserve the original line breaks (see above)*/
  39. white-space: pre; }
  40. /*# sourceMappingURL=styles.css.map */