返回 reveal.js
sky.scss
根目录 / css / theme / sky.scss
1 /**
2 * Sky theme for reveal.js.
3 *
4 * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
5 */
6
7 // Load utils
8 @use 'sass:color';
9 @use 'template/mixins' as mixins;
10
11 $active-color: #2a76dd;
12
13 // Inject theme variables (with some overrides)
14 @use 'template/settings' with (
15 $background: radial-gradient(#f7fbfc, #add9e4),
16 $background-color: #f7fbfc,
17
18 $main-color: #333,
19 $main-font: "'Open Sans', sans-serif",
20
21 $heading-color: #333,
22 $heading-font: "'Quicksand', sans-serif",
23 $heading-letter-spacing: -0.05em,
24
25 $link-color: $active-color,
26 $link-color-hover: color.scale($active-color, $lightness: 15%),
27 $selection-color: #fff,
28 $selection-background-color: $active-color,
29
30 $overlay-element-bg-color: '0 0 0',
31 $overlay-element-fg-color: '240 240 240'
32 );
33
34 // Inject the theme template
35 @use 'template/theme';
36
37 // Include theme-specific fonts
38 @import url('https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic');
39 @import url('https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700');
40
41 // Change text when the background is inverted
42 @include mixins.dark-bg-text-color(#fff);
43
44 .reveal a {
45 line-height: 1.3em;
46 }
47
47 lines Plain Text