default.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. /**
  2. * The default theme for reveal.js presentations.
  3. *
  4. * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
  5. */
  6. /*********************************************
  7. * FONTS
  8. *********************************************/
  9. @font-face {
  10. font-family: 'League Gothic';
  11. src: url('../../lib/font/league_gothic-webfont.eot');
  12. src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
  13. url('../../lib/font/league_gothic-webfont.woff') format('woff'),
  14. url('../../lib/font/league_gothic-webfont.ttf') format('truetype'),
  15. url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
  16. font-weight: normal;
  17. font-style: normal;
  18. }
  19. .reveal {
  20. font-family: 'Lato', Times, 'Times New Roman', serif;
  21. font-size: 36px;
  22. font-weight: 200;
  23. letter-spacing: -0.02em;
  24. }
  25. .reveal h1,
  26. .reveal h2,
  27. .reveal h3,
  28. .reveal h4,
  29. .reveal h5,
  30. .reveal h6 {
  31. font-family: 'League Gothic', Impact, sans-serif;
  32. line-height: 0.9em;
  33. letter-spacing: 0.02em;
  34. text-transform: uppercase;
  35. }
  36. /*********************************************
  37. * GLOBAL STYLES
  38. *********************************************/
  39. body {
  40. color: #eee;
  41. background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiM1NTVhNWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMWMxZTIwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  42. background-color: #2b2b2b;
  43. background: -moz-radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%, rgba(28,30,32,1) 100%);
  44. background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(85,90,95,1)), color-stop(100%,rgba(28,30,32,1)));
  45. background: -webkit-radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%,rgba(28,30,32,1) 100%);
  46. background: -o-radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%,rgba(28,30,32,1) 100%);
  47. background: -ms-radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%,rgba(28,30,32,1) 100%);
  48. background: radial-gradient(center, ellipse cover, rgba(85,90,95,1) 0%,rgba(28,30,32,1) 100%);
  49. }
  50. /*********************************************
  51. * HEADERS
  52. *********************************************/
  53. .reveal h1,
  54. .reveal h2,
  55. .reveal h3,
  56. .reveal h4,
  57. .reveal h5,
  58. .reveal h6 {
  59. margin: 0 0 20px 0;
  60. color: #eee;
  61. text-shadow: 0px 0px 6px rgba(0,0,0,0.2);
  62. }
  63. .reveal h1 {
  64. text-shadow: 0 1px 0 #ccc,
  65. 0 2px 0 #c9c9c9,
  66. 0 3px 0 #bbb,
  67. 0 4px 0 #b9b9b9,
  68. 0 5px 0 #aaa,
  69. 0 6px 1px rgba(0,0,0,.1),
  70. 0 0 5px rgba(0,0,0,.1),
  71. 0 1px 3px rgba(0,0,0,.3),
  72. 0 3px 5px rgba(0,0,0,.2),
  73. 0 5px 10px rgba(0,0,0,.25),
  74. 0 20px 20px rgba(0,0,0,.15);
  75. }
  76. /*********************************************
  77. * LINKS
  78. *********************************************/
  79. .reveal a:not(.image) {
  80. color: hsl(185, 85%, 50%);
  81. text-decoration: none;
  82. -webkit-transition: color .15s ease;
  83. -moz-transition: color .15s ease;
  84. -ms-transition: color .15s ease;
  85. -o-transition: color .15s ease;
  86. transition: color .15s ease;
  87. }
  88. .reveal a:not(.image):hover {
  89. color: hsl(185, 85%, 70%);
  90. text-shadow: none;
  91. border: none;
  92. border-radius: 2px;
  93. }
  94. .reveal .roll span:after {
  95. color: #fff;
  96. background: hsl(185, 60%, 35%);
  97. }
  98. /*********************************************
  99. * IMAGES
  100. *********************************************/
  101. .reveal section img {
  102. margin: 30px 0 0 0;
  103. background: rgba(255,255,255,0.12);
  104. border: 4px solid #eee;
  105. -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  106. -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  107. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  108. -webkit-transition: all .2s linear;
  109. -moz-transition: all .2s linear;
  110. -ms-transition: all .2s linear;
  111. -o-transition: all .2s linear;
  112. transition: all .2s linear;
  113. }
  114. .reveal a:hover img {
  115. background: rgba(255,255,255,0.2);
  116. border-color: #13DAEC;
  117. -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  118. -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  119. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  120. }
  121. /*********************************************
  122. * NAVIGATION CONTROLS
  123. *********************************************/
  124. .reveal .controls a {
  125. color: #fff;
  126. }
  127. .reveal .controls a.enabled {
  128. color: hsl(185, 85%, 70%);
  129. text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3);
  130. }
  131. /*********************************************
  132. * PROGRESS BAR
  133. *********************************************/
  134. .reveal .progress {
  135. background: rgba(0,0,0,0.2);
  136. }
  137. .reveal .progress span {
  138. background: hsl(185, 85%, 50%);
  139. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  140. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  141. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  142. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  143. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  144. }