style-presentation.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. // import variable
  2. @import 'variables';
  3. @import 'mixins';
  4. @import 'override-bootstrap-variables';
  5. @import 'vendor-presentation';
  6. .reveal {
  7. font-size: 32px;
  8. section * {
  9. font-family: Lato, -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif !important;
  10. }
  11. .present {
  12. max-height: 100%;
  13. overflow-y: scroll;
  14. }
  15. .slides > section {
  16. //text-align: left;
  17. padding: 0;
  18. &.only.present {
  19. h1,
  20. h2,
  21. h3,
  22. h4,
  23. h5,
  24. h6 {
  25. font-size: 2.5em;
  26. }
  27. }
  28. p {
  29. line-height: 1.6;
  30. &:first-child {
  31. margin-top: 0;
  32. }
  33. }
  34. pre {
  35. code {
  36. padding: 20px 40px;
  37. }
  38. }
  39. blockquote {
  40. width: 80%;
  41. padding: 20px 60px;
  42. }
  43. ul {
  44. margin-top: 0.2em;
  45. margin-bottom: 0.1em;
  46. > li {
  47. margin-bottom: 0.5em;
  48. line-height: 1.6;
  49. > ul > li {
  50. font-size: 0.85em;
  51. }
  52. }
  53. }
  54. h1:first-child {
  55. font-size: 2.2em;
  56. }
  57. h2:first-child {
  58. font-size: 1.8em;
  59. }
  60. h3,
  61. h4,
  62. h5,
  63. h6 {
  64. &:first-child {
  65. font-size: 1.5em;
  66. }
  67. }
  68. // {{{ table (copied from bootstrap .table
  69. table {
  70. width: 100%;
  71. margin-bottom: 1em;
  72. border-collapse: collapse;
  73. tr,
  74. td,
  75. th {
  76. border-collapse: collapse;
  77. }
  78. // Cells
  79. > thead,
  80. > tbody,
  81. > tfoot {
  82. > tr {
  83. > th,
  84. > td {
  85. padding: 1em;
  86. vertical-align: top;
  87. border-top: 1px solid $gray-400;
  88. }
  89. }
  90. }
  91. // Bottom align for column headings
  92. > thead > tr > th {
  93. vertical-align: bottom;
  94. border-bottom: 2px solid $gray-500;
  95. }
  96. // Remove top border from thead by default
  97. > caption + thead,
  98. > colgroup + thead,
  99. > thead:first-child {
  100. > tr:first-child {
  101. > th,
  102. > td {
  103. border-top: 0;
  104. }
  105. }
  106. }
  107. // Account for multiple tbody instances
  108. > tbody + tbody {
  109. border-top: 2px solid $gray-500;
  110. }
  111. // .table-bordered
  112. border: 1px solid $gray-400;
  113. > thead,
  114. > tbody,
  115. > tfoot {
  116. > tr {
  117. > th,
  118. > td {
  119. border: 1px solid $gray-400;
  120. }
  121. }
  122. }
  123. > thead > tr {
  124. > th,
  125. > td {
  126. border-bottom-width: 2px;
  127. }
  128. }
  129. }
  130. // }}}
  131. }
  132. }