-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathno-slides.html
53 lines (45 loc) · 1.61 KB
/
no-slides.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>No slides - macro-carousel demo</title>
<link rel="stylesheet" href="css/third-party/prism.css">
<link rel="stylesheet" href="css/demo.css">
</head>
<body>
<h1 id="title">No slides</h1>
<a id="backToIndex" href="index.html">See all demos</a>
<template id="demoTemplate">
<style>
/*
The `No content available` message typography styles (like `color`,
`font-*`, ...) can be applied directly to the `macro-carousel` tag.
The fallback message background can be set via the
`--macro-carousel-fallback-message-color-background` CSS Custom Property.
*/
macro-carousel {
height: 300px;
max-width: 800px;
margin: 0 auto;
color: #fff;
font-family: Roboto, arial, sans-serif;
font-weight: 300;
font-size: 1.5rem;
--macro-carousel-fallback-message-color-background: #103e69;
}
</style>
<!--
When there are no slides in the light DOM associated to `slot#slidesSlot`,
the carousel shows a `No content available` message.
-->
<macro-carousel></macro-carousel>
</template>
<script defer src="js/third-party/inert.min.js"></script>
<script defer src="js/third-party/focus-visible.js"></script>
<script defer src="js/third-party/prism.js" data-manual></script>
<script defer src="js/third-party/webcomponents-bundle.js"></script>
<script defer src="js/demo.js"></script>
</body>
</html>