blood.css 7.0 KB

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