default.css 5.2 KB

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