summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-03-03 10:11:01 +0100
committerlemon <lsof@mailbox.org>2022-03-03 10:11:01 +0100
commit82624418d5940ef628a51ca07aa222073fa9a388 (patch)
tree247c542ea5cf952889bd394d1bb3e3a32ee3932f /static
parent12ddb91334e82c87f6318beea879eb53f1fd6f1c (diff)
change some things around
Diffstat (limited to 'static')
-rw-r--r--static/mips.html4
-rw-r--r--static/style.css11
2 files changed, 15 insertions, 0 deletions
diff --git a/static/mips.html b/static/mips.html
index 219034c..90e66bd 100644
--- a/static/mips.html
+++ b/static/mips.html
@@ -86,6 +86,10 @@ hr {
<body>
<div style="width: 85%; margin: 0 auto; padding-left: 10%;">
+ <nav class="navbar">
+ <a href="/">Home</a> <!--a href="../">Go Back</a--!>
+ </nav>
+ <br>
<noscript>JavaScript is required</noscript>
<h2>MIPS Assembler</h2>
<p>Input MIPS assembly code below. Labels, .org and simple .word directives are also recognized. Comments start with ';' and extend to the end of the line.</p>
diff --git a/static/style.css b/static/style.css
index a3046b6..77be7bc 100644
--- a/static/style.css
+++ b/static/style.css
@@ -37,6 +37,17 @@ p {
text-align: justify;
}
+nav.navbar {
+ padding-top: 10px;
+}
+
+nav.navbar > a {
+ padding: 1px 20px;
+ background: var(--pre-bg);
+ border: 1px solid var(--border1);
+ border-radius: 6px;
+}
+
h1.title {
line-height: 1.2;
font-size: 40px;