style-presentation.scss 2.4 KB

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