summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorJonas Kohl2024-11-07 18:09:22 +0100
committerJonas Kohl2024-11-07 18:09:22 +0100
commit887ee6afe950e1b72f133fc180d43ebd5462eefd (patch)
tree6ffffb79ed35f559e5f880ab9956bdb821fbf03c /public
parentc898933b7b546dcac5f64ff3ce6c80aeb3e0dcfd (diff)
Add footer
Diffstat (limited to 'public')
-rw-r--r--public/index.php4
-rw-r--r--public/site.css8
2 files changed, 12 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php
index c9fdf0a..e767a65 100644
--- a/public/index.php
+++ b/public/index.php
@@ -153,5 +153,9 @@ $csrf = csrf_token();
</div>
</form>
<div id="output" style="display: none;"></div>
+ <div id="footer">
+ &copy; <?= date("Y") ?> <a href="https://jkohl.link/" target="_blank">Jonas Kohl</a>.
+ <a href="https://git.jkohl.link/online-java-compiler.git" target="_blank">Source code</a>
+ </div>
</body>
</html>
diff --git a/public/site.css b/public/site.css
index 8395782..fb82456 100644
--- a/public/site.css
+++ b/public/site.css
@@ -8,12 +8,20 @@ body {
box-sizing: border-box;
font: 12pt Tahoma, Helvetica, sans-serif;
}
+a {
+ color: blue;
+}
h1 {
border-bottom: 1px solid #ccc;
}
.CodeMirror {
border: 1px solid #ccc;
}
+#footer {
+ margin-top: 8px;
+ padding-top: 8px;
+ border-top: 1px solid #ccc;
+}
pre {
display: block;
overflow: auto;