sky.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /**
  2. * Sky theme for reveal.js presentations.
  3. *
  4. * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
  5. */
  6. /*********************************************
  7. * FONTS
  8. *********************************************/
  9. @import url(http://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
  10. @import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
  11. .reveal {
  12. font-family: 'Open Sans', sans-serif;
  13. font-size: 36px;
  14. font-weight: 200;
  15. letter-spacing: -0.02em;
  16. }
  17. .reveal h1,
  18. .reveal h2,
  19. .reveal h3,
  20. .reveal h4,
  21. .reveal h5,
  22. .reveal h6 {
  23. font-family: 'Quicksand', sans-serif;
  24. line-height: 0.9em;
  25. letter-spacing: -0.08em;
  26. text-transform: uppercase;
  27. }
  28. /*********************************************
  29. * GLOBAL STYLES
  30. *********************************************/
  31. body {
  32. color: #333;
  33. background: #f7fbfc;
  34. background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNmN2ZiZmMiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjYWRkOWU0IiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  35. background: -moz-radial-gradient(center, ellipse cover, #f7fbfc 0%, #add9e4 100%);
  36. background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#f7fbfc), color-stop(100%,#add9e4));
  37. background: -webkit-radial-gradient(center, ellipse cover, #f7fbfc 0%,#add9e4 100%);
  38. background: -o-radial-gradient(center, ellipse cover, #f7fbfc 0%,#add9e4 100%);
  39. background: -ms-radial-gradient(center, ellipse cover, #f7fbfc 0%,#add9e4 100%);
  40. background: radial-gradient(ellipse at center, #f7fbfc 0%,#add9e4 100%);
  41. }
  42. ::-moz-selection {
  43. background: #134674;
  44. color: white;
  45. }
  46. ::-webkit-selection {
  47. background: #134674;
  48. color: white;
  49. }
  50. ::selection {
  51. background: #134674;
  52. color: white;
  53. }
  54. /*********************************************
  55. * HEADERS
  56. *********************************************/
  57. .reveal h1,
  58. .reveal h2,
  59. .reveal h3,
  60. .reveal h4,
  61. .reveal h5,
  62. .reveal h6 {
  63. margin: 0 0 20px 0;
  64. color: #333;
  65. }
  66. /*********************************************
  67. * LINKS
  68. *********************************************/
  69. .reveal a:not(.image) {
  70. color: #3b759e;
  71. text-decoration: none;
  72. -webkit-transition: color .15s ease;
  73. -moz-transition: color .15s ease;
  74. -ms-transition: color .15s ease;
  75. -o-transition: color .15s ease;
  76. transition: color .15s ease;
  77. }
  78. .reveal a:not(.image):hover {
  79. text-shadow: none;
  80. border: none;
  81. border-radius: 2px;
  82. }
  83. .reveal .roll span:after {
  84. color: #fff;
  85. background: #3b759e;
  86. }
  87. /*********************************************
  88. * MISC
  89. *********************************************/
  90. .reveal section img {
  91. margin: 30px 0 0 0;
  92. background: rgba(255,255,255,0.12);
  93. border: 1px solid #ddd;
  94. -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  95. -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  96. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  97. -webkit-transition: all .2s linear;
  98. -moz-transition: all .2s linear;
  99. -ms-transition: all .2s linear;
  100. -o-transition: all .2s linear;
  101. transition: all .2s linear;
  102. }
  103. .reveal a:hover img {
  104. background: rgba(255,255,255,0.2);
  105. border-color: #3b759e;
  106. -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  107. -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  108. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  109. }
  110. .reveal blockquote {
  111. background: rgba(255, 255, 255, 0.4);
  112. }
  113. .reveal p {
  114. margin-bottom: 20px;
  115. }
  116. /*********************************************
  117. * NAVIGATION CONTROLS
  118. *********************************************/
  119. .reveal .controls a {
  120. color: #fff;
  121. }
  122. .reveal .controls a.enabled {
  123. color: #3b759e;
  124. text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3);
  125. }
  126. /*********************************************
  127. * PROGRESS BAR
  128. *********************************************/
  129. .reveal .progress {
  130. background: rgba(0,0,0,0.2);
  131. }
  132. .reveal .progress span {
  133. background: #3b759e;
  134. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  135. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  136. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  137. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  138. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  139. }