simple.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. @font-face {
  13. font-family: 'League Gothic';
  14. src: url('../../lib/font/league_gothic-webfont.eot');
  15. src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
  16. url('../../lib/font/league_gothic-webfont.woff') format('woff'),
  17. url('../../lib/font/league_gothic-webfont.ttf') format('truetype'),
  18. url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
  19. font-weight: normal;
  20. font-style: normal;
  21. }
  22. /*********************************************
  23. * GLOBAL STYLES
  24. *********************************************/
  25. body {
  26. font-family: 'Lato', Times, 'Times New Roman', serif;
  27. font-size: 36px;
  28. font-weight: 200;
  29. letter-spacing: -0.02em;
  30. color: black !important;
  31. background: white;
  32. }
  33. ::-moz-selection {
  34. background:rgba(0, 0, 0, 0.99);
  35. color: white;
  36. }
  37. ::-webkit-selection {
  38. background:rgba(0, 0, 0, 0.99);
  39. color: white;
  40. }
  41. ::selection {
  42. background:rgba(0, 0, 0, 0.99);
  43. color: white;
  44. }
  45. /*********************************************
  46. * HEADERS
  47. *********************************************/
  48. .reveal h1,
  49. .reveal h2,
  50. .reveal h3,
  51. .reveal h4,
  52. .reveal h5,
  53. .reveal h6 {
  54. margin: 0 0 20px 0;
  55. color: black;
  56. font-family: 'League Gothic', Impact, sans-serif;
  57. line-height: 0.9em;
  58. letter-spacing: 0.02em;
  59. text-transform: uppercase;
  60. }
  61. .reveal h1 {
  62. border-bottom: 5px dashed black;
  63. }
  64. /*********************************************
  65. * LINKS
  66. *********************************************/
  67. .reveal a:not(.image) {
  68. color: darkblue;
  69. text-decoration: none;
  70. -webkit-transition: color .15s ease;
  71. -moz-transition: color .15s ease;
  72. -ms-transition: color .15s ease;
  73. -o-transition: color .15s ease;
  74. transition: color .15s ease;
  75. }
  76. .reveal a:not(.image):hover {
  77. text-shadow: none;
  78. border: none;
  79. border-radius: 2px;
  80. }
  81. .reveal .roll span:after {
  82. color: #fff;
  83. background: darkblue;
  84. }
  85. /*********************************************
  86. * IMAGES
  87. *********************************************/
  88. .reveal section img {
  89. margin: 30px 0 0 0;
  90. background: rgba(255,255,255,0.12);
  91. border: 4px solid #eee;
  92. -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  93. -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  94. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  95. -webkit-transition: all .2s linear;
  96. -moz-transition: all .2s linear;
  97. -ms-transition: all .2s linear;
  98. -o-transition: all .2s linear;
  99. transition: all .2s linear;
  100. }
  101. .reveal a:hover img {
  102. background: rgba(255,255,255,0.2);
  103. border-color: darkblue;
  104. -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  105. -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  106. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  107. }
  108. /*********************************************
  109. * NAVIGATION CONTROLS
  110. *********************************************/
  111. .reveal .controls a {
  112. color: black;
  113. }
  114. .reveal .controls a.enabled {
  115. color: darkblue;
  116. opacity: 1;
  117. text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3);
  118. }
  119. /*********************************************
  120. * PROGRESS BAR
  121. *********************************************/
  122. .reveal .progress {
  123. background: rgba(0,0,0,0.2);
  124. }
  125. .reveal .progress span {
  126. background: darkblue;
  127. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  128. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  129. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  130. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  131. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  132. }