-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (103 loc) · 2.56 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Photo Frame" />
<link rel="icon" href="./favicon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" sizes="180x180" href="./icon-180.png" />
<title>Photo Frame</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
body {
margin: 0;
background: #171717;
font-family: 'Poppins', sans-serif;
}
img {
border-radius: 7%;
}
button {
display: inline-flex;
align-items: center;
background: none;
border: 1px solid #333;
padding: 0.5em 1em;
border-radius: 0.25em;
}
button:hover:not(:disabled) {
background: #ddd;
}
button svg {
margin-right: 0.35em;
}
h2 {
margin-top: 0.5em;
}
.albums {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.album {
display: flex;
align-items: center;
user-select: none;
cursor: pointer;
}
.albums > .album {
margin: 1em 0;
width: 300px;
max-width: 300px;
}
.photoList .photo {
margin: 0.35em;
}
.flex {
display: flex;
}
.align-center {
align-items: center;
}
.justify-center {
justify-content: center;
}
.justify-space-between {
justify-content: space-between;
}
@supports (display: grid) {
.albums {
display: grid;
grid-template-columns: repeat(auto-fill, 12em);
place-content: flex-start space-between;
gap: 1.5em;
}
.albums > .album {
margin: unset;
width: unset;
max-width: unset;
}
.photoList .photo {
margin: unset;
}
}
.inverse,
.inverse button {
color: #cacaca;
}
.inverse button {
border-color: #cacaca;
}
.inverse button:hover:not(:disabled) {
background: #555;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="./src/index.jsx"></script>
</body>
</html>