-
Notifications
You must be signed in to change notification settings - Fork 28
/
index.html
116 lines (113 loc) · 2.15 KB
/
index.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!doctype html>
<head>
<meta charset="utf-8">
<title>Slide</title>
<!--<style>
.slide {
outline: thick dotted red;
}
.slide-content {
outline: medium dotted green;
}
.slide-content > * {
outline: thin dashed blue;
}
#page-box {
position: fixed;
border: 100px double silver;
}
</style>-->
<style>
html {
font-family: Noto Sans CJK SC, PingFang SC, Hiragino Sans GB;
}
ol, ul {
padding-left: 1.34em;
-webkit-padding-start: 1.34em;
padding-inline-start: 1.34em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
ol:first-child, ul:first-child {
margin-top: 0;
}
pre > code {
tab-size: 2 !important;
}
strong {
color: red
}
a {
color: blue;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.slide {
display: flow-root;
}
.slide-content {
position: relative;
top: 50%;
left: 50%;
width: fit-content;
transform: translate(-50%, -50%);
}
.slide-content > * {
width: max-content;
}
</style>
<style media="screen">
.slide {
position: fixed;
left: 5%; right: 5%;
top: 5%; bottom: 96px;
visibility: hidden;
}
.current.slide {
visibility: visible;
}
.comma ~ * {
visibility: hidden;
}
s.comma {
text-decoration: none;
}
s.comma + em {
visibility: hidden;
}
</style>
<style media="print">
body {
margin: 0;
counter-reset: slide;
}
.slide {
width: 70vw;
height: 70vh;
page-break-after: always;
margin: 15vh 15vw;
position: relative;
}
.slide::after {
content: attr(data-url);
position: absolute;
bottom: -15vh;
right: -15vw;
font-size: 2vw;
color: silver;
}
.controls {
display: none;
}
</style>
<!--<script src="https://unpkg.com/rainbow-code/dist/rainbow.min.js"></script>-->
<link rel="stylesheet" href="https://unpkg.com/prismjs/themes/prism.css">
<script src="https://unpkg.com/prismjs/components/prism-core.min.js"></script>
<script src="https://unpkg.com/prismjs/components/prism-clike.min.js"></script>
<script src="https://unpkg.com/prismjs/components/prism-javascript.min.js"></script>
<script src="https://unpkg.com/prismjs/components/prism-php.min.js"></script>
<body>
<!--<div id="page-box"></div>-->
<script src="../../takahashi/index.js"></script>