blood.css 7.2 KB

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