Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (51 loc) · 1.68 KB
/
Copy pathindex.html
File metadata and controls
55 lines (51 loc) · 1.68 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
53
54
55
<!DOCTYPE html>
<html lang="en">
<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" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;1,600&display=swap"
rel="stylesheet"
/>
<title>Diastic Machine</title>
<style>
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
#poem {
border: 1px solid black;
padding: 0 2%;
box-sizing: border-box;
}
#poem > p {
font-family: "Cormorant Garamond", serif;
font-size: 2em;
}
input[type=text] {
width: 50vw;
margin-bottom: 2em;
border: none;
outline: none;
border-bottom: 1px solid black;
font-size: x-large;
padding: 1%;
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<input type="text" id="textInput" placeholder="jot down something...">
<div id="poem"></div>
</div>
<script src="text.js"></script>
<script src="main.js"></script>
</body>
</html>