-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
92 lines (80 loc) · 1.54 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>React Placeholder</title>
<script src="react/react.js"></script>
<script src="react/react-dom.js"></script>
<script src="https://unpkg.com/[email protected]/browser.min.js"></script>
<style>
* {
box-sizing: border-box;
}
html,
body {
background: rgb(245, 245, 245);
color: rgb(60, 60, 60);
font-family: Arial;
margin: 0;
padding: 0;
}
p {
line-height: 1.5;
}
h1 {
text-align: center;
}
.container {
margin: 0 auto;
width: 600px;
}
.messages {
background: rgb(245, 245, 245);
padding: 1em 1em 1em 1em;
}
.message {
background: rgb(255, 255, 255);
border: 1px solid rgb(200, 200, 200);
display: inline-block;
margin: 0 0 1em 0;
padding: 1em 1em 1em 1em;
width: 100%;
}
.message-title,
.message-date {
float: left;
margin: 0;
padding: 0;
}
.message-title {
width: 85%;
}
.message-date {
font-style: italic;
margin: 0 0 0 2%;
width: 13%;
}
.placeholder .message-title,
.placeholder .message-date {
animation: pulse 1s infinite;
min-height: 1em;
text-indent: -99999px;
}
@keyframes pulse {
0% {
background-color: rgb(235, 235, 235);
}
50% {
background-color: rgb(245, 245, 245);
}
100% {
background-color: rgb(235, 235, 235);
}
}
</style>
</head>
<body>
<div id="root"></div>
<script type="text/babel" src="components/index.js"></script>
</body>
</html>