beige.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. * FONT-FACE DEFINITIONS
  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. /*********************************************
  21. * GLOBAL STYLES
  22. *********************************************/
  23. body {
  24. font-family: 'Lato', Times, 'Times New Roman', serif;
  25. font-size: 36px;
  26. font-weight: 200;
  27. letter-spacing: -0.02em;
  28. color: #333;
  29. background: #f7f3de;
  30. background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(247,242,211,1) 100%);
  31. 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)));
  32. background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
  33. background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
  34. background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
  35. background: radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
  36. }
  37. /*********************************************
  38. * HEADERS
  39. *********************************************/
  40. .reveal h1,
  41. .reveal h2,
  42. .reveal h3,
  43. .reveal h4,
  44. .reveal h5,
  45. .reveal h6 {
  46. margin: 0 0 20px 0;
  47. color: #333;
  48. font-family: 'League Gothic', Impact, sans-serif;
  49. line-height: 0.9em;
  50. letter-spacing: 0.02em;
  51. text-transform: uppercase;
  52. }
  53. .reveal h1 {
  54. text-shadow: 0 1px 0 #ccc,
  55. 0 2px 0 #c9c9c9,
  56. 0 3px 0 #bbb,
  57. 0 4px 0 #b9b9b9,
  58. 0 5px 0 #aaa,
  59. 0 6px 1px rgba(0,0,0,.1),
  60. 0 0 5px rgba(0,0,0,.1),
  61. 0 1px 3px rgba(0,0,0,.3),
  62. 0 3px 5px rgba(0,0,0,.2),
  63. 0 5px 10px rgba(0,0,0,.25),
  64. 0 20px 20px rgba(0,0,0,.15);
  65. }
  66. /*********************************************
  67. * LINKS
  68. *********************************************/
  69. .reveal a:not(.image) {
  70. color: #8b743d;
  71. text-decoration: none;
  72. -webkit-transition: color .15s ease;
  73. -moz-transition: color .15s ease;
  74. -ms-transition: color .15s ease;
  75. -o-transition: color .15s ease;
  76. transition: color .15s ease;
  77. }
  78. .reveal a:not(.image):hover {
  79. text-shadow: none;
  80. border: none;
  81. border-radius: 2px;
  82. }
  83. .reveal .roll span:after {
  84. color: #fff;
  85. background: #8b743d;
  86. }
  87. /*********************************************
  88. * IMAGES
  89. *********************************************/
  90. .reveal section img {
  91. margin: 30px 0 0 0;
  92. background: rgba(255,255,255,0.12);
  93. border: 4px solid #eee;
  94. -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  95. -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  96. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  97. -webkit-transition: all .2s linear;
  98. -moz-transition: all .2s linear;
  99. -ms-transition: all .2s linear;
  100. -o-transition: all .2s linear;
  101. transition: all .2s linear;
  102. }
  103. .reveal a:hover img {
  104. background: rgba(255,255,255,0.2);
  105. border-color: #8b743d;
  106. -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  107. -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  108. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  109. }
  110. /*********************************************
  111. * NAVIGATION CONTROLS
  112. *********************************************/
  113. .reveal .controls a {
  114. color: #fff;
  115. }
  116. .reveal .controls a.enabled {
  117. color: #8b743d;
  118. text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3);
  119. }
  120. /*********************************************
  121. * PROGRESS BAR
  122. *********************************************/
  123. .reveal .progress {
  124. background: rgba(0,0,0,0.2);
  125. }
  126. .reveal .progress span {
  127. background: #8b743d;
  128. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  129. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  130. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  131. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  132. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  133. }