blood.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. /**
  2. * Blood theme for reveal.js
  3. * Author: Walther http://github.com/Walther
  4. *
  5. * Designed to be used with highlight.js theme
  6. * "monokai_sublime.css" available from
  7. * https://github.com/isagalaev/highlight.js/
  8. *
  9. * For other themes, change $codeBackground accordingly.
  10. *
  11. */
  12. @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic);
  13. /*********************************************
  14. * GLOBAL STYLES
  15. *********************************************/
  16. body {
  17. background: #222;
  18. background-color: #222; }
  19. .reveal {
  20. font-family: Ubuntu, "sans-serif";
  21. font-size: 40px;
  22. font-weight: normal;
  23. color: #eee; }
  24. ::selection {
  25. color: #fff;
  26. background: #a23;
  27. text-shadow: none; }
  28. ::-moz-selection {
  29. color: #fff;
  30. background: #a23;
  31. text-shadow: none; }
  32. .reveal .slides > section,
  33. .reveal .slides > section > section {
  34. line-height: 1.3;
  35. font-weight: inherit; }
  36. /*********************************************
  37. * HEADERS
  38. *********************************************/
  39. .reveal h1,
  40. .reveal h2,
  41. .reveal h3,
  42. .reveal h4,
  43. .reveal h5,
  44. .reveal h6 {
  45. margin: 0 0 20px 0;
  46. color: #eee;
  47. font-family: Ubuntu, "sans-serif";
  48. font-weight: normal;
  49. line-height: 1.2;
  50. letter-spacing: normal;
  51. text-transform: uppercase;
  52. text-shadow: 2px 2px 2px #222;
  53. word-wrap: break-word; }
  54. .reveal h1 {
  55. font-size: 3.77em; }
  56. .reveal h2 {
  57. font-size: 2.11em; }
  58. .reveal h3 {
  59. font-size: 1.55em; }
  60. .reveal h4 {
  61. font-size: 1em; }
  62. .reveal h1 {
  63. text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); }
  64. /*********************************************
  65. * OTHER
  66. *********************************************/
  67. .reveal p {
  68. margin: 20px 0;
  69. line-height: 1.3; }
  70. /* Ensure certain elements are never larger than the slide itself */
  71. .reveal img,
  72. .reveal video,
  73. .reveal iframe {
  74. max-width: 95%;
  75. max-height: 95%; }
  76. .reveal strong,
  77. .reveal b {
  78. font-weight: bold; }
  79. .reveal em {
  80. font-style: italic; }
  81. .reveal ol,
  82. .reveal dl,
  83. .reveal ul {
  84. display: inline-block;
  85. text-align: left;
  86. margin: 0 0 0 1em; }
  87. .reveal ol {
  88. list-style-type: decimal; }
  89. .reveal ul {
  90. list-style-type: disc; }
  91. .reveal ul ul {
  92. list-style-type: square; }
  93. .reveal ul ul ul {
  94. list-style-type: circle; }
  95. .reveal ul ul,
  96. .reveal ul ol,
  97. .reveal ol ol,
  98. .reveal ol ul {
  99. display: block;
  100. margin-left: 40px; }
  101. .reveal dt {
  102. font-weight: bold; }
  103. .reveal dd {
  104. margin-left: 40px; }
  105. .reveal q,
  106. .reveal blockquote {
  107. quotes: none; }
  108. .reveal blockquote {
  109. display: block;
  110. position: relative;
  111. width: 70%;
  112. margin: 20px auto;
  113. padding: 5px;
  114. font-style: italic;
  115. background: rgba(255, 255, 255, 0.05);
  116. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
  117. .reveal blockquote p:first-child,
  118. .reveal blockquote p:last-child {
  119. display: inline-block; }
  120. .reveal q {
  121. font-style: italic; }
  122. .reveal pre {
  123. display: block;
  124. position: relative;
  125. width: 90%;
  126. margin: 20px auto;
  127. text-align: left;
  128. font-size: 0.55em;
  129. font-family: monospace;
  130. line-height: 1.2em;
  131. word-wrap: break-word;
  132. box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
  133. .reveal code {
  134. font-family: monospace; }
  135. .reveal pre code {
  136. display: block;
  137. padding: 5px;
  138. overflow: auto;
  139. max-height: 400px;
  140. word-wrap: normal; }
  141. .reveal table {
  142. margin: auto;
  143. border-collapse: collapse;
  144. border-spacing: 0; }
  145. .reveal table th {
  146. font-weight: bold; }
  147. .reveal table th,
  148. .reveal table td {
  149. text-align: left;
  150. padding: 0.2em 0.5em 0.2em 0.5em;
  151. border-bottom: 1px solid; }
  152. .reveal table th[align="center"],
  153. .reveal table td[align="center"] {
  154. text-align: center; }
  155. .reveal table th[align="right"],
  156. .reveal table td[align="right"] {
  157. text-align: right; }
  158. .reveal table tbody tr:last-child th,
  159. .reveal table tbody tr:last-child td {
  160. border-bottom: none; }
  161. .reveal sup {
  162. vertical-align: super; }
  163. .reveal sub {
  164. vertical-align: sub; }
  165. .reveal small {
  166. display: inline-block;
  167. font-size: 0.6em;
  168. line-height: 1.2em;
  169. vertical-align: top; }
  170. .reveal small * {
  171. vertical-align: top; }
  172. /*********************************************
  173. * LINKS
  174. *********************************************/
  175. .reveal a {
  176. color: #a23;
  177. text-decoration: none;
  178. -webkit-transition: color .15s ease;
  179. -moz-transition: color .15s ease;
  180. transition: color .15s ease; }
  181. .reveal a:hover {
  182. color: #dd5566;
  183. text-shadow: none;
  184. border: none; }
  185. .reveal .roll span:after {
  186. color: #fff;
  187. background: #6a1520; }
  188. /*********************************************
  189. * IMAGES
  190. *********************************************/
  191. .reveal section img {
  192. margin: 15px 0px;
  193. background: rgba(255, 255, 255, 0.12);
  194. border: 4px solid #eee;
  195. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  196. .reveal section img.plain {
  197. border: 0;
  198. box-shadow: none; }
  199. .reveal a img {
  200. -webkit-transition: all .15s linear;
  201. -moz-transition: all .15s linear;
  202. transition: all .15s linear; }
  203. .reveal a:hover img {
  204. background: rgba(255, 255, 255, 0.2);
  205. border-color: #a23;
  206. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  207. /*********************************************
  208. * NAVIGATION CONTROLS
  209. *********************************************/
  210. .reveal .controls .navigate-left,
  211. .reveal .controls .navigate-left.enabled {
  212. border-right-color: #a23; }
  213. .reveal .controls .navigate-right,
  214. .reveal .controls .navigate-right.enabled {
  215. border-left-color: #a23; }
  216. .reveal .controls .navigate-up,
  217. .reveal .controls .navigate-up.enabled {
  218. border-bottom-color: #a23; }
  219. .reveal .controls .navigate-down,
  220. .reveal .controls .navigate-down.enabled {
  221. border-top-color: #a23; }
  222. .reveal .controls .navigate-left.enabled:hover {
  223. border-right-color: #dd5566; }
  224. .reveal .controls .navigate-right.enabled:hover {
  225. border-left-color: #dd5566; }
  226. .reveal .controls .navigate-up.enabled:hover {
  227. border-bottom-color: #dd5566; }
  228. .reveal .controls .navigate-down.enabled:hover {
  229. border-top-color: #dd5566; }
  230. /*********************************************
  231. * PROGRESS BAR
  232. *********************************************/
  233. .reveal .progress {
  234. background: rgba(0, 0, 0, 0.2); }
  235. .reveal .progress span {
  236. background: #a23;
  237. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  238. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  239. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
  240. .reveal p {
  241. font-weight: 300;
  242. text-shadow: 1px 1px #222; }
  243. .reveal h1,
  244. .reveal h2,
  245. .reveal h3,
  246. .reveal h4,
  247. .reveal h5,
  248. .reveal h6 {
  249. font-weight: 700; }
  250. .reveal p code {
  251. background-color: #23241f;
  252. display: inline-block;
  253. border-radius: 7px; }
  254. .reveal small code {
  255. vertical-align: baseline; }