Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a spacey theme and switch to tab indent in source code #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 42 additions & 42 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
<!DOCTYPE html>
<html>
<head>
<title>Callisto</title>
<meta name="og:title" content="The Callisto programming language">
<meta name="og:description" content="A low-level concatenative programming language">
<meta name="og:image" content="/logo_shadow.png">
<link rel="stylesheet" href="/style.css">
<link rel="icon" href="/logo_shadow.png">
</head>
<body>
<div class="contents">
<img src="/logo_shadow.png" class="centerImage" width="200px" height="200px">
<p style="text-align: center;">
<a href="https://github.com/callisto-lang">GitHub</a>
-
<a href="https://callisto.mesyeti.uk/docs">Docs</a>
</p>
<h1>About</h1>
<p>Callisto is a compiled, low-level, concatenative language inspired by Forth.</p>
<p>Currently, the compiler supports compiling for these targets:</p>
<ul>
<li>x86_64 - Linux and macOS</li>
<li>x86 real mode - MS-DOS and bare metal</li>
<li><a href="https://100r.co/site/uxn.html">Uxn</a></li>
</ul>
<p>
Callisto also has a subset called CallistoScript, which is compiled to
scripting languages but remains somewhat low-level. Right now, CallistoScript
only supports compiling to Lua.
<a href="https://callisto.mesyeti.uk/docs/language/callistoscript/">Learn more</a>
</p>
<h1>Examples</h1>
<h2>Hello World</h2>
<code><pre>
<head>
<title>Callisto</title>
<meta name="og:title" content="The Callisto programming language">
<meta name="og:description" content="A low-level concatenative programming language">
<meta name="og:image" content="/logo_shadow.png">
<link rel="stylesheet" href="/style.css">
<link rel="icon" href="/logo_shadow.png">
</head>
<body>
<img src="/logo_shadow.png" class="centerImage" width="200px" height="200px">
<p style="text-align: center;">
<a href="https://github.com/callisto-lang">GitHub</a>
-
<a href="https://callisto.mesyeti.uk/docs">Docs</a>
</p>
<div class="contents">
<h1>About</h1>
<p>Callisto is a compiled, low-level, concatenative language inspired by Forth.</p>
<p>Currently, the compiler supports compiling for these targets:</p>
<ul>
<li>x86_64 - Linux and macOS</li>
<li>x86 real mode - MS-DOS and bare metal</li>
<li><a href="https://100r.co/site/uxn.html">Uxn</a></li>
</ul>
<p>
Callisto also has a subset called CallistoScript, which is compiled to
scripting languages but remains somewhat low-level. Right now, CallistoScript
only supports compiling to Lua.
<a href="https://callisto.mesyeti.uk/docs/language/callistoscript/">Learn more</a>
</p>
<h1>Examples</h1>
<h2>Hello World</h2>
<code><pre>
include "cores/select.cal"
include "std/io.cal"

"Hello, world!\n" printstr</pre></code>
<h1>Documentation</h1>
<p>
Web documentation is <a href="/docs">here</a>. For offline documentation,
clone <a href="https://github.com/callisto-lang/docs">this repo</a> and follow the
instructions in the README file
</p>
</div>
</body>
</html>
<h1>Documentation</h1>
<p>
Web documentation is <a href="/docs">here</a>. For offline documentation,
clone <a href="https://github.com/callisto-lang/docs">this repo</a> and follow the
instructions in the README file
</p>
</div>
</body>
</html>
29 changes: 16 additions & 13 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
body {
background-color: #202124;
font-family: sans-serif;
color: white;
background-color: #000000;
background-image: url("bg.jpg");
font-family: sans-serif;
color: white;
}

pre {
background-color: #151520;
padding: 10px;
border-radius: 5px;
background-color: #151520;
padding: 10px;
border-radius: 5px;
}

a, a:visited {
color: #5555ff;
color: #5555ff;
}

.contents {
width: 800px;
margin: auto;
background-color: #202124;
width: 820px;
margin: auto;
padding: 5px 20px;
}

.centerImage {
display: block;
margin-left: auto;
margin-right: auto;
}
display: block;
margin-left: auto;
margin-right: auto;
}