Skip to content

Commit 8953470

Browse files
committed
Refined online mod maker
1 parent 0b8bebb commit 8953470

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

plugins/template/tools/onlinemodmaker.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
.toolDescription {
6363
font-family: 'Minecraft Regular';
6464
font-size: 14pt;
65+
margin: 10px;
6566
}
6667
code {
6768
word-break: break-all;
@@ -154,7 +155,7 @@
154155
<option value="zombie_pigman">zombie_pigman</option>
155156
<option value="zombie_villager">zombie_villager</option>
156157
</select>
157-
<textarea id="file-contents" placeholder="Please select a file."></textarea>
158+
<textarea id="file-contents" placeholder=""></textarea>
158159
<br>
159160
<button id="save-btn">Save File</button>
160161

tools/onlinemodmaker/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#templateContainer {
1616
position: absolute;
1717
top: 12em;
18+
width: 94vw !important;
1819
margin-left: 3vw;
19-
margin-right: 3vw;
2020
}
2121
.modMakerHeader {
2222
width: 100%;
@@ -27,6 +27,7 @@
2727
font-size: 24pt;
2828
margin-top: 100px;
2929
background-color: rgba(255, 255, 255, 0.1);
30+
text-indent: 0.5em;
3031
}
3132
</style>
3233
</head>
@@ -57,7 +58,8 @@
5758
</div>
5859

5960
<div class="modMakerHeader">
60-
<div style="margin-left: 30px; margin-right: 3vw; position: relative; top: 13px;">
61+
<div style="position: relative; top: 13px;">
62+
<img src="/img/gui/tools.png" style="image-rendering: pixelated; filter: drop-shadow(0 0 1px black); position: relative; left: 4px; top: 2px;">
6163
Online Mod Maker<br>
6264
</div>
6365
</div>
@@ -68,7 +70,7 @@
6870
const container = document.getElementById('templateContainer');
6971
const iframe = document.createElement('iframe');
7072
iframe.src = '/plugins/template/tools/onlinemodmaker.html';
71-
iframe.style.width = 'calc(100% - 6vw)';
73+
iframe.style.width = '94vw';
7274
iframe.style.height = '100vh';
7375
iframe.style.border = 'none';
7476
container.appendChild(iframe);

0 commit comments

Comments
 (0)