crowi-reveal.scss 2.2 KB

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