serif.css 3.8 KB

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