simple.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /**
  2. * A simple theme for reveal.js presentations, similar
  3. * to the default theme. The accent color is darkblue;
  4. * do a find-replace to change it.
  5. *
  6. * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
  7. * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se; so is the theme - beige.css - that this is based off of.
  8. */
  9. /*********************************************
  10. * FONT-FACE DEFINITIONS
  11. *********************************************/
  12. @import url(http://fonts.googleapis.com/css?family=News+Cycle:400,700);
  13. /*********************************************
  14. * GLOBAL STYLES
  15. *********************************************/
  16. body {
  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 !important;
  22. background: white;
  23. }
  24. ::-moz-selection {
  25. background:rgba(0, 0, 0, 0.99);
  26. color: white;
  27. }
  28. ::-webkit-selection {
  29. background:rgba(0, 0, 0, 0.99);
  30. color: white;
  31. }
  32. ::selection {
  33. background:rgba(0, 0, 0, 0.99);
  34. color: white;
  35. }
  36. /*********************************************
  37. * HEADERS
  38. *********************************************/
  39. .reveal h1,
  40. .reveal h2,
  41. .reveal h3,
  42. .reveal h4,
  43. .reveal h5,
  44. .reveal h6 {
  45. margin: 0 0 20px 0;
  46. color: black;
  47. font-family: 'News Cycle', Impact, sans-serif;
  48. line-height: 0.9em;
  49. text-transform: uppercase;
  50. }
  51. /*********************************************
  52. * LINKS
  53. *********************************************/
  54. .reveal a:not(.image) {
  55. color: darkblue;
  56. text-decoration: none;
  57. -webkit-transition: color .15s ease;
  58. -moz-transition: color .15s ease;
  59. -ms-transition: color .15s ease;
  60. -o-transition: color .15s ease;
  61. transition: color .15s ease;
  62. }
  63. .reveal a:not(.image):hover {
  64. text-shadow: none;
  65. border: none;
  66. border-radius: 2px;
  67. }
  68. .reveal .roll span:after {
  69. color: #fff;
  70. background: darkblue;
  71. }
  72. /*********************************************
  73. * IMAGES
  74. *********************************************/
  75. .reveal section img {
  76. margin: 30px 0 0 0;
  77. background: rgba(255,255,255,0.12);
  78. border: 4px solid #eee;
  79. -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  80. -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  81. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  82. -webkit-transition: all .2s linear;
  83. -moz-transition: all .2s linear;
  84. -ms-transition: all .2s linear;
  85. -o-transition: all .2s linear;
  86. transition: all .2s linear;
  87. }
  88. .reveal a:hover img {
  89. background: rgba(255,255,255,0.2);
  90. border-color: darkblue;
  91. -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  92. -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  93. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  94. }
  95. /*********************************************
  96. * NAVIGATION CONTROLS
  97. *********************************************/
  98. .reveal .controls a {
  99. color: black;
  100. }
  101. .reveal .controls a.enabled {
  102. color: darkblue;
  103. opacity: 1;
  104. text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3);
  105. }
  106. /*********************************************
  107. * PROGRESS BAR
  108. *********************************************/
  109. .reveal .progress {
  110. background: rgba(0,0,0,0.2);
  111. }
  112. .reveal .progress span {
  113. background: darkblue;
  114. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  115. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  116. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  117. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  118. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  119. }