migrate to new git
This commit is contained in:
26
web/admin/order/js/font-resize.css
Normal file
26
web/admin/order/js/font-resize.css
Normal file
@@ -0,0 +1,26 @@
|
||||
.text-block {
|
||||
/* border: .25pt solid #000; */
|
||||
/* margin: 5mm; */
|
||||
|
||||
font-family: 標楷體;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
||||
/* --divw: 120mm; */
|
||||
/* --divh: 50mm; */
|
||||
--line_len: 10;
|
||||
--lines: 1;
|
||||
--fs_w: var(--divw)/var(--line_len);
|
||||
--fs_h: var(--divh)/var(--lines);
|
||||
--fs: min(var(--fs_w), var(--fs_h));
|
||||
|
||||
width: var(--divw);
|
||||
height: var(--divh);
|
||||
|
||||
font-size: var(--fs);
|
||||
line-height: calc(var(--fs_h) * 1.0);
|
||||
}
|
||||
|
||||
.vertical {
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
Reference in New Issue
Block a user