sky.css 4.6 KB

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