Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

blood.scss 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /**
  2. * Blood theme for reveal.js
  3. * Author: Walther http://github.com/Walther
  4. *
  5. * Designed to be used with highlight.js theme
  6. * "monokai_sublime.css" available from
  7. * https://github.com/isagalaev/highlight.js/
  8. *
  9. * For other themes, change $codeBackground accordingly.
  10. *
  11. */
  12. // Default mixins and settings -----------------
  13. @import "../template/mixins";
  14. @import "../template/settings";
  15. // ---------------------------------------------
  16. // Include theme-specific fonts
  17. @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic);
  18. // Colors used in the theme
  19. $blood: #a23;
  20. $coal: #222;
  21. $codeBackground: #23241f;
  22. $backgroundColor: $coal;
  23. // Main text
  24. $mainFont: Ubuntu, 'sans-serif';
  25. $mainColor: #eee;
  26. // Headings
  27. $headingFont: Ubuntu, 'sans-serif';
  28. $headingTextShadow: 2px 2px 2px $coal;
  29. // h1 shadow, borrowed humbly from
  30. // (c) Default theme by Hakim El Hattab
  31. $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15);
  32. // Links
  33. $linkColor: $blood;
  34. $linkColorHover: lighten( $linkColor, 20% );
  35. // Text selection
  36. $selectionBackgroundColor: $blood;
  37. $selectionColor: #fff;
  38. // Change text colors against dark slide backgrounds
  39. @include light-bg-text-color(#222);
  40. // Theme template ------------------------------
  41. @import "../template/theme";
  42. // ---------------------------------------------
  43. // some overrides after theme template import
  44. .reveal p {
  45. font-weight: 300;
  46. text-shadow: 1px 1px $coal;
  47. }
  48. section.has-light-background {
  49. p, h1, h2, h3, h4 {
  50. text-shadow: none;
  51. }
  52. }
  53. .reveal h1,
  54. .reveal h2,
  55. .reveal h3,
  56. .reveal h4,
  57. .reveal h5,
  58. .reveal h6 {
  59. font-weight: 700;
  60. }
  61. .reveal p code {
  62. background-color: $codeBackground;
  63. display: inline-block;
  64. border-radius: 7px;
  65. }
  66. .reveal small code {
  67. vertical-align: baseline;
  68. }