style-presentation.scss 2.3 KB

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