serif.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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. * FONTS
  11. *********************************************/
  12. .reveal {
  13. font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
  14. font-size: 36px;
  15. font-weight: 200;
  16. letter-spacing: -0.02em;
  17. }
  18. .reveal h1,
  19. .reveal h2,
  20. .reveal h3,
  21. .reveal h4,
  22. .reveal h5,
  23. .reveal h6 {
  24. font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
  25. line-height: 0.9em;
  26. }
  27. /*********************************************
  28. * GLOBAL STYLES
  29. *********************************************/
  30. body {
  31. color: black !important;
  32. background: #F0F1EB;
  33. }
  34. ::-moz-selection {
  35. background: #26351C;
  36. color: rgba(255,255,255, 0.8);
  37. }
  38. ::-webkit-selection {
  39. background: #26351C;
  40. color: rgba(255,255,255, 0.8);
  41. }
  42. ::selection {
  43. background: #26351C;
  44. color: rgba(255,255,255, 0.8);
  45. }
  46. /*********************************************
  47. * HEADERS
  48. *********************************************/
  49. .reveal h1,
  50. .reveal h2,
  51. .reveal h3,
  52. .reveal h4,
  53. .reveal h5,
  54. .reveal h6 {
  55. margin: 0 0 40px 0;
  56. color: #383D3D;
  57. }
  58. /*********************************************
  59. * LINKS
  60. *********************************************/
  61. .reveal a:not(.image) {
  62. color: #51483D;
  63. text-decoration: none;
  64. font-weight: bold;
  65. line-height: 1.4em;
  66. -webkit-transition: color .15s ease;
  67. -moz-transition: color .15s ease;
  68. -ms-transition: color .15s ease;
  69. -o-transition: color .15s ease;
  70. transition: color .15s ease;
  71. }
  72. .reveal a:not(.image):hover {
  73. text-shadow: none;
  74. border: none;
  75. border-radius: 2px;
  76. }
  77. .reveal .roll span:after {
  78. color: #fff;
  79. background: #51483D;
  80. }
  81. /*********************************************
  82. * MISC
  83. *********************************************/
  84. .reveal p {
  85. line-height: 1.4em;
  86. font-size: 1.15em;
  87. color: #111;
  88. }
  89. .reveal .subtitle {
  90. font-style: italic;
  91. }
  92. /*********************************************
  93. * IMAGES
  94. *********************************************/
  95. .reveal section img {
  96. margin: 30px 0 0 0;
  97. background: rgba(255,255,255,0.12);
  98. border: 4px solid #eee;
  99. -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  100. -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  101. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  102. -webkit-transition: all .2s linear;
  103. -moz-transition: all .2s linear;
  104. -ms-transition: all .2s linear;
  105. -o-transition: all .2s linear;
  106. transition: all .2s linear;
  107. }
  108. .reveal a:hover img {
  109. background: rgba(255,255,255,0.2);
  110. border-color: darkblue;
  111. -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  112. -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  113. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  114. }
  115. /*********************************************
  116. * NAVIGATION CONTROLS
  117. *********************************************/
  118. .reveal .controls a {
  119. color: black;
  120. }
  121. .reveal .controls a.enabled {
  122. color: #26351C;
  123. opacity: 1;
  124. text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3);
  125. }
  126. /*********************************************
  127. * PROGRESS BAR
  128. *********************************************/
  129. .reveal .progress {
  130. background: rgba(0,0,0,0.2);
  131. }
  132. .reveal .progress span {
  133. background: #26351C;
  134. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  135. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  136. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  137. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  138. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  139. }