robot-lung.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. /**
  2. [ robot-lung ]
  3. A hot pink theme for Reveal.js with Roboto fonts and a colorful border.
  4. By Josh Dzielak, https://dzello.com/, License MIT
  5. The bold border is optional and requires some HTML. To use it:
  6. 1. Add 4 divs to your HTML page:
  7. <div class="line top"></div>
  8. <div class="line bottom"></div>
  9. <div class="line left"></div>
  10. <div class="line right"></div>
  11. 2. Set { margin: 0.2 } in the Reveal.js initializer to make sure
  12. your presentation content doesn't collide with the frame.
  13. Like the theme but don't like the colors? Don't fret. Just change
  14. $borderColor and/or $linkColor below to something else and rebuild.
  15. Or if you don't want to rebuild the theme just override the .line background
  16. property with some CSS:
  17. .line {
  18. background: <new-color>;
  19. }
  20. */
  21. @import url(https://fonts.googleapis.com/css?family=Roboto+Slab:300,700);
  22. @import url(https://fonts.googleapis.com/css?family=Roboto:700);
  23. section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
  24. color: #141414; }
  25. .reveal .controls {
  26. right: 50px;
  27. bottom: 50px; }
  28. .line {
  29. content: '';
  30. position: fixed;
  31. background: #FF4081;
  32. z-index: 105; }
  33. .line.top {
  34. left: 0;
  35. top: 0;
  36. width: 100%;
  37. height: 30px; }
  38. @media (max-width: 840px) {
  39. .line.top {
  40. height: 15px; } }
  41. .line.bottom {
  42. left: 0;
  43. top: auto;
  44. bottom: 0;
  45. width: 100%;
  46. height: 30px; }
  47. @media (max-width: 840px) {
  48. .line.bottom {
  49. height: 15px; } }
  50. .line.left {
  51. left: 0;
  52. top: 0;
  53. width: 30px;
  54. height: 200%; }
  55. @media (max-width: 840px) {
  56. .line.left {
  57. width: 15px; } }
  58. .line.right {
  59. left: auto;
  60. right: 0;
  61. top: 0;
  62. width: 30px;
  63. height: 200%; }
  64. @media (max-width: 840px) {
  65. .line.right {
  66. width: 15px; } }
  67. .reveal.has-dark-background .line {
  68. display: none; }
  69. /*********************************************
  70. * GLOBAL STYLES
  71. *********************************************/
  72. body {
  73. background: #fff;
  74. background-color: #fff; }
  75. .reveal {
  76. font-family: "Roboto Slab", serif;
  77. font-size: 32px;
  78. font-weight: normal;
  79. color: #363636; }
  80. ::selection {
  81. color: #fff;
  82. background: #ffc0d5;
  83. text-shadow: none; }
  84. ::-moz-selection {
  85. color: #fff;
  86. background: #ffc0d5;
  87. text-shadow: none; }
  88. .reveal .slides > section,
  89. .reveal .slides > section > section {
  90. line-height: 1.3;
  91. font-weight: inherit; }
  92. /*********************************************
  93. * HEADERS
  94. *********************************************/
  95. .reveal h1,
  96. .reveal h2,
  97. .reveal h3,
  98. .reveal h4,
  99. .reveal h5,
  100. .reveal h6 {
  101. margin: 0 0 20px 0;
  102. color: #141414;
  103. font-family: "Roboto", sans-serif;
  104. font-weight: 700;
  105. line-height: 1.2;
  106. letter-spacing: normal;
  107. text-transform: uppercase;
  108. text-shadow: none;
  109. word-wrap: break-word; }
  110. .reveal h1 {
  111. font-size: 2.6em; }
  112. .reveal h2 {
  113. font-size: 2.2em; }
  114. .reveal h3 {
  115. font-size: 1.7em; }
  116. .reveal h4 {
  117. font-size: 1.4em; }
  118. .reveal h1 {
  119. text-shadow: none; }
  120. /*********************************************
  121. * OTHER
  122. *********************************************/
  123. .reveal p {
  124. margin: 20px 0;
  125. line-height: 1.3; }
  126. /* Ensure certain elements are never larger than the slide itself */
  127. .reveal img,
  128. .reveal video,
  129. .reveal iframe {
  130. max-width: 95%;
  131. max-height: 95%; }
  132. .reveal strong,
  133. .reveal b {
  134. font-weight: bold; }
  135. .reveal em {
  136. font-style: italic; }
  137. .reveal ol,
  138. .reveal dl,
  139. .reveal ul {
  140. display: inline-block;
  141. text-align: left;
  142. margin: 0 0 0 1em; }
  143. .reveal ol {
  144. list-style-type: decimal; }
  145. .reveal ul {
  146. list-style-type: disc; }
  147. .reveal ul ul {
  148. list-style-type: square; }
  149. .reveal ul ul ul {
  150. list-style-type: circle; }
  151. .reveal ul ul,
  152. .reveal ul ol,
  153. .reveal ol ol,
  154. .reveal ol ul {
  155. display: block;
  156. margin-left: 40px; }
  157. .reveal dt {
  158. font-weight: bold; }
  159. .reveal dd {
  160. margin-left: 40px; }
  161. .reveal blockquote {
  162. display: block;
  163. position: relative;
  164. width: 70%;
  165. margin: 20px auto;
  166. padding: 5px;
  167. font-style: italic;
  168. background: rgba(255, 255, 255, 0.05);
  169. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
  170. .reveal blockquote p:first-child,
  171. .reveal blockquote p:last-child {
  172. display: inline-block; }
  173. .reveal q {
  174. font-style: italic; }
  175. .reveal pre {
  176. display: block;
  177. position: relative;
  178. width: 90%;
  179. margin: 20px auto;
  180. text-align: left;
  181. font-size: 0.55em;
  182. font-family: monospace;
  183. line-height: 1.2em;
  184. word-wrap: break-word;
  185. box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
  186. .reveal code {
  187. font-family: monospace;
  188. text-transform: none; }
  189. .reveal pre code {
  190. display: block;
  191. padding: 5px;
  192. overflow: auto;
  193. max-height: 400px;
  194. word-wrap: normal; }
  195. .reveal table {
  196. margin: auto;
  197. border-collapse: collapse;
  198. border-spacing: 0; }
  199. .reveal table th {
  200. font-weight: bold; }
  201. .reveal table th,
  202. .reveal table td {
  203. text-align: left;
  204. padding: 0.2em 0.5em 0.2em 0.5em;
  205. border-bottom: 1px solid; }
  206. .reveal table th[align="center"],
  207. .reveal table td[align="center"] {
  208. text-align: center; }
  209. .reveal table th[align="right"],
  210. .reveal table td[align="right"] {
  211. text-align: right; }
  212. .reveal table tbody tr:last-child th,
  213. .reveal table tbody tr:last-child td {
  214. border-bottom: none; }
  215. .reveal sup {
  216. vertical-align: super; }
  217. .reveal sub {
  218. vertical-align: sub; }
  219. .reveal small {
  220. display: inline-block;
  221. font-size: 0.6em;
  222. line-height: 1.2em;
  223. vertical-align: top; }
  224. .reveal small * {
  225. vertical-align: top; }
  226. /*********************************************
  227. * LINKS
  228. *********************************************/
  229. .reveal a {
  230. color: #FF4081;
  231. text-decoration: none;
  232. -webkit-transition: color .15s ease;
  233. -moz-transition: color .15s ease;
  234. transition: color .15s ease; }
  235. .reveal a:hover {
  236. color: #ff8db3;
  237. text-shadow: none;
  238. border: none; }
  239. .reveal .roll span:after {
  240. color: #fff;
  241. background: #f30053; }
  242. /*********************************************
  243. * IMAGES
  244. *********************************************/
  245. .reveal section img {
  246. margin: 15px 0px;
  247. background: rgba(255, 255, 255, 0.12);
  248. border: 4px solid #363636;
  249. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  250. .reveal section img.plain {
  251. border: 0;
  252. box-shadow: none; }
  253. .reveal a img {
  254. -webkit-transition: all .15s linear;
  255. -moz-transition: all .15s linear;
  256. transition: all .15s linear; }
  257. .reveal a:hover img {
  258. background: rgba(255, 255, 255, 0.2);
  259. border-color: #FF4081;
  260. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  261. /*********************************************
  262. * NAVIGATION CONTROLS
  263. *********************************************/
  264. .reveal .controls {
  265. color: #FF4081; }
  266. /*********************************************
  267. * PROGRESS BAR
  268. *********************************************/
  269. .reveal .progress {
  270. background: rgba(0, 0, 0, 0.2);
  271. color: #FF4081; }
  272. .reveal .progress span {
  273. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  274. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  275. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
  276. .reveal .progress {
  277. z-index: 1000;
  278. color: #FF80A1; }