Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
1cg committed Sep 25, 2023
1 parent 24d8d7d commit c9942ff
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 16 deletions.
5 changes: 3 additions & 2 deletions assembly.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://the.missing.style/">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1/prism">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>The Little Man Stack Machine</title>
</head>
Expand Down Expand Up @@ -849,4 +850,4 @@ <h2>Function Calls</h2>
<footer>
</footer>
</body>
</html>
</html>
5 changes: 3 additions & 2 deletions emulator.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://the.missing.style/">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1/prism">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>The Little Man Stack Machine</title>
</head>
Expand Down Expand Up @@ -29,4 +30,4 @@ <h1>Emulator</h1>
<footer>
</footer>
</body>
</html>
</html>
5 changes: 3 additions & 2 deletions firth.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://the.missing.style/">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1/prism">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>The Little Man Stack Machine</title>
</head>
Expand Down Expand Up @@ -499,4 +500,4 @@ <h2>Fibbonacci.firth</h2>
<footer>
</footer>
</body>
</html>
</html>
7 changes: 4 additions & 3 deletions functions.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://the.missing.style/">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1/prism">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>The Little Man Stack Machine</title>
</head>
Expand Down Expand Up @@ -52,7 +53,7 @@ <h2>The <code>JAL</code> and <code>RET</code> Assembly Instructions</h2>
Here is a simple example of an LSMM assembly program that asks a user for input, calls a function to square
that number, and then prints the result. Here is the assembly and the assembled machine instructions:
</p>

<img src="img/function1.png">

<p>
Expand Down Expand Up @@ -299,4 +300,4 @@ <h3>A Function Call... Done!</h3>
<footer>
</footer>
</body>
</html>
</html>
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://the.missing.style/">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1/prism">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>The Little Man Stack Machine</title>
</head>
Expand Down Expand Up @@ -182,4 +183,4 @@ <h2>Firth</h2>
<footer>
</footer>
</body>
</html>
</html>
5 changes: 3 additions & 2 deletions lmsm-vanilla.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LMSM Emulator</title>
<link rel="stylesheet" href="https://the.missing.style/v1.0.8/missing.min.css" />
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1/prism">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.11/codemirror.min.css" integrity="sha512-uf06llspW44/LZpHzHT6qBOIVODjWtv4MxCricRxkzvopAlSWnTf6hpZTFxuuZcuNE9CBQhqE0Seu1CoRk84nQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="lmsm.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.11/codemirror.min.js" integrity="sha512-rdFIN28+neM8H8zNsjRClhJb1fIYby2YCNmoqwnqBDEvZgpcp7MJiX8Wd+Oi6KcJOMOuvGztjrsI59rly9BsVQ==" crossorigin="anonymous" referrerpolicy="no-referrer" defer></script>
Expand Down Expand Up @@ -1217,4 +1218,4 @@ <h1 class="allcaps">🙋 Little Man Stack Machine Emulator</h2>
</div>
</body>

</html>
</html>
7 changes: 4 additions & 3 deletions lmsm.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LMSM Emulator</title>
<link rel="stylesheet" href="https://the.missing.style/v1.0.8/missing.min.css" />
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1">
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.1.1/prism">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.11/codemirror.min.css" integrity="sha512-uf06llspW44/LZpHzHT6qBOIVODjWtv4MxCricRxkzvopAlSWnTf6hpZTFxuuZcuNE9CBQhqE0Seu1CoRk84nQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="lmsm.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.11/codemirror.min.js" integrity="sha512-rdFIN28+neM8H8zNsjRClhJb1fIYby2YCNmoqwnqBDEvZgpcp7MJiX8Wd+Oi6KcJOMOuvGztjrsI59rly9BsVQ==" crossorigin="anonymous" referrerpolicy="no-referrer" defer></script>
Expand Down Expand Up @@ -194,7 +195,7 @@ <h2 class="allcaps">Little Man Stack Machine Emulator</h2>
<td class="memorySlot">
<label>
<input size="3" type="text" :class="cellClass()" x-model="lmsm.memory[mempos]" x-data="{
mempos: ((i-1) * 10) + (j - 1),
mempos: ((i-1) * 10) + (j - 1),
cellClass() {
if(this.lmsm.registers.program_counter == this.mempos)
return 'memory_slot program_counter'
Expand Down Expand Up @@ -226,4 +227,4 @@ <h2 class="allcaps">Little Man Stack Machine Emulator</h2>
</div>
</body>

</html>
</html>

0 comments on commit c9942ff

Please sign in to comment.