crowi-reveal.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .reveal {
  2. font-size: 32px;
  3. section * {
  4. font-family: "Lucida Grande", "Hiragino Kaku Gothic Pro W3", Meiryo, san-serif;
  5. }
  6. .slides > section {
  7. //text-align: left;
  8. padding: 0;
  9. &.only.present {
  10. h1, h2, h3, h4, h5, h6 {
  11. font-size: 2.5em;
  12. }
  13. }
  14. p {
  15. line-height: 1.6;
  16. &:first-child {
  17. margin-top: 0;
  18. }
  19. }
  20. pre {
  21. code {
  22. padding: 20px 40px;
  23. }
  24. }
  25. blockquote {
  26. width: 80%;
  27. padding: 20px 60px;
  28. }
  29. ul {
  30. margin-top: .2em;
  31. margin-bottom: .1em;
  32. > li {
  33. line-height: 1.6;
  34. margin-bottom: .5em;
  35. > ul > li {
  36. font-size: .85em;
  37. }
  38. }
  39. }
  40. h1:first-child {
  41. font-size: 2.2em;
  42. }
  43. h2:first-child {
  44. font-size: 1.8em;
  45. }
  46. h3, h4, h5, h6 {
  47. &:first-child {
  48. font-size: 1.5em;
  49. }
  50. }
  51. // {{{ table (copied from bootstrap .table
  52. table {
  53. width: 100%;
  54. margin-bottom: 1em;
  55. border-collapse: collapse;
  56. tr, td, th {
  57. border-collapse: collapse;
  58. }
  59. // Cells
  60. > thead,
  61. > tbody,
  62. > tfoot {
  63. > tr {
  64. > th,
  65. > td {
  66. padding: 1em;
  67. vertical-align: top;
  68. border-top: 1px solid #999;
  69. }
  70. }
  71. }
  72. // Bottom align for column headings
  73. > thead > tr > th {
  74. vertical-align: bottom;
  75. border-bottom: 2px solid #888;
  76. }
  77. // Remove top border from thead by default
  78. > caption + thead,
  79. > colgroup + thead,
  80. > thead:first-child {
  81. > tr:first-child {
  82. > th,
  83. > td {
  84. border-top: 0;
  85. }
  86. }
  87. }
  88. // Account for multiple tbody instances
  89. > tbody + tbody {
  90. border-top: 2px solid #888;
  91. }
  92. // .table-bordered
  93. border: 1px solid #999;
  94. > thead,
  95. > tbody,
  96. > tfoot {
  97. > tr {
  98. > th,
  99. > td {
  100. border: 1px solid #999;
  101. }
  102. }
  103. }
  104. > thead > tr {
  105. > th,
  106. > td {
  107. border-bottom-width: 2px;
  108. }
  109. }
  110. }
  111. // }}}
  112. }
  113. }