Skip to content

Commit d848c55

Browse files
committed
Add .editor class and create container div
1 parent 91a4cf2 commit d848c55

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

src/index2.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@
5252
</div>
5353
</div>
5454
</div>
55-
<textarea id="editor_css">/* CSS Editor */</textarea>
56-
<textarea id="editor_js">// JS Editor</textarea>
55+
<textarea id="editor_css" class="editor">/* CSS Editor */</textarea>
56+
<textarea id="editor_js" class="editor">// JS Editor</textarea>
5757
</div>
5858

5959
<!-- Settings Page -->
60-
<section id="settings_page">
61-
<h1>Settings</h1>
60+
<section id="settings_page_container">
61+
<div id="settings_page">
62+
<h1>Settings</h1>
63+
</div>
6264
</section>
6365

6466
</body>

src/style.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ textarea {
6666
#editor_events {
6767
outline: 1px solid lime;
6868
}
69-
#editor_page {
70-
/* display: block !important; */
69+
.editor {
70+
padding: 8px;
71+
font-size: 14px;
72+
font-family: Consolas, 'Courier New', monospace;
73+
background: black;
74+
width: 480px;
75+
height: 490px;
76+
border: 0;
77+
resize: none;
78+
color: #cccccc;
7179
}

0 commit comments

Comments
 (0)