simple.css 3.8 KB

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