Skip to content

Commit da22ed8

Browse files
committed
Revert "move textarea styles to style.css"
This reverts commit 180d26b.
1 parent 180d26b commit da22ed8

File tree

3 files changed

+13
-38
lines changed

3 files changed

+13
-38
lines changed

assets/style.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,22 +72,10 @@ textarea, iframe, button, select {
7272
font-family: inherit;
7373
}
7474

75-
textarea {
76-
min-height: 1rem;
77-
min-width: 3rem;
78-
resize: none;
79-
}
80-
8175
textarea[readonly] {
8276
opacity: 0.8;
8377
}
8478

85-
textarea.code {
86-
font-family: "Consolas", monospace;
87-
font-size: .8rem;
88-
font-weight: 500;
89-
}
90-
9179
/* custom elements */
9280
#site-icons {
9381
display: flex;

bhav-to-diagram.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>The Sims 2 BHAV to Mermaid diagram</title>
88
<link rel="icon" type="image/x-icon" href="assets/favicon.svg">
9-
<link rel="stylesheet" href="assets/style.css?v=6" />
9+
<link rel="stylesheet" href="assets/style.css?v=5" />
1010
<script src="assets/common.js?v=3"></script>
1111
<script src="assets/svg-pan-zoom-container.js?v=0.6.1"></script> <!-- https://github.com/luncheon/svg-pan-zoom-container -->
1212
<style>
@@ -39,6 +39,15 @@
3939
flex-grow: 1;
4040
}
4141

42+
textarea {
43+
min-height: 1rem;
44+
min-width: 3rem;
45+
resize: none;
46+
font-family: "Consolas", monospace;
47+
font-size: .8rem;
48+
font-weight: 500;
49+
}
50+
4251
textarea.error {
4352
background: var(--error-color);
4453
color: var(--on-error-color);
@@ -119,7 +128,7 @@
119128

120129
<body>
121130
<section id="textareas">
122-
<textarea id="input-code" class="code" spellcheck="false" placeholder="Here goes your BHAV code"></textarea>
131+
<textarea id="input-code" spellcheck="false" placeholder="Here goes your BHAV code"></textarea>
123132
<section id="settings">
124133
<button id="tutorial-button" title="Replace the code in the BHAV textbox with a tutorial code">
125134
Show tutorial
@@ -156,7 +165,7 @@
156165
</a>
157166
</div>
158167
</section>
159-
<textarea id="output-code" class="code" readonly placeholder="The BHAV code translated into Mermaid diagram code"></textarea>
168+
<textarea id="output-code" readonly placeholder="The BHAV code translated into Mermaid diagram code"></textarea>
160169
</section>
161170
<section id="visual-output">
162171
<div id="diagram-wrapper" data-zoom-on-wheel="zoom-amount: 0.001; min-scale: 0.9; max-scale: 20;" data-pan-on-drag>

index.html

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>Nopke's web tools</title>
88
<link rel="icon" type="image/x-icon" href="assets/favicon.svg">
9-
<link rel="stylesheet" href="assets/style.css?v=6" />
9+
<link rel="stylesheet" href="assets/style.css?v=5" />
1010
<style>
1111
body {
1212
--body-padding: 1.5rem;
@@ -50,28 +50,6 @@ <h1>The Sims 2 tools</h1>
5050
to see explanations of what they do.
5151
</p>
5252
</dd>
53-
54-
<dt><a href="resource-list-to-table.html">Resource list to table</a></dt>
55-
<dd>
56-
<p>
57-
A web tool for modders that converts
58-
<a href="https://modthesims.info/showthread.php?t=630456" target="_blank">SimPe</a>
59-
resource lists to HTML
60-
and <a href="https://modthesims.info/" target="_blank">Mod The Sims</a> BBCode tables.
61-
The tool includes group and type names,
62-
and allows to sort the rows of the generated code.
63-
</p>
64-
<p>
65-
It's intended to make preparing technical descriptions for mods easier.
66-
<a href="https://modthesims.info/d/688444#overridden%20resources" target="_blank">
67-
See an example of how it can be used.
68-
</a>
69-
</p>
70-
<p>
71-
Hover over interface elements (e.g. buttons, icons, text areas)
72-
to see explanations of what they do.
73-
</p>
74-
</dd>
7553
</dl>
7654
<section id="site-icons">
7755
<a href="https://github.com/Cosmatevs/cosmatevs.github.io" target="_blank" title="Go to the GitHub repository">

0 commit comments

Comments
 (0)