simple.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. @import url(http://fonts.googleapis.com/css?family=News+Cycle:400,700);
  2. @import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
  3. /**
  4. * A simple theme for reveal.js presentations, similar
  5. * to the default theme. The accent color is darkblue.
  6. *
  7. * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
  8. * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
  9. */
  10. /*********************************************
  11. * GLOBAL STYLES
  12. *********************************************/
  13. body {
  14. background: white;
  15. }
  16. .reveal {
  17. font-family: "Lato", Times, "Times New Roman", serif;
  18. font-size: 36px;
  19. font-weight: 200;
  20. letter-spacing: -0.02em;
  21. color: black;
  22. }
  23. ::selection {
  24. color: white;
  25. background: rgba(0, 0, 0, 0.99);
  26. text-shadow: none;
  27. }
  28. /*********************************************
  29. * HEADERS
  30. *********************************************/
  31. .reveal h1,
  32. .reveal h2,
  33. .reveal h3,
  34. .reveal h4,
  35. .reveal h5,
  36. .reveal h6 {
  37. margin: 0 0 20px 0;
  38. color: black;
  39. font-family: "News Cycle", Impact, sans-serif;
  40. line-height: 0.9em;
  41. letter-spacing: 0.02em;
  42. text-transform: none;
  43. text-shadow: none;
  44. }
  45. .reveal h1 {
  46. text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
  47. }
  48. /*********************************************
  49. * LINKS
  50. *********************************************/
  51. .reveal a:not(.image) {
  52. color: darkblue;
  53. text-decoration: none;
  54. -webkit-transition: color .15s ease;
  55. -moz-transition: color .15s ease;
  56. -ms-transition: color .15s ease;
  57. -o-transition: color .15s ease;
  58. transition: color .15s ease;
  59. }
  60. .reveal a:not(.image):hover {
  61. color: #0000f1;
  62. text-shadow: none;
  63. border: none;
  64. border-radius: 2px;
  65. }
  66. .reveal .roll span:after {
  67. color: #fff;
  68. background: #00003f;
  69. }
  70. /*********************************************
  71. * IMAGES
  72. *********************************************/
  73. .reveal section img {
  74. margin: 15px;
  75. background: rgba(255, 255, 255, 0.12);
  76. border: 4px solid black;
  77. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  78. -webkit-transition: all .2s linear;
  79. -moz-transition: all .2s linear;
  80. -ms-transition: all .2s linear;
  81. -o-transition: all .2s linear;
  82. transition: all .2s linear;
  83. }
  84. .reveal a:hover img {
  85. background: rgba(255, 255, 255, 0.2);
  86. border-color: darkblue;
  87. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  88. }
  89. /*********************************************
  90. * NAVIGATION CONTROLS
  91. *********************************************/
  92. .reveal .controls div.left {
  93. border-right-color: black;
  94. }
  95. .reveal .controls div.right {
  96. border-left-color: black;
  97. }
  98. .reveal .controls div.up {
  99. border-bottom-color: black;
  100. }
  101. .reveal .controls div.down {
  102. border-top-color: black;
  103. }
  104. .reveal .controls div.left.enabled {
  105. border-right-color: #0000f1;
  106. }
  107. .reveal .controls div.right.enabled {
  108. border-left-color: #0000f1;
  109. }
  110. .reveal .controls div.up.enabled {
  111. border-bottom-color: #0000f1;
  112. }
  113. .reveal .controls div.down.enabled {
  114. border-top-color: #0000f1;
  115. }
  116. /*********************************************
  117. * PROGRESS BAR
  118. *********************************************/
  119. .reveal .progress {
  120. background: rgba(0, 0, 0, 0.2);
  121. }
  122. .reveal .progress span {
  123. background: darkblue;
  124. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  125. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  126. -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  127. -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  128. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  129. }