-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (44 loc) · 1.13 KB
/
Copy pathindex.html
File metadata and controls
52 lines (44 loc) · 1.13 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vanilla JS GitHub Calendar</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
background-color: #ffffff;
color: #24292f;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #0d1117;
color: #c9d1d9;
}
}
.container {
border: 1px solid #d0d7de;
border-radius: 6px;
padding: 20px;
margin-bottom: 20px;
}
@media (prefers-color-scheme: dark) {
.container {
border-color: #30363d;
}
}
</style>
<script type="module" src="/src/index.js"></script>
</head>
<body>
<h1>Vanilla JS GitHub Calendar</h1>
<div class="container">
<h2>Light/Dark Auto Theme (default)</h2>
<github-calendar username="moonhuntercode"></github-calendar>
</div>
</body>
</html>