beige.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. /**
  2. * A beige theme for reveal.js presentations, similar
  3. * to the default theme.
  4. *
  5. * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
  6. */
  7. /*********************************************
  8. * FONTS
  9. *********************************************/
  10. @font-face {
  11. font-family: 'League Gothic';
  12. src: url('../../lib/font/league_gothic-webfont.eot');
  13. src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
  14. url('../../lib/font/league_gothic-webfont.woff') format('woff'),
  15. url('../../lib/font/league_gothic-webfont.ttf') format('truetype'),
  16. url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
  17. font-weight: normal;
  18. font-style: normal;
  19. }
  20. .reveal {
  21. font-family: 'Lato', Times, 'Times New Roman', serif;
  22. font-size: 36px;
  23. font-weight: 200;
  24. letter-spacing: -0.02em;
  25. }
  26. .reveal h1,
  27. .reveal h2,
  28. .reveal h3,
  29. .reveal h4,
  30. .reveal h5,
  31. .reveal h6 {
  32. font-family: 'League Gothic', Impact, sans-serif;
  33. line-height: 0.9em;
  34. letter-spacing: 0.02em;
  35. text-transform: uppercase;
  36. }
  37. /*********************************************
  38. * GLOBAL STYLES
  39. *********************************************/
  40. body {
  41. color: #333;
  42. background: #f7f3de;
  43. background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(247,242,211,1) 100%);
  44. background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(247,242,211,1)));
  45. background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
  46. background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
  47. background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
  48. background: radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
  49. }
  50. ::-moz-selection {
  51. background:rgba(79, 64, 28, 0.99);
  52. color: white;
  53. }
  54. ::-webkit-selection {
  55. background:rgba(79, 64, 28, 0.99);
  56. color: white;
  57. }
  58. ::selection {
  59. background:rgba(79, 64, 28, 0.99);
  60. color: white;
  61. }
  62. /*********************************************
  63. * HEADERS
  64. *********************************************/
  65. .reveal h1,
  66. .reveal h2,
  67. .reveal h3,
  68. .reveal h4,
  69. .reveal h5,
  70. .reveal h6 {
  71. margin: 0 0 20px 0;
  72. color: #333;
  73. }
  74. .reveal h1 {
  75. text-shadow: 0 1px 0 #ccc,
  76. 0 2px 0 #c9c9c9,
  77. 0 3px 0 #bbb,
  78. 0 4px 0 #b9b9b9,
  79. 0 5px 0 #aaa,
  80. 0 6px 1px rgba(0,0,0,.1),
  81. 0 0 5px rgba(0,0,0,.1),
  82. 0 1px 3px rgba(0,0,0,.3),
  83. 0 3px 5px rgba(0,0,0,.2),
  84. 0 5px 10px rgba(0,0,0,.25),
  85. 0 20px 20px rgba(0,0,0,.15);
  86. }
  87. /*********************************************
  88. * LINKS
  89. *********************************************/
  90. .reveal a:not(.image) {
  91. color: #8b743d;
  92. text-decoration: none;
  93. -webkit-transition: color .15s ease;
  94. -moz-transition: color .15s ease;
  95. -ms-transition: color .15s ease;
  96. -o-transition: color .15s ease;
  97. transition: color .15s ease;
  98. }
  99. .reveal a:not(.image):hover {
  100. text-shadow: none;
  101. border: none;
  102. border-radius: 2px;
  103. }
  104. .reveal .roll span:after {
  105. color: #fff;
  106. background: #8b743d;
  107. }
  108. /*********************************************
  109. * IMAGES
  110. *********************************************/
  111. .reveal section img {
  112. margin: 30px 0 0 0;
  113. background: rgba(255,255,255,0.12);
  114. border: 4px solid #eee;
  115. -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  116. -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  117. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  118. -webkit-transition: all .2s linear;
  119. -moz-transition: all .2s linear;
  120. -ms-transition: all .2s linear;
  121. -o-transition: all .2s linear;
  122. transition: all .2s linear;
  123. }
  124. .reveal a:hover img {
  125. background: rgba(255,255,255,0.2);
  126. border-color: #8b743d;
  127. -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  128. -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  129. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  130. }
  131. /*********************************************
  132. * NAVIGATION CONTROLS
  133. *********************************************/
  134. .reveal .controls a {
  135. color: #fff;
  136. }
  137. .reveal .controls a.enabled {
  138. color: #8b743d;
  139. text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3);
  140. }
  141. /*********************************************
  142. * PROGRESS BAR
  143. *********************************************/
  144. .reveal .progress {
  145. background: rgba(0,0,0,0.2);
  146. }
  147. .reveal .progress span {
  148. background: #8b743d;
  149. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  150. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  151. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  152. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  153. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  154. }