Spaces:
Sleeping
Sleeping
drakosfire
commited on
Commit
•
dcc8bc7
1
Parent(s):
454d813
Modified padding on .page width from 1.9cm to 1.2 cm, set classTable.frame width to 95%, set columnWrapper width to 100%, in storeUI.html moved buttons out of brewRenderer and to top layer of page-container
Browse files- storeUI.css +4 -1
- storeUI.html +4 -2
storeUI.css
CHANGED
@@ -75,7 +75,7 @@
|
|
75 |
box-sizing: border-box;
|
76 |
width: 215.9mm;
|
77 |
height: 279.4mm; /* Original height for print layout */
|
78 |
-
padding: 1.4cm 1.
|
79 |
overflow: hidden;
|
80 |
font-family: "BookInsanityRemake";
|
81 |
font-size: .34cm;
|
@@ -86,6 +86,7 @@
|
|
86 |
page-break-before: always;
|
87 |
page-break-after: always;
|
88 |
contain: size;
|
|
|
89 |
}
|
90 |
|
91 |
.page .monster hr:last-of-type + * {
|
@@ -112,6 +113,7 @@
|
|
112 |
cursor: pointer;
|
113 |
}
|
114 |
.page .classTable.frame{
|
|
|
115 |
margin-right:0.1cm;
|
116 |
margin-left: 0.1cm;
|
117 |
}
|
@@ -125,6 +127,7 @@
|
|
125 |
word-wrap: break-word; /* Break long words to prevent overflow */
|
126 |
}
|
127 |
.columnWrapper {
|
|
|
128 |
column-gap: inherit;
|
129 |
max-height: 100%;
|
130 |
column-span: all;
|
|
|
75 |
box-sizing: border-box;
|
76 |
width: 215.9mm;
|
77 |
height: 279.4mm; /* Original height for print layout */
|
78 |
+
padding: 1.4cm 1.2cm 1.7cm;
|
79 |
overflow: hidden;
|
80 |
font-family: "BookInsanityRemake";
|
81 |
font-size: .34cm;
|
|
|
86 |
page-break-before: always;
|
87 |
page-break-after: always;
|
88 |
contain: size;
|
89 |
+
|
90 |
}
|
91 |
|
92 |
.page .monster hr:last-of-type + * {
|
|
|
113 |
cursor: pointer;
|
114 |
}
|
115 |
.page .classTable.frame{
|
116 |
+
width: 95%;
|
117 |
margin-right:0.1cm;
|
118 |
margin-left: 0.1cm;
|
119 |
}
|
|
|
127 |
word-wrap: break-word; /* Break long words to prevent overflow */
|
128 |
}
|
129 |
.columnWrapper {
|
130 |
+
width: 100%;
|
131 |
column-gap: inherit;
|
132 |
max-height: 100%;
|
133 |
column-span: all;
|
storeUI.html
CHANGED
@@ -21,9 +21,9 @@
|
|
21 |
<!-- Blocks will be wrapped in a page div and loaded here -->
|
22 |
</div>
|
23 |
</div>
|
|
|
24 |
<div class="page-container" id="pageContainer">
|
25 |
-
<
|
26 |
-
<h1>Describe your creature</h1>
|
27 |
<textarea id="user-description" class="user-description-textarea"
|
28 |
hx-post="/update-stats" hx-trigger="change"
|
29 |
hx-target="#user-description" hx-swap="outerHTML"
|
@@ -32,6 +32,8 @@
|
|
32 |
<button id="parseHTML">Parse HTML</button>
|
33 |
<button id="resetButton">Reset</button>
|
34 |
<button onclick="printPageContainer()">Print to PDF</button>
|
|
|
|
|
35 |
<div class="pages" id="pages">
|
36 |
<div id="page-1" class="page" data-page-id="page-0">
|
37 |
<div class="columnWrapper">
|
|
|
21 |
<!-- Blocks will be wrapped in a page div and loaded here -->
|
22 |
</div>
|
23 |
</div>
|
24 |
+
|
25 |
<div class="page-container" id="pageContainer">
|
26 |
+
<h1>Describe your creature</h1>
|
|
|
27 |
<textarea id="user-description" class="user-description-textarea"
|
28 |
hx-post="/update-stats" hx-trigger="change"
|
29 |
hx-target="#user-description" hx-swap="outerHTML"
|
|
|
32 |
<button id="parseHTML">Parse HTML</button>
|
33 |
<button id="resetButton">Reset</button>
|
34 |
<button onclick="printPageContainer()">Print to PDF</button>
|
35 |
+
<div class="brewRenderer" id="brewRenderer">
|
36 |
+
|
37 |
<div class="pages" id="pages">
|
38 |
<div id="page-1" class="page" data-page-id="page-0">
|
39 |
<div class="columnWrapper">
|