Skip to content

Commit

Permalink
gloss my gloss minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Neonnaut committed Jul 18, 2024
1 parent 408cfec commit 43d21b7
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 7 deletions.
1 change: 1 addition & 0 deletions dark-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
</li>
</ol>
</nav>

<div id="content">
<section id="top">
<h1>Testing Elements</h1>
Expand Down
24 changes: 24 additions & 0 deletions ipa-keyboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@
</head>

<body>
<nav>
<ol class="breadcrumbs">
<li>
<a href="https://neocities.org/browse"><img alt="neocities favicon" src="./img/neocities-favicon.png"></a>
</li>
<li>
<a href="index.html"><img alt="neonnaut favicon" src="./img/favicon-28x28.png"></a>
</li>
</ol>
</nav>

<div id="content">

Expand Down Expand Up @@ -1295,6 +1305,20 @@ <h3>X-SAMPA notation</h3>

<div style = "height: 110px;"></div>

<footer>
<ol class="breadcrumbs">
<li>
<a href="https://neocities.org/browse"><img alt="neocities favicon" src="./img/neocities-favicon.png"></a>
</li>
<li>
<a href="index.html"><img alt="neonnaut favicon" src="./img/favicon-28x28.png"></a>
</li>
<li>
<a href="#top">Return to top</a>
</li>
</ol>
</footer>

</body>

</html>
26 changes: 26 additions & 0 deletions lexifer.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
</head>
<body>
<nav>
<ol class="breadcrumbs">
<li>
<a href="https://neocities.org/browse"><img alt="neocities favicon" src="./img/neocities-favicon.png"></a>
</li>
<li>
<a href="index.html"><img alt="neonnaut favicon" src="./img/favicon-28x28.png"></a>
</li>
</ol>
</nav>

<div id="content">
<section id="top">
<h1>Lexifer Online</h1>
Expand Down Expand Up @@ -514,5 +525,20 @@ <h3>Filters and Rejections</h3>
</section>

</div>

<footer>
<ol class="breadcrumbs">
<li>
<a href="https://neocities.org/browse"><img alt="neocities favicon" src="./img/neocities-favicon.png"></a>
</li>
<li>
<a href="index.html"><img alt="neonnaut favicon" src="./img/favicon-28x28.png"></a>
</li>
<li>
<a href="#top">Return to top</a>
</li>
</ol>
</footer>

</body>
</html>
8 changes: 4 additions & 4 deletions script/glossmygloss.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function convert(conv) {
htmlOutput += " <tr>" + parsedEntry + "</tr>" + "\n";
//Do something if skip line or last line
} else if (lines[col_num] == "") {
htmlOutput += " <tr><td colspan=" + maxColumns + ">" + "<br/>" + "</td></tr>" + "\n";
htmlOutput += " <tr><td colspan=" + maxColumns + ">" + "<br>" + "</td></tr>" + "\n";
} else if (skipline || col_num + 1 == lines.length) {
htmlOutput += " <tr><td colspan=" + maxColumns + ">" + lines[col_num] + "</td></tr>" + "\n";
//Else do normal line
Expand Down Expand Up @@ -250,7 +250,7 @@ function convert(conv) {
interOutput += ""
}
if (row_num != noOfLines - 1) {
interOutput += "<br/>";
interOutput += "<br>";
}
}
interOutput += "</div>\n";
Expand Down Expand Up @@ -839,9 +839,9 @@ Converter.prototype.finish = function (input) {
Converter.prototype.finishAndShow = function (input) {
if (this.useAcknowledgement) {
let ack = "<i class='gmg-ack'>Gloss provided by <a href='https://neonnaut.github.io/'>Gloss My Gloss</a></i>";
this.output = input + ack + "<br>" + "<br><textarea id='GMGOutput' spellcheck='false'>" + input + "\n" + ack + "</textarea>";
this.output = "<span>" + input + ack + "</span><br>" + "<textarea id='GMGOutput' spellcheck='false'>" + input + "\n" + ack + "</textarea>";
} else {
this.output = input + "<br><textarea id='GMGOutput' spellcheck='false'>" + input + "</textarea>";
this.output = "<span>" + input + "</span><br>" + "<textarea id='GMGOutput' spellcheck='false'>" + input + "</textarea>";
}
}
Converter.prototype.finishPlainText = function (input) {
Expand Down
20 changes: 17 additions & 3 deletions small.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@
<nav>
<ol class="breadcrumbs">
<li>
<a href="https://neocities.org/browse">Neocities</a>
<a href="https://neocities.org/browse"><img alt="neocities favicon" src="./img/neocities-favicon.png"></a>
</li>
<li>
<a href="index.html">Menu</a>
<a href="index.html"><img alt="neonnaut favicon" src="./img/favicon-28x28.png"></a>
</li>
</ol>
</nav>

<div id="content">
<section id="top">
<h1>A guide to small consonant inventories</h1>
Expand Down Expand Up @@ -566,7 +567,20 @@ <h4>Decide which strokes appear frequently</h4>


</section>

</div>

<footer>
<ol class="breadcrumbs">
<li>
<a href="https://neocities.org/browse"><img alt="neocities favicon" src="./img/neocities-favicon.png"></a>
</li>
<li>
<a href="index.html"><img alt="neonnaut favicon" src="./img/favicon-28x28.png"></a>
</li>
<li>
<a href="#top">Return to top</a>
</li>
</ol>
</footer>
</body>
</html>
2 changes: 2 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,8 @@ font-family: "Charis SIL", "Doulos SIL", Gentium, "Arial Unicode MS","Lucida San
color: #eee;
}

.dark-mode span { color: #eee; }

/* --Mobile first, because that's the hipster thing to do I guess-- */
@media only screen and (min-width: 701px) {
section { padding: 30px 30px;}
Expand Down

0 comments on commit 43d21b7

Please sign in to comment.