blood.css 6.8 KB

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