You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

286 satır
5.9KB

  1. /**
  2. * White theme for reveal.js. This is the opposite of the 'black' theme.
  3. *
  4. * By Hakim El Hattab, http://hakim.se
  5. */
  6. @import url(fonts/source-sans-pro/source-sans-pro.css);
  7. section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
  8. color: #fff; }
  9. /*********************************************
  10. * GLOBAL STYLES
  11. *********************************************/
  12. :root {
  13. --background-color: #fff;
  14. --main-font: Source Sans Pro, Helvetica, sans-serif;
  15. --main-font-size: 42px;
  16. --main-color: #222;
  17. --block-margin: 20px;
  18. --heading-margin: 0 0 20px 0;
  19. --heading-font: Source Sans Pro, Helvetica, sans-serif;
  20. --heading-color: #222;
  21. --heading-line-height: 1.2;
  22. --heading-letter-spacing: normal;
  23. --heading-text-transform: uppercase;
  24. --heading-text-shadow: none;
  25. --heading-font-weight: 600;
  26. --heading1-text-shadow: none;
  27. --heading1-size: 2.5em;
  28. --heading2-size: 1.6em;
  29. --heading3-size: 1.3em;
  30. --heading4-size: 1em;
  31. --code-font: monospace;
  32. --link-color: #2a76dd;
  33. --link-color-hover: #6ca0e8;
  34. --selection-background-color: #98bdef;
  35. --selection-color: #fff; }
  36. .reveal-viewport {
  37. background: #fff;
  38. background-color: #fff; }
  39. .reveal {
  40. font-family: "Source Sans Pro", Helvetica, sans-serif;
  41. font-size: 42px;
  42. font-weight: normal;
  43. color: #222; }
  44. .reveal ::selection {
  45. color: #fff;
  46. background: #98bdef;
  47. text-shadow: none; }
  48. .reveal ::-moz-selection {
  49. color: #fff;
  50. background: #98bdef;
  51. text-shadow: none; }
  52. .reveal .slides section,
  53. .reveal .slides section > section {
  54. line-height: 1.3;
  55. font-weight: inherit; }
  56. /*********************************************
  57. * HEADERS
  58. *********************************************/
  59. .reveal h1,
  60. .reveal h2,
  61. .reveal h3,
  62. .reveal h4,
  63. .reveal h5,
  64. .reveal h6 {
  65. margin: 0 0 20px 0;
  66. color: #222;
  67. font-family: "Source Sans Pro", Helvetica, sans-serif;
  68. font-weight: 600;
  69. line-height: 1.2;
  70. letter-spacing: normal;
  71. text-transform: uppercase;
  72. text-shadow: none;
  73. word-wrap: break-word; }
  74. .reveal h1 {
  75. font-size: 2.5em; }
  76. .reveal h2 {
  77. font-size: 1.6em; }
  78. .reveal h3 {
  79. font-size: 1.3em; }
  80. .reveal h4 {
  81. font-size: 1em; }
  82. .reveal h1 {
  83. text-shadow: none; }
  84. /*********************************************
  85. * OTHER
  86. *********************************************/
  87. .reveal p {
  88. margin: 20px 0;
  89. line-height: 1.3; }
  90. /* Ensure certain elements are never larger than the slide itself */
  91. .reveal img,
  92. .reveal video,
  93. .reveal iframe {
  94. max-width: 95%;
  95. max-height: 95%; }
  96. .reveal strong,
  97. .reveal b {
  98. font-weight: bold; }
  99. .reveal em {
  100. font-style: italic; }
  101. .reveal ol,
  102. .reveal dl,
  103. .reveal ul {
  104. display: inline-block;
  105. text-align: left;
  106. margin: 0 0 0 1em; }
  107. .reveal ol {
  108. list-style-type: decimal; }
  109. .reveal ul {
  110. list-style-type: disc; }
  111. .reveal ul ul {
  112. list-style-type: square; }
  113. .reveal ul ul ul {
  114. list-style-type: circle; }
  115. .reveal ul ul,
  116. .reveal ul ol,
  117. .reveal ol ol,
  118. .reveal ol ul {
  119. display: block;
  120. margin-left: 40px; }
  121. .reveal dt {
  122. font-weight: bold; }
  123. .reveal dd {
  124. margin-left: 40px; }
  125. .reveal blockquote {
  126. display: block;
  127. position: relative;
  128. width: 70%;
  129. margin: 20px auto;
  130. padding: 5px;
  131. font-style: italic;
  132. background: rgba(255, 255, 255, 0.05);
  133. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
  134. .reveal blockquote p:first-child,
  135. .reveal blockquote p:last-child {
  136. display: inline-block; }
  137. .reveal q {
  138. font-style: italic; }
  139. .reveal pre {
  140. display: block;
  141. position: relative;
  142. width: 90%;
  143. margin: 20px auto;
  144. text-align: left;
  145. font-size: 0.55em;
  146. font-family: monospace;
  147. line-height: 1.2em;
  148. word-wrap: break-word;
  149. box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
  150. .reveal code {
  151. font-family: monospace;
  152. text-transform: none; }
  153. .reveal pre code {
  154. display: block;
  155. padding: 5px;
  156. overflow: auto;
  157. max-height: 400px;
  158. word-wrap: normal; }
  159. .reveal table {
  160. margin: auto;
  161. border-collapse: collapse;
  162. border-spacing: 0; }
  163. .reveal table th {
  164. font-weight: bold; }
  165. .reveal table th,
  166. .reveal table td {
  167. text-align: left;
  168. padding: 0.2em 0.5em 0.2em 0.5em;
  169. border-bottom: 1px solid; }
  170. .reveal table th[align="center"],
  171. .reveal table td[align="center"] {
  172. text-align: center; }
  173. .reveal table th[align="right"],
  174. .reveal table td[align="right"] {
  175. text-align: right; }
  176. .reveal table tbody tr:last-child th,
  177. .reveal table tbody tr:last-child td {
  178. border-bottom: none; }
  179. .reveal sup {
  180. vertical-align: super;
  181. font-size: smaller; }
  182. .reveal sub {
  183. vertical-align: sub;
  184. font-size: smaller; }
  185. .reveal small {
  186. display: inline-block;
  187. font-size: 0.6em;
  188. line-height: 1.2em;
  189. vertical-align: top; }
  190. .reveal small * {
  191. vertical-align: top; }
  192. .reveal img {
  193. margin: 20px 0; }
  194. /*********************************************
  195. * LINKS
  196. *********************************************/
  197. .reveal a {
  198. color: #2a76dd;
  199. text-decoration: none;
  200. transition: color .15s ease; }
  201. .reveal a:hover {
  202. color: #6ca0e8;
  203. text-shadow: none;
  204. border: none; }
  205. .reveal .roll span:after {
  206. color: #fff;
  207. background: #1a53a1; }
  208. /*********************************************
  209. * Frame helper
  210. *********************************************/
  211. .reveal .r-frame {
  212. border: 4px solid #222;
  213. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  214. .reveal a .r-frame {
  215. transition: all .15s linear; }
  216. .reveal a:hover .r-frame {
  217. border-color: #2a76dd;
  218. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  219. /*********************************************
  220. * NAVIGATION CONTROLS
  221. *********************************************/
  222. .reveal .controls {
  223. color: #2a76dd; }
  224. /*********************************************
  225. * PROGRESS BAR
  226. *********************************************/
  227. .reveal .progress {
  228. background: rgba(0, 0, 0, 0.2);
  229. color: #2a76dd; }
  230. /*********************************************
  231. * PRINT BACKGROUND
  232. *********************************************/
  233. @media print {
  234. .backgrounds {
  235. background-color: #fff; } }