mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-18 00:00:18 -07:00
* Moved style to CSS
This commit is contained in:
parent
de2e4e518b
commit
e163c5739f
@ -179,11 +179,11 @@
|
|||||||
<div id="text-input">
|
<div id="text-input">
|
||||||
<h1 data-i18n="insert-text">Insert Text</h1>
|
<h1 data-i18n="insert-text">Insert Text</h1>
|
||||||
<span>
|
<span>
|
||||||
<div style="display: inline-grid;position: relative;margin: auto 0;">
|
<div id="text-textarea">
|
||||||
<textarea id="insert-text-area" style="white-space: pre; height: 50vh;"></textarea>
|
<textarea id="insert-text-area"></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="display: inline-block;vertical-align: top;margin: auto;position: absolute; padding: 0px 0px 0px 10px;">
|
<div id="text-settings">
|
||||||
<label data-i18n="text-font">Font</label>
|
<label data-i18n="text-font">Font</label>
|
||||||
<select id="text-font">
|
<select id="text-font">
|
||||||
<option value="Serif">Serif</option>
|
<option value="Serif">Serif</option>
|
||||||
|
@ -660,3 +660,12 @@ body.high-contrast #control-overlay { background-color: var(--shade); }
|
|||||||
font-family: 'Unifont';
|
font-family: 'Unifont';
|
||||||
src: local('Unifont') url('unifont.ttf') url('unifont.otf');
|
src: local('Unifont') url('unifont.ttf') url('unifont.otf');
|
||||||
}
|
}
|
||||||
|
#insert-text-area { white-space: pre; height: 50vh; }
|
||||||
|
#text-textarea { display: inline-grid;position: relative;margin: auto 0; }
|
||||||
|
#text-settings {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: top;
|
||||||
|
margin: auto;
|
||||||
|
position: absolute;
|
||||||
|
padding: 0px 0px 0px 10px;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user