-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (71 loc) · 2.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Creative Writer</title>
<style>
body {
background-color: black;
color: white;
font-family: Arial, sans-serif;
}
.container {
display: flex;
justify-content: center;
align-items: center;
height: 90vh;
}
.text-area {
width: 600px;
height: 400px;
background-color: white;
color: black;
padding: 10px;
border: 1px solid white;
overflow-wrap: break-word;
word-wrap: break-word;
white-space: pre-wrap;
background-color: rgb(54, 54, 54);
color: white;
}
.cw-button {
width: 100px;
height: 50px;
background-color: white;
color: black;
padding: 10px;
border: 1px solid white;
overflow-wrap: break-word;
word-wrap: break-word;
white-space: pre-wrap;
background-color: rgb(54, 54, 54);
color: white;
margin-top: 5px;
margin-right: 5px;
}
.cw-button:hover
{
border-color: rgb(3, 255, 36);
color:rgb(3, 255, 36);
}
.vertical-div
{
display: flex;
flex-direction: column;
}
</style>
</head>
<body>
<div class="container">
<div class="vertical-div ">
<textarea class="text-area" id="writerContent" placeholder="Enter your text here..."></textarea>
<div style="align-self: center;">
<button class="cw-button" id="saveButton">Save</button>
<button class="cw-button" id="openFile">Open File</button>
</div>
</div>
</div>
</body>
<script src="main.js"></script>
</html>